Update Project C v5.9-r2 (#124)

This commit is contained in:
yuiiio
2020-11-21 05:15:19 +09:00
committed by GitHub
parent b13cbf0e32
commit 2f7a9034c4
3 changed files with 86 additions and 136 deletions

View File

@@ -226,7 +226,7 @@ _tkg_initscript() {
read -rp "`echo $' > N/y : '`" _fallback;
fi
if [[ "$_fallback" =~ [yY] ]] || [ "$_nofallback" = "true" ]; then
echo "_compiler_name=" >> "${_path}"/compilerset
echo "_compiler_name=" >> "${_path}"/compilerset
fi
if [ ! -e "${_path}"/compilerset ]; then
error "Exiting..."
@@ -367,7 +367,7 @@ _tkg_srcprep() {
if [ "$_basever" = "58" ] || [ "$_basever" = "57" ]; then
rev=3
elif [ "$_basever" = "59" ]; then
rev=1
rev=2
else
rev=0
fi
@@ -468,7 +468,7 @@ _tkg_srcprep() {
echo "CONFIG_CMDLINE=\"${_custom_commandline}\"" >> ./.config
echo "# CONFIG_CMDLINE_OVERRIDE is not set" >> ./.config
echo "# CONFIG_X86_P6_NOP is not set" >> ./.config
# openrgb
echo "CONFIG_I2C_NCT6775=m" >> ./.config
@@ -1060,7 +1060,7 @@ _tkg_srcprep() {
tkgpatch="$srcdir/0011-ZFS-fix.patch" && _tkg_patcher
fi
fi
# Anbox modules
if [ "$_basever" > "56" ]; then
if [ -z "$_anbox" ]; then
@@ -1070,7 +1070,7 @@ _tkg_srcprep() {
read -rp "`echo $' > N/y : '`" CONDITION12;
fi
if [[ "$CONDITION12" =~ [yY] ]] || [ "$_zfsfix" = "true" ]; then
echo "CONFIG_ASHMEM=y" >> ./.config
echo "CONFIG_ASHMEM=y" >> ./.config
echo "CONFIG_ANDROID=y" >> ./.config
echo "CONFIG_ANDROID_BINDER_IPC=y" >> ./.config
echo "CONFIG_ANDROID_BINDERFS=y" >>./.config