summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Huang <jim.huang@linaro.org>2011-04-27 14:55:33 +0800
committerJim Huang <jim.huang@linaro.org>2011-04-27 14:55:33 +0800
commite6f4a25e1ad4a8d43b6f555cfbf1a5328140f664 (patch)
tree89557ea81fdd8a8108be97ee18668b6692750f38
parentfb4944ed0842e24cbde200e741b3ff0c757defb3 (diff)
downloadpandaboard-e6f4a25e1ad4a8d43b6f555cfbf1a5328140f664.tar.gz
Enable hardware OMX and OMAP Enhancements
-rw-r--r--BoardConfig.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 8ea742c..6748091 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -17,6 +17,7 @@ TARGET_PROVIDES_INIT_RC := true
BOARD_USES_GENERIC_AUDIO := false
BOARD_USES_ALSA_AUDIO := true
OMAP_ENHANCEMENT := true
+HARDWARE_OMX := true
USE_CAMERA_STUB := true
BOARD_HAVE_BLUETOOTH := false
@@ -25,6 +26,20 @@ BOARD_HAVE_BLUETOOTH_BCM := false
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
+ifdef HARDWARE_OMX
+OMX_VENDOR := ti
+OMX_VENDOR_INCLUDES := \
+ hardware/ti/omx/system/src/openmax_il/omx_core/inc \
+ hardware/ti/omx/image/src/openmax_il/jpeg_enc/inc
+OMX_VENDOR_WRAPPER := TI_OMX_Wrapper
+BOARD_OPENCORE_LIBRARIES := libOMX_Core
+BOARD_OPENCORE_FLAGS := -DHARDWARE_OMX=1
+endif
+
+ifdef OMAP_ENHANCEMENT
+COMMON_GLOBAL_CFLAGS += -DOMAP_ENHANCEMENT -DTARGET_OMAP4
+endif
+
# Enable NEON feature
TARGET_ARCH_VARIANT := armv7-a-neon
ARCH_ARM_HAVE_TLS_REGISTER := true