Fix saveconfig followed by menuconfig
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 30 Oct 2007 20:14:12 +0000 (20:14 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 30 Oct 2007 20:14:12 +0000 (20:14 -0000)
project/project.mk

index 6390fb55c2669d01abc0fdfa01ecb37b69c2bee7..79a03ab9dba41fe58f80f5f77b1cd661c21d8ca8 100644 (file)
@@ -22,19 +22,19 @@ saveconfig: $(CONFIG)/conf
                cp $(LINUX26_DIR)/.config \
                        $(LOCAL)/$(PROJECT)/linux-$(LINUX26_VERSION).config; \
                $(SED) '/BR2_PACKAGE_LINUX_KCONFIG/d' $(PROJECT_FILE); \
-               echo "BR2_PACKAGE_LINUX_KCONFIG:=$(LOCAL)/$(PROJECT)/linux-$(LINUX26_VERSION).config" >> $(PROJECT_FILE); \
+               echo "BR2_PACKAGE_LINUX_KCONFIG=\"$(LOCAL)/$(PROJECT)/linux-$(LINUX26_VERSION).config\"" >> $(PROJECT_FILE); \
        fi
        if [ -f $(BUSYBOX_DIR)/.config ]; then \
                cp $(BUSYBOX_DIR)/.config \
                        $(LOCAL)/$(PROJECT)/busybox-$(BUSYBOX_VERSION).config; \
                $(SED) '/BR2_PACKAGE_BUSYBOX_CONFIG/d' $(PROJECT_FILE); \
-               echo "BR2_PACKAGE_BUSYBOX_CONFIG:=$(LOCAL)/$(PROJECT)/busybox-$(BUSYBOX_VERSION).config" >> $(PROJECT_FILE); \
+               echo "BR2_PACKAGE_BUSYBOX_CONFIG=\"$(LOCAL)/$(PROJECT)/busybox-$(BUSYBOX_VERSION).config\"" >> $(PROJECT_FILE); \
        fi
        if [ -f $(UCLIBC_DIR)/.config ]; then \
                cp $(UCLIBC_DIR)/.config \
                        $(LOCAL)/$(PROJECT)/uclibc-$(UCLIBC_VER).config; \
                $(SED) '/BR2_UCLIBC_CONFIG/d' $(PROJECT_FILE); \
-               echo "BR2_UCLIBC_CONFIG:=$(LOCAL)/$(PROJECT)/uclibc-$(UCLIBC_VER).config" >> $(PROJECT_FILE); \
+               echo "BR2_UCLIBC_CONFIG=\"$(LOCAL)/$(PROJECT)/uclibc-$(UCLIBC_VER).config\"" >> $(PROJECT_FILE); \
        fi
        if [ -f $(UBOOT_DIR)/include/configs/$(PROJECT).h ]; then \
                mkdir -p $(LOCAL)/$(PROJECT)/u-boot; \