diff --git a/Directory.mk b/Directory.mk index b0d475778..1c01f9167 100644 --- a/Directory.mk +++ b/Directory.mk @@ -1,7 +1,7 @@ ############################################################################ # apps/Directory.mk # -# Copyright (C) 2011-2015 Gregory Nutt. All rights reserved. +# Copyright (C) 2011-2015, 2018 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -33,7 +33,7 @@ # ############################################################################ --include $(TOPDIR)/.config # Current configuration +-include $(TOPDIR)/Make.defs include $(APPDIR)/Make.defs # Sub-directories @@ -69,5 +69,8 @@ depend: $(foreach SDIR, $(SUBDIRS), $(SDIR)_depend) clean: $(foreach SDIR, $(SUBDIRS), $(SDIR)_clean) distclean: $(foreach SDIR, $(SUBDIRS), $(SDIR)_distclean) +ifneq ($(MENUDESC),) + $(call DELFILE, Kconfig) +endif -include Make.dep