aboutsummaryrefslogtreecommitdiffstats
path: root/BoardConfigCommon.mk
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2015-08-17 23:59:42 +0200
committerAndreas Blaesius <skate4life@gmx.de>2015-09-02 07:03:00 -0700
commitfbb77c790d02c5588c9198a9fec658e468426b61 (patch)
treebf97771c66c68df4d5394c443c64cd76cc953809 /BoardConfigCommon.mk
parent380086f9d6e10de69c426091eb2db3a287beccc4 (diff)
downloaddevice_samsung_espressowifi-fbb77c790d02c5588c9198a9fec658e468426b61.zip
device_samsung_espressowifi-fbb77c790d02c5588c9198a9fec658e468426b61.tar.gz
device_samsung_espressowifi-fbb77c790d02c5588c9198a9fec658e468426b61.tar.bz2
espresso-common: switch to omap4-next
Change-Id: I1eef0eace20f872ba171aeb9df7ddb6ec50ce04f
Diffstat (limited to 'BoardConfigCommon.mk')
-rw-r--r--BoardConfigCommon.mk16
1 files changed, 12 insertions, 4 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 679014d..03ac056 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -14,10 +14,8 @@
# limitations under the License.
#
-# This variable is set first, so it can be overridden
-# by BoardConfigVendor.mk
-
--include device/samsung/omap4-common/BoardConfigCommon.mk
+# Inherit common omap4 board config
+-include hardware/ti/omap4/BoardConfigCommon.mk
TARGET_SPECIFIC_HEADER_PATH += device/samsung/espresso-common/include
@@ -36,6 +34,16 @@ BOARD_KERNEL_BASE := 0x40000000
# Use dlmalloc
MALLOC_IMPL := dlmalloc
+# External SGX Module
+SGX_MODULES:
+ make clean -C $(HARDWARE_TI_OMAP4_BASE)/pvr-source/eurasiacon/build/linux2/omap4430_android
+ cp $(TARGET_KERNEL_SOURCE)/drivers/video/omap2/omapfb/omapfb.h $(KERNEL_OUT)/drivers/video/omap2/omapfb/omapfb.h
+ make -j8 -C $(HARDWARE_TI_OMAP4_BASE)/pvr-source/eurasiacon/build/linux2/omap4430_android ARCH=arm KERNEL_CROSS_COMPILE=arm-eabi- CROSS_COMPILE=arm-eabi- KERNELDIR=$(KERNEL_OUT) TARGET_PRODUCT="blaze_tablet" BUILD=release TARGET_SGX=540 PLATFORM_VERSION=4.0
+ mv $(KERNEL_OUT)/../../target/kbuild/pvrsrvkm_sgx540_120.ko $(KERNEL_MODULES_OUT)
+ $(ARM_EABI_TOOLCHAIN)/arm-eabi-strip --strip-unneeded $(KERNEL_MODULES_OUT)/pvrsrvkm_sgx540_120.ko
+
+TARGET_KERNEL_MODULES += SGX_MODULES
+
# Init
TARGET_PROVIDES_INIT := true
TARGET_PROVIDES_INIT_TARGET_RC := true