]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc/boot: Makefile cleanup
authorMichal Marek <mmarek@suse.cz>
Thu, 2 Oct 2014 13:49:15 +0000 (15:49 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 16 Mar 2015 07:50:15 +0000 (18:50 +1100)
The $(image-n) variable will never exist, because unset Kconfig options
are '' and not 'n'.

Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/boot/Makefile

index 8a5bc1cfc6aa0fa16a52c2ef1be0ae3b18999966..73a19fac4850cf7b50f080381c1d78a72680e511 100644 (file)
@@ -317,7 +317,7 @@ endif
 # Allow extra targets to be added to the defconfig
 image-y        += $(subst ",,$(CONFIG_EXTRA_TARGETS))
 
-initrd-  := $(patsubst zImage%, zImage.initrd%, $(image-n) $(image-))
+initrd-  := $(patsubst zImage%, zImage.initrd%, $(image-))
 initrd-y := $(patsubst zImage%, zImage.initrd%, \
                $(patsubst dtbImage%, dtbImage.initrd%, \
                $(patsubst simpleImage%, simpleImage.initrd%, \