Merge "Fix odm output directory for devices w/o vendor partition" am: 46cfab96d8
am: eec39a95f3
Change-Id: I9b91b105e926a9da8279b23e7b1aad09a7b1058a
This commit is contained in:
commit
a620ad1ff1
1 changed files with 3 additions and 3 deletions
|
@ -506,9 +506,9 @@ endif
|
|||
###########################################
|
||||
# Now we can substitute with the real value of TARGET_COPY_OUT_ODM
|
||||
ifeq ($(TARGET_COPY_OUT_ODM),$(_odm_path_placeholder))
|
||||
TARGET_COPY_OUT_ODM := vendor/odm
|
||||
else ifeq ($(filter odm vendor/odm,$(TARGET_COPY_OUT_ODM)),)
|
||||
$(error TARGET_COPY_OUT_ODM must be either 'odm' or 'vendor/odm', seeing '$(TARGET_COPY_OUT_ODM)'.)
|
||||
TARGET_COPY_OUT_ODM := $(TARGET_COPY_OUT_VENDOR)/odm
|
||||
else ifeq ($(filter odm system/vendor/odm vendor/odm,$(TARGET_COPY_OUT_ODM)),)
|
||||
$(error TARGET_COPY_OUT_ODM must be either 'odm', 'system/vendor/odm' or 'vendor/odm', seeing '$(TARGET_COPY_OUT_ODM)'.)
|
||||
endif
|
||||
PRODUCT_COPY_FILES := $(subst $(_odm_path_placeholder),$(TARGET_COPY_OUT_ODM),$(PRODUCT_COPY_FILES))
|
||||
|
||||
|
|
Loading…
Reference in a new issue