forked from openkylin/platform_build
Set TARGET_COPY_OUT_ for product/vendor in mainline
This product variable is used to generate the loader config (to use either /system/product or /product), and the vendor one is likely used in similar ways. Having these partitions is required for mainline devices, so set it in the shared BoardConfig. Bug: 80410283 Test: make Change-Id: I6f2d94ff43572a28df54ea8c60f2d838a3b9216c
This commit is contained in:
parent
e7f127491a
commit
9791518d58
|
@ -25,8 +25,8 @@ TARGET_USERIMAGES_USE_F2FS := true
|
|||
# Enable dynamic system image size and reserved 64MB in it.
|
||||
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 67108864
|
||||
|
||||
# GSI always requires separate vendor packages to vendor.img
|
||||
TARGET_COPY_OUT_VENDOR := vendor
|
||||
# GSI forces product packages to /system for now.
|
||||
TARGET_COPY_OUT_PRODUCT := system/product
|
||||
|
||||
# Creates metadata partition mount point under root for
|
||||
# the devices with metadata parition
|
||||
|
|
|
@ -8,6 +8,10 @@ TARGET_NO_KERNEL := true
|
|||
|
||||
TARGET_USERIMAGES_USE_EXT4 := true
|
||||
|
||||
# Mainline devices must have /vendor and /product partitions.
|
||||
TARGET_COPY_OUT_VENDOR := vendor
|
||||
TARGET_COPY_OUT_PRODUCT := product
|
||||
|
||||
# system-as-root is mandatory from Android P
|
||||
TARGET_NO_RECOVERY := true
|
||||
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
|
||||
|
|
Loading…
Reference in New Issue