mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
Remove the BOARD/LOCAL feature
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@free-electrons.com>
This commit is contained in:
parent
397fe5cc0b
commit
18183726d4
15
Makefile
15
Makefile
@ -32,14 +32,6 @@ noconfig_targets:=menuconfig xconfig config oldconfig randconfig \
|
|||||||
defconfig allyesconfig allnoconfig release tags \
|
defconfig allyesconfig allnoconfig release tags \
|
||||||
source-check help
|
source-check help
|
||||||
|
|
||||||
|
|
||||||
# Use shell variables, if defined
|
|
||||||
ifneq ($(BUILDROOT_LOCAL),)
|
|
||||||
BR2_LOCAL:=$(BUILDROOT_LOCAL)
|
|
||||||
else
|
|
||||||
BR2_LOCAL:=$(TOPDIR)/local
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Strip quotes and then whitespaces
|
# Strip quotes and then whitespaces
|
||||||
qstrip=$(strip $(subst ",,$(1)))
|
qstrip=$(strip $(subst ",,$(1)))
|
||||||
#"))
|
#"))
|
||||||
@ -52,20 +44,13 @@ space:=$(empty) $(empty)
|
|||||||
# $(shell find . -name *_defconfig |sed 's/.*\///')
|
# $(shell find . -name *_defconfig |sed 's/.*\///')
|
||||||
# Pull in the user's configuration file
|
# Pull in the user's configuration file
|
||||||
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
||||||
ifeq ($(BOARD),)
|
|
||||||
# if "make BOARD=xyz" command
|
|
||||||
-include .config
|
-include .config
|
||||||
else
|
|
||||||
# if "make" command
|
|
||||||
-include $(BR2_LOCAL)/$(BOARD)/$(BOARD).config
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Override BR2_DL_DIR if shell variable defined
|
# Override BR2_DL_DIR if shell variable defined
|
||||||
ifneq ($(BUILDROOT_DL_DIR),)
|
ifneq ($(BUILDROOT_DL_DIR),)
|
||||||
BR2_DL_DIR:=$(BUILDROOT_DL_DIR)
|
BR2_DL_DIR:=$(BUILDROOT_DL_DIR)
|
||||||
endif
|
endif
|
||||||
LOCAL:=$(BR2_LOCAL)
|
|
||||||
|
|
||||||
# To put more focus on warnings, be less verbose as default
|
# To put more focus on warnings, be less verbose as default
|
||||||
# Use 'make V=1' to see the full commands
|
# Use 'make V=1' to see the full commands
|
||||||
|
Loading…
x
Reference in New Issue
Block a user