Makefiles: This reverts part of commit cf0365ea9. It restores 'conditional' inclusion of TOPDIR/Make.defs. Otherwise all make targets fail if the board has not been configured. That is okay most of the time, but not for things like clean and distclean which should not depend on being configured.

This commit is contained in:
Gregory Nutt 2019-10-15 09:25:48 +08:00
parent 69022c9f2b
commit 3a23523147
301 changed files with 302 additions and 302 deletions

View file

@ -33,7 +33,7 @@
#
############################################################################
include $(TOPDIR)/Make.defs
-include $(TOPDIR)/Make.defs
CONFIG_ARCH_BOARD ?= dummy

View file

@ -33,7 +33,7 @@
#
###########################################################################
include $(TOPDIR)/Make.defs
-include $(TOPDIR)/Make.defs
all:
.PHONY: clean distclean