diff options
author | Isaac Chen | 2018-07-13 05:52:42 -0500 |
---|---|---|
committer | Isaac Chen | 2018-07-16 21:10:31 -0500 |
commit | 50978e8640a3705cf81b36dff79d3bb297e66085 (patch) | |
tree | 700ebc237f580123a35b91bad6f17cc95bb2658b /target/board | |
parent | 87399730de1dc8d6002d59feca1b25764843769a (diff) | |
download | platform-build-50978e8640a3705cf81b36dff79d3bb297e66085.tar.gz platform-build-50978e8640a3705cf81b36dff79d3bb297e66085.tar.xz platform-build-50978e8640a3705cf81b36dff79d3bb297e66085.zip |
Create extra symbolic links at root for arm64 GSI
Relevant firmware/SW components have been moved out of directories
under root, but not all references to them updated. For example,
/vendor/firmware_mnt won't be used by Android to load firmware.
So we still need these symlinks so the firmware/SW components can
be accesses.
These links should be removed after all references are updated.
Bug: 111287060
Test: $ lunch aosp_arm64-userdebug; m -j
# Checked $OUT/root for the added links
Change-Id: Ia7915dbdeabdee7a5cf8851772e89f080b927c45
Diffstat (limited to 'target/board')
-rw-r--r-- | target/board/generic_arm64/BoardConfig.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target/board/generic_arm64/BoardConfig.mk b/target/board/generic_arm64/BoardConfig.mk index 88f89deda..caf0cee53 100644 --- a/target/board/generic_arm64/BoardConfig.mk +++ b/target/board/generic_arm64/BoardConfig.mk | |||
@@ -63,9 +63,10 @@ BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800 | |||
63 | # Emulator system image is going to be used as GSI and some vendor still hasn't | 63 | # Emulator system image is going to be used as GSI and some vendor still hasn't |
64 | # cleaned up all device specific directories under root! | 64 | # cleaned up all device specific directories under root! |
65 | 65 | ||
66 | # TODO(jiyong) These might be SoC specific. | 66 | # TODO(b/111434759, b/111287060) SoC specific hacks |
67 | BOARD_ROOT_EXTRA_FOLDERS += firmware firmware/radio persist | ||
68 | BOARD_ROOT_EXTRA_SYMLINKS := /vendor/lib/dsp:/dsp | 67 | BOARD_ROOT_EXTRA_SYMLINKS := /vendor/lib/dsp:/dsp |
68 | BOARD_ROOT_EXTRA_SYMLINKS += /mnt/vendor/persist:/persist | ||
69 | BOARD_ROOT_EXTRA_SYMLINKS += /vendor/firmware_mnt:/firmware | ||
69 | 70 | ||
70 | # TODO(b/36764215): remove this setting when the generic system image | 71 | # TODO(b/36764215): remove this setting when the generic system image |
71 | # no longer has QCOM-specific directories under /. | 72 | # no longer has QCOM-specific directories under /. |