diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -35,11 +35,20 @@ noconfig_targets:=menuconfig config oldconfig randconfig \ # Pull in the user's configuration file ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) +ifeq ($(BOARD),) -include $(TOPDIR).config +else +-include $(TOPDIR)/local/$(BOARD)/$(BOARD).config +endif endif ifneq ($(BUILDROOT_DL_DIR),) BR2_DL_DIR:=$(BUILDROOT_DL_DIR) endif +ifneq ($(BUILDROOT_LOCAL),) +LOCAL:=$(BUILDROOT_LOCAL) +else +LOCAL:=local +endif # To put more focus on warnings, be less verbose as default # Use 'make V=1' to see the full commands |