Add option to pass a path to an mk in generate.sh
This commit is contained in:
parent
ddd243d375
commit
85658e55b3
@ -2,7 +2,11 @@
|
||||
|
||||
rom_script=''
|
||||
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)'
|
||||
fi
|
||||
fi
|
||||
|
||||
echo 'PRODUCT_MAKEFILES := \' > AndroidProducts.mk
|
||||
|
Loading…
Reference in New Issue
Block a user