diff options
author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-05-07 00:27:05 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-05-07 00:27:05 +0200 |
commit | 99a6ddf3be35bd49566cf3d0e942729696684a6e (patch) | |
tree | 34059895ac523a0c35708973df3411fecb9502d9 /samples | |
parent | 27e8b280f9f9d514b029b21d3116cc845dc72bd1 (diff) | |
download | crosstool-ng-99a6ddf3be35bd49566cf3d0e942729696684a6e.tar.gz crosstool-ng-99a6ddf3be35bd49566cf3d0e942729696684a6e.tar.bz2 crosstool-ng-99a6ddf3be35bd49566cf3d0e942729696684a6e.zip |
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 'samples')
-rw-r--r-- | samples/samples.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/samples.mk b/samples/samples.mk index fa5134d7..411d97db 100644 --- a/samples/samples.mk +++ b/samples/samples.mk @@ -83,9 +83,9 @@ endef # How we do recall one sample PHONY += $(CT_SAMPLES) -$(CT_SAMPLES): - $(SILENT)cp $(call sample_dir,$@)/crosstool.config .config - $(SILENT)$(MAKE) -rf $(CT_NG) V=$(V) oldconfig +$(CT_SAMPLES): config_files + @$(ECHO) " CONF $(KCONFIG_TOP)" + $(SILENT)$(CONF) --defconfig=$(call sample_dir,$@)/crosstool.config $(KCONFIG_TOP) @echo @echo '***********************************************************' @echo |