summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cceea66)
raw | patch | inline | side by side (parent: cceea66)
author | Simon Glass <sjg@chromium.org> | |
Tue, 25 Oct 2011 11:29:28 +0000 (11:29 +0000) | ||
committer | Wolfgang Denk <wd@denx.de> | |
Thu, 3 Nov 2011 21:34:57 +0000 (22:34 +0100) |
The check for sandbox architecture is too early in the Makefile, so
standalone and api are built regardless. This moves the check until
after autoconf.mk has been read.
This fixes a build breakage.
Signed-off-by: Simon Glass <sjg@chromium.org>
standalone and api are built regardless. This moves the check until
after autoconf.mk has been read.
This fixes a build breakage.
Signed-off-by: Simon Glass <sjg@chromium.org>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index 82de62b011478181899a228be6d95ab796faffa3..bd722862d450f86726d35ee2ab0e0eddb4e20bc9 100644 (file)
--- a/Makefile
+++ b/Makefile
SUBDIR_TOOLS = tools
SUBDIR_EXAMPLES = examples/standalone examples/api
SUBDIRS = $(SUBDIR_TOOLS)
-ifndef CONFIG_SANDBOX
-SUBDIRS += $(SUBDIR_EXAMPLES)
-endif
.PHONY : $(SUBDIRS) $(VERSION_FILE) $(TIMESTAMP_FILE)
sinclude $(obj)include/autoconf.mk.dep
sinclude $(obj)include/autoconf.mk
+ifndef CONFIG_SANDBOX
+SUBDIRS += $(SUBDIR_EXAMPLES)
+endif
+
# load ARCH, BOARD, and CPU configuration
include $(obj)include/config.mk
export ARCH CPU BOARD VENDOR SOC