summaryrefslogtreecommitdiffstats
path: root/core/prebuilt.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2011-10-04 10:50:08 -0700
committerYing Wang <wangying@google.com>2011-10-04 10:50:08 -0700
commit3c21fe5b12d95fe374b9b8c874dc4c48b7f9fce1 (patch)
tree62df898db6926f6897181aad2b716be94f7fa96d /core/prebuilt.mk
parent6e69feed1a3d57d3206f7dabe32e06e8b07189e2 (diff)
downloadbuild-3c21fe5b12d95fe374b9b8c874dc4c48b7f9fce1.zip
build-3c21fe5b12d95fe374b9b8c874dc4c48b7f9fce1.tar.gz
build-3c21fe5b12d95fe374b9b8c874dc4c48b7f9fce1.tar.bz2
Support for product-specific dev keys.
Change-Id: Id577a72ee9f7cd70e8ca77efcbf10a37885c7d6f
Diffstat (limited to 'core/prebuilt.mk')
-rw-r--r--core/prebuilt.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/prebuilt.mk b/core/prebuilt.mk
index 935bce1..8c03341 100644
--- a/core/prebuilt.mk
+++ b/core/prebuilt.mk
@@ -93,7 +93,7 @@ ifeq ($(LOCAL_CERTIFICATE),EXTERNAL)
#
# This can be used for packages where we don't have access to the
# keys, but want the package to be predexopt'ed.
- LOCAL_CERTIFICATE := testkey
+ LOCAL_CERTIFICATE := $(DEFAULT_SYSTEM_DEV_CERTIFICATE)
PACKAGES.$(LOCAL_MODULE).EXTERNAL_KEY := 1
endif
ifeq ($(LOCAL_CERTIFICATE),)
@@ -114,7 +114,7 @@ else ifeq ($(LOCAL_CERTIFICATE),PRESIGNED)
else
# If this is not an absolute certificate, assign it to a generic one.
ifeq ($(dir $(strip $(LOCAL_CERTIFICATE))),./)
- LOCAL_CERTIFICATE := $(SRC_TARGET_DIR)/product/security/$(LOCAL_CERTIFICATE)
+ LOCAL_CERTIFICATE := $(dir $(DEFAULT_SYSTEM_DEV_CERTIFICATE))$(LOCAL_CERTIFICATE)
endif
PACKAGES.$(LOCAL_MODULE).PRIVATE_KEY := $(LOCAL_CERTIFICATE).pk8