forked from openkylin/platform_build
Rename DEVICE_MANIFEST_<sku>_FILE to FILES
Use plural since multiple files can be defined and assembled together. Test: pass Bug: 148601741 Change-Id: I82a7aeb68ea26702e63757a41f32840b6186ab88
This commit is contained in:
parent
059d22231c
commit
07ea2c0360
|
@ -52,13 +52,13 @@ LOCAL_PREBUILT_MODULE_FILE := $(GEN)
|
|||
include $(BUILD_PREBUILT)
|
||||
endif
|
||||
|
||||
# DEVICE_MANIFEST_SKUS: a list of SKUS where DEVICE_MANIFEST_<sku>_FILE is defined.
|
||||
# DEVICE_MANIFEST_SKUS: a list of SKUS where DEVICE_MANIFEST_<sku>_FILES is defined.
|
||||
ifdef DEVICE_MANIFEST_SKUS
|
||||
|
||||
# Install /vendor/etc/vintf/manifest_$(sku).xml
|
||||
# $(1): sku
|
||||
define _add_device_sku_manifest
|
||||
my_fragment_files_var := DEVICE_MANIFEST_$$(call to-upper,$(1))_FILE
|
||||
my_fragment_files_var := DEVICE_MANIFEST_$$(call to-upper,$(1))_FILES
|
||||
ifndef $$(my_fragment_files_var)
|
||||
$$(error $(1) is in DEVICE_MANIFEST_SKUS but $$(my_fragment_files_var) is not defined)
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue