From 38e934a38ee294c64fbfebea68ac67e916f06df9 Mon Sep 17 00:00:00 2001 From: Justin Yun Date: Thu, 22 Feb 2018 19:15:59 +0900 Subject: [PATCH] Create firmware and persist in GSI for arm_ab Some SoC vendors require firmware and persist directores to mount. This must be provided in GSI for arm_ab not only for arm64_ab. Once the directories are moved to /vendor, these policies for root must be removed. Bug: 36764215 Bug: 73720182 Test: GSI boot with 32bit devices Change-Id: Ic5c6bb615c39853d51d233c00d2d9e8ee2c57802 --- target/board/generic_arm_ab/BoardConfig.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/target/board/generic_arm_ab/BoardConfig.mk b/target/board/generic_arm_ab/BoardConfig.mk index 011bcdf60..b21e907a0 100644 --- a/target/board/generic_arm_ab/BoardConfig.mk +++ b/target/board/generic_arm_ab/BoardConfig.mk @@ -28,3 +28,11 @@ TARGET_CPU_VARIANT := generic # Enable A/B update TARGET_NO_RECOVERY := true BOARD_BUILD_SYSTEM_ROOT_IMAGE := true + +# TODO(jiyong) These might be SoC specific. +BOARD_ROOT_EXTRA_FOLDERS += firmware firmware/radio persist +BOARD_ROOT_EXTRA_SYMLINKS := /vendor/lib/dsp:/dsp + +# TODO(b/36764215): remove this setting when the generic system image +# no longer has QCOM-specific directories under /. +BOARD_SEPOLICY_DIRS += build/target/board/generic_arm64_ab/sepolicy