Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> --- given that CONFIG_BLK_DEV_INITRD is a bool, i would think that this represents a simpler and more intuitive way of expressing the same thing. diff --git a/init/Makefile b/init/Makefile index 633392f..196f94a 100644 --- a/init/Makefile +++ b/init/Makefile @@ -3,11 +3,13 @@ # obj-y := main.o version.o mounts.o -ifneq ($(CONFIG_BLK_DEV_INITRD),y) -obj-y += noinitramfs.o + +ifeq ($(CONFIG_BLK_DEV_INITRD),y) +obj-y += initramfs.o else -obj-$(CONFIG_BLK_DEV_INITRD) += initramfs.o +obj-y += noinitramfs.o endif + obj-$(CONFIG_GENERIC_CALIBRATE_DELAY) += calibrate.o mounts-y := do_mounts.o ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crashcourse.ca ======================================================================== - To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html