diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/Makefile | 1 | ||||
-rw-r--r-- | core/main.mk | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile index fa0550c..110b3c9 100644 --- a/core/Makefile +++ b/core/Makefile @@ -131,6 +131,7 @@ $(INSTALLED_BUILD_PROP_TARGET): $(BUILDINFO_SH) $(INTERNAL_BUILD_ID_MAKEFILE) TARGET_BOOTLOADER_BOARD_NAME="$(TARGET_BOOTLOADER_BOARD_NAME)" \ BUILD_FINGERPRINT="$(BUILD_FINGERPRINT)" \ TARGET_BOARD_PLATFORM="$(TARGET_BOARD_PLATFORM)" \ + TARGET_CPU_ABI="$(TARGET_CPU_ABI)" \ bash $(BUILDINFO_SH) > $@ $(hide) if [ -f $(TARGET_DEVICE_DIR)/system.prop ]; then \ cat $(TARGET_DEVICE_DIR)/system.prop >> $@; \ diff --git a/core/main.mk b/core/main.mk index 655a592..2bf8102 100644 --- a/core/main.mk +++ b/core/main.mk @@ -406,6 +406,10 @@ board_config_mk := # Clean up/verify variables defined by the board config file. TARGET_BOOTLOADER_BOARD_NAME := $(strip $(TARGET_BOOTLOADER_BOARD_NAME)) +TARGET_CPU_ABI := $(strip $(TARGET_CPU_ABI)) +ifeq ($(TARGET_CPU_ABI),) + $(error No TARGET_CPU_ABI defined by board config: $(board_config_mk)) +endif # # Include all of the makefiles in the system |