diff --git a/target/board/BoardConfigGsiCommon.mk b/target/board/BoardConfigGsiCommon.mk index d53995c03..eee65f42d 100644 --- a/target/board/BoardConfigGsiCommon.mk +++ b/target/board/BoardConfigGsiCommon.mk @@ -6,6 +6,8 @@ include build/make/target/board/BoardConfigMainlineCommon.mk +TARGET_NO_KERNEL := true + # This flag is set by mainline but isn't desired for GSI. BOARD_USES_SYSTEM_OTHER_ODEX := diff --git a/target/board/BoardConfigMainlineCommon.mk b/target/board/BoardConfigMainlineCommon.mk index acbd11d43..8d2957ce3 100644 --- a/target/board/BoardConfigMainlineCommon.mk +++ b/target/board/BoardConfigMainlineCommon.mk @@ -4,17 +4,13 @@ # The generic product target doesn't have any hardware-specific pieces. TARGET_NO_BOOTLOADER := true -TARGET_NO_KERNEL := true TARGET_NO_RECOVERY := true TARGET_USERIMAGES_USE_EXT4 := true # Mainline devices must have /vendor and /product partitions. TARGET_COPY_OUT_VENDOR := vendor -BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 - TARGET_COPY_OUT_PRODUCT := product -BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4 BOARD_VNDK_VERSION := current @@ -42,7 +38,6 @@ BOARD_CHARGER_ENABLE_SUSPEND := true # Enable A/B update AB_OTA_UPDATER := true -AB_OTA_PARTITIONS := system # Enable system property split for Treble BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true diff --git a/target/board/mainline_arm64/BoardConfig.mk b/target/board/mainline_arm64/BoardConfig.mk index 521d97655..8bb6212c1 100644 --- a/target/board/mainline_arm64/BoardConfig.mk +++ b/target/board/mainline_arm64/BoardConfig.mk @@ -25,3 +25,10 @@ TARGET_2ND_CPU_ABI2 := armeabi TARGET_2ND_CPU_VARIANT := generic include build/make/target/board/BoardConfigMainlineCommon.mk + +TARGET_NO_KERNEL := true + +AB_OTA_PARTITIONS := system + +BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 +BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4