[Buildroot] [PATCH 2/5] Remove the BOARD/LOCAL feature

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Sep 7 22:09:50 UTC 2009

This can be achieved by adding a new target in target/device/, and I
will later propose a mechanism to add external boards and packages, so
that our users not willing to get their target-specific or
package-specific things merged can keep them cleanly separated from
Buildroot tree.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
 Makefile |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/Makefile b/Makefile
index 7a3cd17..61c2b80 100644
--- a/Makefile
+++ b/Makefile
@@ -32,14 +32,6 @@ noconfig_targets:=menuconfig xconfig config oldconfig randconfig \
 	defconfig allyesconfig allnoconfig release tags \
 	source-check help
-# Use shell variables, if defined
-ifneq ($(BUILDROOT_LOCAL),)
 # Strip quotes and then whitespaces
 qstrip=$(strip $(subst ",,$(1)))
@@ -52,20 +44,13 @@ space:=$(empty) $(empty)
 # $(shell find . -name *_defconfig |sed 's/.*\///')
 # Pull in the user's configuration file
 ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
-ifeq ($(BOARD),)
-# if "make BOARD=xyz" command
 -include .config
-# if "make" command
--include $(BR2_LOCAL)/$(BOARD)/$(BOARD).config
 # Override BR2_DL_DIR if shell variable defined
 ifneq ($(BUILDROOT_DL_DIR),)
 # To put more focus on warnings, be less verbose as default
 # Use 'make V=1' to see the full commands

More information about the buildroot mailing list