Merge "Use BOARD_USES_VENDORIMAGE to detect vendor image presence"
This commit is contained in:
commit
5d420e791b
|
@ -58,3 +58,4 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libsysutils_in
|
|||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/grep $(PRODUCT_OUT)/system/bin/toolbox)
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/hw/gatekeeper.$(TARGET_DEVICE).so)
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/hw/gatekeeper.$(TARGET_DEVICE).so)
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/vendor)
|
||||
|
|
|
@ -58,7 +58,7 @@ LOCAL_POST_INSTALL_CMD := mkdir -p $(addprefix $(TARGET_ROOT_OUT)/, \
|
|||
ln -sf /system/etc $(TARGET_ROOT_OUT)/etc; \
|
||||
ln -sf /sys/kernel/debug $(TARGET_ROOT_OUT)/d; \
|
||||
ln -sf /storage/self/primary $(TARGET_ROOT_OUT)/sdcard
|
||||
ifdef BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE
|
||||
ifdef BOARD_USES_VENDORIMAGE
|
||||
LOCAL_POST_INSTALL_CMD += ; mkdir -p $(TARGET_ROOT_OUT)/vendor
|
||||
else
|
||||
LOCAL_POST_INSTALL_CMD += ; ln -sf /system/vendor $(TARGET_ROOT_OUT)/vendor
|
||||
|
|
Loading…
Reference in New Issue