Browse Source

another distclean fix

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser 14 years ago
parent
commit
a181172a71
1 changed files with 3 additions and 1 deletions
  1. 3 1
      mk/build.mk

+ 3 - 1
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