summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2009-12-20 16:21:36 +0059
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-20 17:37:04 +0100
commita181172a71151f0806af90b49969457b240eebc5 (patch)
tree11e250cf536ebb308d1f0ec860a3b98fdabd7db1 /mk
parent3acd2e3be49ec10c298f7083e456d6d0ceed3b84 (diff)
another distclean fix
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 2e7850c6a..01cdcce3c 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -214,7 +214,9 @@ distclean:
else # ! ifeq ($(strip $(ADK_HAVE_DOT_CONFIG)),y)
-ifneq ($(filter-out distclean,${MAKECMDGOALS}),)
+ifeq ($(filter-out distclean,${MAKECMDGOALS}),)
+include ${TOPDIR}/mk/vars.mk
+else
include $(TOPDIR)/prereq.mk
export BASH HOSTCC HOSTCFLAGS MAKE LANGUAGE LC_ALL OStype PATH
endif