mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Fixup OpenEUICC inclusion
Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
d6c3b6c8fa
commit
8b51c3cd0f
6 changed files with 23 additions and 8 deletions
|
@ -721,6 +721,24 @@ disableAPEX() {
|
|||
}
|
||||
export -f disableAPEX;
|
||||
|
||||
includeOE() {
|
||||
cd "$DOS_BUILD_BASE/$1";
|
||||
if [ -f device.mk ]; then
|
||||
if grep -sq "euicc.xml" device.mk; then
|
||||
echo -e "\nPRODUCT_PACKAGES += OpenEUICC" >> device.mk;
|
||||
echo "Enabled OpenEUICC inclusion for $1";
|
||||
fi;
|
||||
fi;
|
||||
if [ -f device-lineage.mk ]; then
|
||||
if grep -sq "euicc.xml" device-lineage.mk; then
|
||||
echo -e "\nPRODUCT_PACKAGES += OpenEUICC" >> device-lineage.mk;
|
||||
echo "Enabled OpenEUICC inclusion for $1";
|
||||
fi;
|
||||
fi;
|
||||
cd "$DOS_BUILD_BASE";
|
||||
}
|
||||
export -f includeOE;
|
||||
|
||||
enableStrongEncryption() {
|
||||
cd "$DOS_BUILD_BASE/$1";
|
||||
if [ -f BoardConfig.mk ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue