summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Blaesius <skate4life@gmx.de>2017-03-03 14:18:11 +0100
committerAndreas Blaesius <skate4life@gmx.de>2017-03-03 13:24:46 +0000
commit5fbe03bad3dae8ee630d89e0c7aa38107ad0cf52 (patch)
tree9274764ba3afc2ca177b94081ec8cbd43715410a
parent762038675c7a7e3ec4c951cb2d173033d9f9b7af (diff)
downloaddevice_samsung_tuna-5fbe03bad3dae8ee630d89e0c7aa38107ad0cf52.zip
device_samsung_tuna-5fbe03bad3dae8ee630d89e0c7aa38107ad0cf52.tar.gz
device_samsung_tuna-5fbe03bad3dae8ee630d89e0c7aa38107ad0cf52.tar.bz2
tuna: define TARGET_BOARD_OMAP_CPU in device.mk
- TARGET_BOARD_OMAP_CPU is needed by omap4 hardware and ti vendor repos which get inherit from device.mk. TARGET_BOARD_OMAP_CPU is not defined at time if it is set in BoardConfig - original this changes was made while unifying tuna, we are using device specific builds here Change-Id: If8d4569ce56fa8be68186438d9265963a6e40506
-rwxr-xr-xBoardConfig.mk3
-rwxr-xr-xdevice.mk3
2 files changed, 3 insertions, 3 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 297b179..7ddf7ae 100755
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -40,9 +40,6 @@ TARGET_NO_RADIOIMAGE := true
TARGET_BOARD_INFO_FILE := $(DEVICE_FOLDER)/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := tuna
-# Processor
-TARGET_BOARD_OMAP_CPU := 4460
-
# Kernel
BOARD_KERNEL_BASE := 0x80000000
BOARD_KERNEL_CMDLINE := androidboot.hardware=$(TARGET_BOOTLOADER_BOARD_NAME)
diff --git a/device.mk b/device.mk
index d825ef1..b69aa17 100755
--- a/device.mk
+++ b/device.mk
@@ -21,6 +21,9 @@
DEVICE_FOLDER := device/samsung/tuna
+# Processor
+TARGET_BOARD_OMAP_CPU := 4460
+
$(call inherit-product-if-exists, hardware/ti/omap4/omap4.mk)
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_FOLDER)/overlay