When using the _anbox="true" option, enable ION and silence related config prompts.

master
Tk-Glitch 2020-11-24 05:10:18 +07:00
parent 9c7a8b262d
commit 15d95f805a
1 changed files with 3 additions and 0 deletions

@ -1081,10 +1081,13 @@ _tkg_srcprep() {
fi
if [[ "$CONDITION12" =~ [yY] ]] || [ "$_anbox" = "true" ]; then
echo "CONFIG_ASHMEM=y" >> ./.config
echo "CONFIG_ION=y" >> ./.config
echo "# CONFIG_ION_SYSTEM_HEAP is not set" >> ./.config
echo "CONFIG_ANDROID=y" >> ./.config
echo "CONFIG_ANDROID_BINDER_IPC=y" >> ./.config
echo "CONFIG_ANDROID_BINDERFS=y" >>./.config
echo 'CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"' >>./.config
echo "# CONFIG_ANDROID_BINDER_IPC_SELFTEST is not set" >> ./.config
fi
fi