From b310542c14b4d467655818bf00f00ee926987e2e Mon Sep 17 00:00:00 2001 From: Konsta Date: Tue, 18 Mar 2025 11:17:24 +0200 Subject: [PATCH] set hardware platform name * Some hardware information applications use this so set actual hardware platform name. * Historic reason why this was set to rpi is that this allowed to use same HALs on rpi3/rpi4 when they were commonized. 'ro.board.platform' this sets is used in the legacy module load order. https://android.googlesource.com/platform/hardware/libhardware/+/refs/tags/android-15.0.0_r20/modules/README.android This has no use with modern HIDL/AIDL/APEX HALs. For legacy HALs name can be implicitly set using system properties (e.g. 'ro.hardware.audio.primary' that's still relevant). --- BoardConfig.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index d2fb016..1bf275c 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -61,7 +61,7 @@ TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true TARGET_USERIMAGES_USE_EXT4 := true # Platform -TARGET_BOARD_PLATFORM := rpi +TARGET_BOARD_PLATFORM := bcm2711 # Properties TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop