Skip to content

Commit

Permalink
powerpc/boot: Makefile cleanup
Browse files Browse the repository at this point in the history
The $(image-n) variable will never exist, because unset Kconfig options
are '' and not 'n'.

Signed-off-by: Michal Marek <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
  • Loading branch information
michal42 authored and mpe committed Mar 16, 2015
1 parent 7f4eec3 commit 755457f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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%, \
Expand Down

0 comments on commit 755457f

Please sign in to comment.