summaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2012-05-06 22:27:05 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2012-05-06 22:27:05 (GMT)
commit99a6ddf3be35bd49566cf3d0e942729696684a6e (patch)
tree34059895ac523a0c35708973df3411fecb9502d9 /kconfig
parent27e8b280f9f9d514b029b21d3116cc845dc72bd1 (diff)
samples: use savedefconfig when saving samples
When saving a sample, use savedefconfig instead of copying the full .config file. This reduces the saved .config, and reduces clutter when it is later upgraded. Also use defconfig when retrieving a sample. Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/kconfig.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/kconfig/kconfig.mk b/kconfig/kconfig.mk
index d930d37..cc6aa46 100644
--- a/kconfig/kconfig.mk
+++ b/kconfig/kconfig.mk
@@ -10,7 +10,8 @@ PHONY += $(configurators)
$(configurators): config_files
-CONF := $(CT_LIB_DIR)/kconfig/conf
+# We need CONF for savedefconfig in scripts/saveSample.sh
+export CONF := $(CT_LIB_DIR)/kconfig/conf
MCONF := $(CT_LIB_DIR)/kconfig/mconf
NCONF := $(CT_LIB_DIR)/kconfig/nconf