]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sandbox: Disable standalone/API support
authorSimon Glass <sjg@chromium.org>
Sat, 17 Sep 2011 06:48:50 +0000 (06:48 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 17 Oct 2011 21:56:57 +0000 (23:56 +0200)
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>
Makefile

index 5db2e0e33561907cdc08b841bc5e701304f16b4f..44e3726f7bf15766ad5286220b536961049e7293 100644 (file)
--- 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 ?=