Sepolicy line:
<project path="device/qcom/sepolicy_vndr/sm6225" name="SM6225-Underground/device_qcom_sepolicy_vndr" remote="github" revision="lineage-21" />
hardware/qcom-caf/common line:
<linkfile src="os_pickup_audio-ar.mk" dest="hardware/qcom-caf/sm6225/audio/Android.mk" />
<linkfile src="os_pickup_qssi.bp" dest="hardware/qcom-caf/sm6225/Android.bp" />
<linkfile src="os_pickup.mk" dest="hardware/qcom-caf/sm6225/Android.mk" />
HALs line:
<project path="hardware/qcom-caf/sm6225/audio/agm" name="SM6225-Underground/vendor_qcom_opensource_agm" remote="github" revision="lineage-21" />
<project path="hardware/qcom-caf/sm6225/audio/pal" name="SM6225-Underground/vendor_qcom_opensource_arpal-lx" remote="github" revision="lineage-21" />
<project path="hardware/qcom-caf/sm6225/audio/primary-hal" name="SM6225-Underground/hardware_qcom_audio-ar" remote="github" revision="lineage-21" />
<project path="hardware/qcom-caf/sm6225/data-ipa-cfg-mgr" name="SM6225-Underground/vendor_qcom_opensource_data-ipa-cfg-mgr" remote="github" revision="lineage-21" />
<project path="hardware/qcom-caf/sm6225/dataipa" name="SM6225-Underground/vendor_qcom_opensource_dataipa" remote="github" revision="lineage-21" />
<project path="hardware/qcom-caf/sm6225/display" name="SM6225-Underground/hardware_qcom_display" remote="github" revision="lineage-21" />
<project path="hardware/qcom-caf/sm6225/media" name="SM6225-Underground/hardware_qcom_media" remote="github" revision="lineage-21" />
Adapt new platform to your BoardConfigQcom.mk ROM:
Clone device tree to your initialize repo, done!!
Compile Now!!