diff options
author | Thorsten Glaser <tg@mirbsd.org> | 2009-12-20 16:10:49 +0059 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-20 17:37:03 +0100 |
commit | 95c40793aaa5faa69012ccb8c5c54cee13510d01 (patch) | |
tree | e148c134648d3999c360f66df33f3e765a5512a7 /mk | |
parent | 61a7366c9306f17c45b7832de1c2838ab017ac38 (diff) |
another round of 'make distclean' fixing
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/build.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk index 3adea0d8c..9a399cc0c 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -40,6 +40,7 @@ DEFCONFIG= ADK_DEVELSYSTEM=n \ noconfig_targets:= menuconfig \ _config \ _mconfig \ + distclean \ tags MAKECLEAN_SYMBOLS= ADK_TARGET_LIB_UCLIBC \ @@ -211,9 +212,11 @@ distclean: rm -f .config* .defconfig .tmpconfig.h all.config ${TOPDIR}/prereq.mk \ ${TOPDIR}/package/*/info.mk ${TOPDIR}/package/Depends.mk -else # ifeq ($(strip $(ADK_HAVE_DOT_CONFIG)),y) +else # ! ifeq ($(strip $(ADK_HAVE_DOT_CONFIG)),y) +ifneq ($(filter-out distclean,${MAKECMDGOALS}),) include $(TOPDIR)/prereq.mk +endif all: menuconfig @echo "Start the build with \"make\" or with \"make v\" to be verbose" |