summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-09-17 06:48:50 +0000
committerWolfgang Denk <wd@denx.de>2011-10-17 23:56:57 +0200
commit711523958f620a9834c822f905c87ed892b32ec4 (patch)
tree22f84e7f8bcab1915689735c11e95bd3006a150d
parentfe34107e38c6337c90e6f072954bdf50d9e09228 (diff)
downloadu-boot-imx-711523958f620a9834c822f905c87ed892b32ec4.zip
u-boot-imx-711523958f620a9834c822f905c87ed892b32ec4.tar.gz
u-boot-imx-711523958f620a9834c822f905c87ed892b32ec4.tar.bz2
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>
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5db2e0e..44e3726 100644
--- a/Makefile
+++ b/Makefile
@@ -137,9 +137,7 @@ unexport CDPATH
# The "tools" are needed early, so put this first
# Don't include stuff already done in $(LIBS)
-SUBDIRS = tools \
- examples/standalone \
- examples/api
+SUBDIRS = tools
.PHONY : $(SUBDIRS) $(VERSION_FILE) $(TIMESTAMP_FILE)
@@ -156,6 +154,11 @@ sinclude $(obj)include/autoconf.mk
include $(obj)include/config.mk
export ARCH CPU BOARD VENDOR SOC
+ifndef CONFIG_SANDBOX
+SUBDIRS += examples/standalone \
+ examples/api
+endif
+
# set default to nothing for native builds
ifeq ($(HOSTARCH),$(ARCH))
CROSS_COMPILE ?=