From 7521f37372839210e18207223ef54ed768422726 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Wed, 12 Sep 2007 04:34:16 +0000 Subject: Add hooks for creating your own board support package --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f37b9ede7..5414644d3 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-55-g7522