summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2012-01-16 09:44:03 -0600
committerYing Wang <wangying@google.com>2012-03-30 16:46:16 -0700
commitb044a57a3678afdbfb999cc5e61fe2c8997b995d (patch)
treec08a2333294813826b16b7105e11313436e2a858
parentc2a672067001ea39b11764a8c98db2607618f608 (diff)
downloaddevice_samsung_tuna-b044a57a3678afdbfb999cc5e61fe2c8997b995d.zip
device_samsung_tuna-b044a57a3678afdbfb999cc5e61fe2c8997b995d.tar.gz
device_samsung_tuna-b044a57a3678afdbfb999cc5e61fe2c8997b995d.tar.bz2
[Tuna] Add product specific definition to HDCP symlink
Add product specific definition to the HDCP symlink creation. Without this protection performing a make after lunch for other products will force the inheritance of this symlink into the build. When creating the ota and update packages for other targets these symlinks are not created. This will cause other products to fail HDCP symlink association since the symlink was not created for the target product. Change-Id: I2ee0ba8d3002599677b4ad73449945ba5c423387 Signed-off-by: Dan Murphy <dmurphy@ti.com>
-rw-r--r--Android.mk3
-rw-r--r--BoardConfig.mk1
2 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 035d08a..0e3f37d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -22,6 +22,7 @@
LOCAL_PATH := $(call my-dir)
+ifeq ($(BOARD_CREATE_TUNA_HDCP_KEYS_SYMLINK), true)
include $(CLEAR_VARS)
LOCAL_MODULE := tuna_hdcp_keys
@@ -44,3 +45,5 @@ $(LOCAL_BUILT_MODULE):
$(hide) touch $@
include $(call all-makefiles-under,$(LOCAL_PATH))
+
+endif
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 21d411c..7fa3d44 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -38,6 +38,7 @@ TARGET_BOOTLOADER_BOARD_NAME := tuna
TARGET_BOARD_INFO_FILE ?= device/samsung/tuna/board-info.txt
BOARD_EGL_CFG := device/samsung/tuna/egl.cfg
+BOARD_CREATE_TUNA_HDCP_KEYS_SYMLINK := true
#BOARD_USES_HGL := true
#BOARD_USES_OVERLAY := true