diff --git a/Android.mk b/Android.mk index c3863db45f0d442485bd7338cedfe84495452318..2a6751eec5719840ee430ccf876787d75076c143 100644 --- a/Android.mk +++ b/Android.mk @@ -182,7 +182,7 @@ $($(MAC_PERMISSION_FILE).tmp) : $(call build_policy, $(MAC_PERMISSION_FILE)) $(LOCAL_BUILT_MODULE) : $($(MAC_PERMISSION_FILE).tmp) $(mac_perms_keys.tmp) $(HOST_OUT_EXECUTABLES)/insertkeys.py @mkdir -p $(dir $@) - $(HOST_OUT_EXECUTABLES)/insertkeys.py -t $(TARGET_BUILD_VARIANT) -c $(ANDROID_BUILD_TOP) $(mac_perms_keys.tmp) -o $@ $< + $(HOST_OUT_EXECUTABLES)/insertkeys.py -t $(TARGET_BUILD_VARIANT) -c $(TOP) $(mac_perms_keys.tmp) -o $@ $< $(MAC_PERMISSION_FILE).tmp := ################################## diff --git a/keys.conf b/keys.conf index 387b65a534d369db9d43492c200d191ae2b4a1ae..c002897909052cd4c2ea5fd1a85b50ee7894a1fc 100644 --- a/keys.conf +++ b/keys.conf @@ -1,11 +1,11 @@ # # Maps an arbitrary tag [TAGNAME] with the string contents found in -# TARGET_BUILD_VARAINT. Common convention is to start TAGNAME with an @ and +# TARGET_BUILD_VARIANT. Common convention is to start TAGNAME with an @ and # name it after the base file name of the pem file. # # Each tag (section) then allows one to specify any string found in # TARGET_BUILD_VARIANT. Typcially this is user, eng, and userdebug. Another -# option is to use ALL which will match ANY TARGET_BUILD_VARAINT string. +# option is to use ALL which will match ANY TARGET_BUILD_VARIANT string. # [@PLATFORM]