diff options
author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-05-06 22:27:05 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-05-06 22:27:05 (GMT) |
commit | 99a6ddf3be35bd49566cf3d0e942729696684a6e (patch) | |
tree | 34059895ac523a0c35708973df3411fecb9502d9 /config/config.mk | |
parent | 27e8b280f9f9d514b029b21d3116cc845dc72bd1 (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 'config/config.mk')
-rw-r--r-- | config/config.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/config.mk b/config/config.mk index fe45075..dc1e56c 100644 --- a/config/config.mk +++ b/config/config.mk @@ -6,7 +6,8 @@ # List all config files, wether sourced or generated # The top-level config file to be used be configurators -KCONFIG_TOP = config/config.in +# We need it to savedefconfig in scripts/saveSample.sh +export KCONFIG_TOP = config/config.in # Build the list of all source config files STATIC_CONFIG_FILES = $(patsubst $(CT_LIB_DIR)/%,%,$(shell find $(CT_LIB_DIR)/config -type f \( -name '*.in' -o -name '*.in.2' \) 2>/dev/null)) |