Includes a base-pre.mk for pre-pending COPY_FILES

This commit is contained in:
Pierre-Hugues Husson 2017-12-30 18:21:46 +01:00
parent a8645acd0e
commit bce1ca56d9
2 changed files with 4 additions and 0 deletions

3
base-pre.mk Normal file
View File

@ -0,0 +1,3 @@
#Use a more decent APN config
PRODUCT_COPY_FILES += \
device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml

View File

@ -40,6 +40,7 @@ for part in a ab;do
target="treble_${arch}_${part_suffix}${apps_suffix}${su_suffix}" target="treble_${arch}_${part_suffix}${apps_suffix}${su_suffix}"
cat > ${target}.mk << EOF cat > ${target}.mk << EOF
\$(call inherit-product, device/phh/treble/base-pre.mk)
include build/make/target/product/treble_common.mk include build/make/target/product/treble_common.mk
\$(call inherit-product, device/phh/treble/base.mk) \$(call inherit-product, device/phh/treble/base.mk)
$apps_script $apps_script