Rename ab to b, to have fixed length variants

This commit is contained in:
Pierre-Hugues Husson 2017-12-19 13:10:47 +01:00
parent 40ae10433e
commit 748277cb08
1 changed files with 6 additions and 1 deletions

View File

@ -32,7 +32,12 @@ for part in a ab;do
extra_packages+=' phh-su'
fi
target="treble_${arch}_${part}${apps_suffix}${su_suffix}"
part_suffix='a'
if [ "$part" == 'ab' ];then
part_suffix='b'
fi
target="treble_${arch}_${part_suffix}${apps_suffix}${su_suffix}"
cat > ${target}.mk << EOF
include build/make/target/product/treble_common.mk