summaryrefslogtreecommitdiffstats
path: root/core/config.mk
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-08-10 12:48:48 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-10 12:48:48 -0700
commit51005fd1af0b40966f92489547a69029c8f7a6ac (patch)
tree06e9e5cc72445f43b7c75b14e0ae28da21fccabd /core/config.mk
parent4ef3508ea4c714ac7f65d5fd334e1952a5168902 (diff)
parent224f28a845a107d46500c7977cb0e2abeff1ebba (diff)
downloadbuild-51005fd1af0b40966f92489547a69029c8f7a6ac.zip
build-51005fd1af0b40966f92489547a69029c8f7a6ac.tar.gz
build-51005fd1af0b40966f92489547a69029c8f7a6ac.tar.bz2
am 224f28a8: am 049d97d7: am 2387857d: am 968f20a4: Merge "MIPS support to *.mk files and envsetup.sh"
* commit '224f28a845a107d46500c7977cb0e2abeff1ebba': MIPS support to *.mk files and envsetup.sh
Diffstat (limited to 'core/config.mk')
-rw-r--r--core/config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/config.mk b/core/config.mk
index 4363c1e..ad23612 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -148,6 +148,9 @@ ifneq ($(words $(board_config_mk)),1)
$(error Multiple board config files for TARGET_DEVICE $(TARGET_DEVICE): $(board_config_mk))
endif
include $(board_config_mk)
+ifeq ($(TARGET_ARCH),)
+ $(error TARGET_ARCH not defined by board config: $(board_config_mk))
+endif
TARGET_DEVICE_DIR := $(patsubst %/,%,$(dir $(board_config_mk)))
board_config_mk :=