From 99a6ddf3be35bd49566cf3d0e942729696684a6e Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 7 May 2012 00:27:05 +0200 Subject: 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 Signed-off-by: "Yann E. MORIN" --- samples/samples.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'samples') 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 -- cgit v1.2.3