diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-03-31 16:44:25 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-03-31 17:19:31 +0200 |
commit | 5248f31613cde73ad30c05d9b9c86fe3dbe6b845 (patch) | |
tree | f07047be4764632bec90d9bf8417d6250d393d51 /mk | |
parent | ca4473e417f9a98d82adbbc59ac31061d0d674d3 (diff) | |
download | embtoolkit-5248f31613cde73ad30c05d9b9c86fe3dbe6b845.tar.gz embtoolkit-5248f31613cde73ad30c05d9b9c86fe3dbe6b845.tar.bz2 embtoolkit-5248f31613cde73ad30c05d9b9c86fe3dbe6b845.tar.xz |
kconfig: update from upstream 46a1f21a679abaaeae6d
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildsystem.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/buildsystem.mk b/mk/buildsystem.mk index 0ab3eb2..5ceeac5 100644 --- a/mk/buildsystem.mk +++ b/mk/buildsystem.mk @@ -1,6 +1,6 @@ ################################################################################ # Embtoolkit -# Copyright(C) 2009-2012 Abdoulaye Walsimou GAYE. +# Copyright(C) 2009-2013 Abdoulaye Walsimou GAYE. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -71,11 +71,12 @@ embtk_kconfig_basic: $(Q)$(MAKE) -f scripts/Makefile.build \ obj=$(EMBTK_ROOT)/scripts/basic quiet=quiet_ KBUILD_VERBOSE=0 +__bsystem_xtoolchain_decompressed = $(wildcard $(embtk_generated)/toolchain-*/.*.embtk.decompressed) clean: toolchain_clean rmallpath $(Q)$(__embtk_kconfig_clean) - [ -e .config ] && cp .config .config.old + [ -e .config ] && cp .config .config.old || true $(Q)rm -rf .config kbuild.log .fakeroot* - $(Q)rm -rf $(wildcard $(embtk_generated)/toolchain-*/.*.embtk.decompressed) + $(Q)$(if $(__bsystem_xtoolchain_decompressed),rm -rf $(__bsystem_xtoolchain_decompressed)) distclean: clean $(Q)rm -rf dl/* src/*.git src/*.svn .config.old @@ -178,6 +179,7 @@ define __embtk_kconfig_clean rm -rf $$(find $(EMBTK_ROOT)/scripts/kconfig -type f -name 'lkc_defs.h') rm -rf $$(find $(EMBTK_ROOT)/scripts/kconfig -type f -name '*.o') rm -rf $$(find $(EMBTK_ROOT)/scripts/kconfig -type f -name '*.tmp_qtcheck') + rm -rf $$(find $(EMBTK_ROOT)/scripts/kconfig -type f -name '*.tmp_gtkcheck') rm -rf $$(find $(EMBTK_ROOT)/scripts/kconfig -type f -name 'conf') rm -rf $$(find $(EMBTK_ROOT)/scripts/kconfig -type f -name 'mconf') rm -rf $$(find $(EMBTK_ROOT)/scripts/kconfig -type f -name 'qconf') |