Przeglądaj źródła

Makefile: don't include .config from TOPDIR

If we ever want to support building out of tree, having the .config in the
tree is probably not what we want.
Peter Korsgaard 17 lat temu
rodzic
commit
d45f355db1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -44,7 +44,7 @@ endif
 ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
 ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
 ifeq ($(BOARD),)
 ifeq ($(BOARD),)
 # if "make BOARD=xyz" command
 # if "make BOARD=xyz" command
--include $(TOPDIR).config
+-include .config
 else
 else
 # if "make" command
 # if "make" command
 -include $(BR2_LOCAL)/$(BOARD)/$(BOARD).config
 -include $(BR2_LOCAL)/$(BOARD)/$(BOARD).config