diff options
-rwxr-xr-x | BoardConfig.mk | 13 | ||||
-rwxr-xr-x | rootdir/init.tuna.rc | 3 |
2 files changed, 3 insertions, 13 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index d41f3f5..297b179 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -19,6 +19,9 @@ DEVICE_FOLDER := device/samsung/tuna # inherit from omap4 -include hardware/ti/omap4/BoardConfigCommon.mk +# Build SGX KM +-include hardware/ti/omap4/pvr-km.mk + PRODUCT_VENDOR_KERNEL_HEADERS += $(DEVICE_FOLDER)/kernel-headers # CM @@ -46,16 +49,6 @@ BOARD_KERNEL_CMDLINE := androidboot.hardware=$(TARGET_BOOTLOADER_BOARD_NAME) TARGET_KERNEL_CONFIG := cyanogenmod_tuna_defconfig TARGET_KERNEL_SOURCE := kernel/samsung/tuna -# 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 - 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 - TI_CAMERAHAL_USES_LEGACY_DOMX_DCC := true TI_CAMERAHAL_INTERFACE := OMX DOMX_TUNA := true diff --git a/rootdir/init.tuna.rc b/rootdir/init.tuna.rc index 1840239..1e8d5b9 100755 --- a/rootdir/init.tuna.rc +++ b/rootdir/init.tuna.rc @@ -73,9 +73,6 @@ on fs chmod 0660 /dev/i2c-2 chown media media /dev/i2c-2 - # pvr module - insmod /system/lib/modules/pvrsrvkm_sgx540_120.ko - # add symlink for HDCP key symlink /factory/hdcp.keys /system/vendor/firmware/hdcp.keys |