From 561beada4d0e22f888d363c4bb0e1cfa829d8432 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 13 Nov 2008 15:10:08 +0100 Subject: [PATCH] unset INITRAMFS_SOURCE if appropriate If not building an initramfs then unset the symbol rather than setting it to empty. This is supposed to fix a spurious rebuild somebody reported. --- target/linux/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/Makefile.in b/target/linux/Makefile.in index 0325132..64f81d7 100644 --- a/target/linux/Makefile.in +++ b/target/linux/Makefile.in @@ -195,7 +195,8 @@ ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y) echo "CONFIG_INITRAMFS_ROOT_UID=0" >> $(LINUX26_DIR)/.config echo "CONFIG_INITRAMFS_ROOT_GID=0" >> $(LINUX26_DIR)/.config else - echo "CONFIG_INITRAMFS_SOURCE=\"\"" >> $(LINUX26_DIR)/.config + #echo "CONFIG_INITRAMFS_SOURCE=\"\"" >> $(LINUX26_DIR)/.config + echo "# CONFIG_INITRAMFS_SOURCE is not set" >> $(LINUX26_DIR)/.config endif ifeq ($(BR2_PACKAGE_BUSYBOX_INITRAMFS),y) # precedence for a small initramfs -- 2.11.4.GIT