[U-Boot] [PATCH v6 11/20] sandbox: Disable standalone/API support

Simon Glass sjg at chromium.org
Mon Oct 10 20:22:24 CEST 2011


This is less useful on the sandbox architecture since we can simply link all
our code with U-Boot. However some interest has been expressed in implementing
this support.

For now, it is disabled.

Signed-off-by: Simon Glass <sjg at chromium.org>
---
 Makefile |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index cd6fc8c..4de2103 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)
 
@@ -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 ?=
-- 
1.7.3.1



More information about the U-Boot mailing list