summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-08-11 17:06:05 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-01 10:26:22 (GMT)
commitdc9dba1509242bb9d2b2c4aa43ff3a019f02bc20 (patch)
tree770e275ae9bc4c9500a2e4d7005d48b1fa04e3ae
parent4973632207fd496199298191ada01c8c8ec2bee7 (diff)
downloadbuildroot-dc9dba1509242bb9d2b2c4aa43ff3a019f02bc20.tar.gz
buildroot-dc9dba1509242bb9d2b2c4aa43ff3a019f02bc20.tar.bz2
Remove CONFIG_DEFCONFIG
There's no need to have a .defconfig, when you run make menuconfig, make xconfig or anything else for the first time, it will just start with the default configuration anyway. This is what the kernel does. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index d37d81f..e3cebe2 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,6 @@
# absolute path
TOPDIR:=$(shell pwd)
CONFIG_CONFIG_IN=Config.in
-CONFIG_DEFCONFIG=.defconfig
CONFIG=package/config
DATE:=$(shell date +%Y%m%d)
@@ -465,9 +464,6 @@ export HOSTCFLAGS
$(BUILD_DIR)/buildroot-config/%onf:
mkdir -p $(@D)/lxdialog
$(MAKE) CC="$(HOSTCC)" obj=$(@D) -C $(CONFIG) $(@F)
- -@if [ ! -f $(CONFIG_DIR)/.config ]; then \
- cp $(CONFIG_DEFCONFIG) $(CONFIG_DIR)/.config; \
- fi
xconfig: $(BUILD_DIR)/buildroot-config/qconf
@mkdir -p $(BUILD_DIR)/buildroot-config
@@ -513,7 +509,6 @@ randconfig: $(BUILD_DIR)/buildroot-config/conf
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< -r $(CONFIG_CONFIG_IN)
allyesconfig: $(BUILD_DIR)/buildroot-config/conf
- cat $(CONFIG_DEFCONFIG) > $(CONFIG_DIR)/.config
@mkdir -p $(BUILD_DIR)/buildroot-config
@KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \