crypto: nx - move nx build to driver/crypto Makefile
authorSeth Jennings <sjenning@linux.vnet.ibm.com>
Wed, 13 Jun 2012 18:22:42 +0000 (13:22 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 27 Jun 2012 06:42:00 +0000 (14:42 +0800)
When the nx driver was pulled, the Makefile that actually
builds it is arch/powerpc/Makefile. This is unnatural.

This patch moves the line that builds the nx driver from
arch/powerpc/Makefile to drivers/crypto/Makefile where it
belongs.

Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Acked-by: Kent Yoder <key@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/powerpc/Makefile
drivers/crypto/Makefile

index 950d1f7a5a395baf7f5deae6d1e2888e9b92138b..159e94f4b22aa3b808587812ccc013ff7bc18ee7 100644 (file)
@@ -149,7 +149,6 @@ core-$(CONFIG_KVM)          += arch/powerpc/kvm/
 core-$(CONFIG_PERF_EVENTS)     += arch/powerpc/perf/
 
 drivers-$(CONFIG_OPROFILE)     += arch/powerpc/oprofile/
-drivers-$(CONFIG_CRYPTO_DEV_NX) += drivers/crypto/nx/
 
 # Default to zImage, override when needed
 all: zImage
index d5062bb7a1f248160ecbe60bd10c4dc971a08dc9..1c5a145cc268a989f9dfacb2547efbbcdfa0a732 100644 (file)
@@ -16,3 +16,4 @@ obj-$(CONFIG_CRYPTO_DEV_S5P) += s5p-sss.o
 obj-$(CONFIG_CRYPTO_DEV_TEGRA_AES) += tegra-aes.o
 obj-$(CONFIG_CRYPTO_DEV_UX500) += ux500/
 obj-$(CONFIG_CRYPTO_DEV_BFIN_CRC) += bfin_crc.o
+obj-$(CONFIG_CRYPTO_DEV_NX) += nx/