Add option to pass a path to an mk in generate.sh
This commit is contained in:
parent
ddd243d375
commit
85658e55b3
@ -2,8 +2,12 @@
|
|||||||
|
|
||||||
rom_script=''
|
rom_script=''
|
||||||
if [ -n "$1" ];then
|
if [ -n "$1" ];then
|
||||||
|
if echo "$1" | grep -qF /;then
|
||||||
|
rom_script='$(call inherit-product, '$1')'
|
||||||
|
else
|
||||||
rom_script='$(call inherit-product, device/phh/treble/'$1'.mk)'
|
rom_script='$(call inherit-product, device/phh/treble/'$1'.mk)'
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
echo 'PRODUCT_MAKEFILES := \' > AndroidProducts.mk
|
echo 'PRODUCT_MAKEFILES := \' > AndroidProducts.mk
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user