powerpc/boot: Use CONFIG_PPC_POWERNV to compile OPAL support
[sfrench/cifs-2.6.git] / arch / powerpc / boot / Makefile
index 089ee3ea55c8ae64144e79f940b87a5abdd91abc..9993c6256ad255515a880ca54ac90aec24bbfdf3 100644 (file)
@@ -123,7 +123,7 @@ src-wlib-y := string.S crt0.S stdio.c decompress.c main.c \
                oflib.c ofconsole.c cuboot.c
 
 src-wlib-$(CONFIG_PPC_MPC52xx) += mpc52xx-psc.c
-src-wlib-$(CONFIG_PPC64_BOOT_WRAPPER) += opal-calls.S opal.c
+src-wlib-$(CONFIG_PPC_POWERNV) += opal-calls.S opal.c
 ifndef CONFIG_PPC64_BOOT_WRAPPER
 src-wlib-y += crtsavres.S
 endif