mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04:00
sandbox: Disable standalone/API support
This is not useful on the sandbox architecture since we can simply link all our code with U-Boot. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
fe34107e38
commit
711523958f
9
Makefile
9
Makefile
@ -137,9 +137,7 @@ unexport CDPATH
|
|||||||
|
|
||||||
# The "tools" are needed early, so put this first
|
# The "tools" are needed early, so put this first
|
||||||
# Don't include stuff already done in $(LIBS)
|
# Don't include stuff already done in $(LIBS)
|
||||||
SUBDIRS = tools \
|
SUBDIRS = tools
|
||||||
examples/standalone \
|
|
||||||
examples/api
|
|
||||||
|
|
||||||
.PHONY : $(SUBDIRS) $(VERSION_FILE) $(TIMESTAMP_FILE)
|
.PHONY : $(SUBDIRS) $(VERSION_FILE) $(TIMESTAMP_FILE)
|
||||||
|
|
||||||
@ -156,6 +154,11 @@ sinclude $(obj)include/autoconf.mk
|
|||||||
include $(obj)include/config.mk
|
include $(obj)include/config.mk
|
||||||
export ARCH CPU BOARD VENDOR SOC
|
export ARCH CPU BOARD VENDOR SOC
|
||||||
|
|
||||||
|
ifndef CONFIG_SANDBOX
|
||||||
|
SUBDIRS += examples/standalone \
|
||||||
|
examples/api
|
||||||
|
endif
|
||||||
|
|
||||||
# set default to nothing for native builds
|
# set default to nothing for native builds
|
||||||
ifeq ($(HOSTARCH),$(ARCH))
|
ifeq ($(HOSTARCH),$(ARCH))
|
||||||
CROSS_COMPILE ?=
|
CROSS_COMPILE ?=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user