Use the latest gcc for downstream kernels
The process of modernizing a kernel and using gcc8 isn't too hard, but apparently it can make some devices fail to boot, so we will need to test each device one by one.
Process
git checkout -b modernize-<device>
pmbootstrap aportgen linux-<device>
cd device/linux-<device>/
-
git difftool APKBUILD
to keep important stuff (I use Meld) -
git checkout -- <file>
to bring back patches and defconfig pmbootstrap checksum linux-<device>
-
pmbootstrap build --force linux-<device>
to ensure it still compiles- If not, add or remove patches and go back to the checksum step
pmbootstrap pkgrel_bump linux-<device>
git add --all
git commit -m "linux-<device>: Modernize and use gcc8"
- Create merge request
- Ask someone to test if the device still boots
Progress
-
linux-amazon-thor -
linux-asus-duma -
linux-asus-flo -
linux-asus-grouper -
linux-asus-t00f -
linux-asus-tf101 -
linux-asus-z00t -
linux-asus-z00vd -
linux-bq-chaozu -
linux-fairphone-fp1 -
linux-fairphone-fp2 (doesn't boot) -
linux-google-glass -
linux-gp-peak -
linux-htc-a5ul -
linux-htc-ace -
linux-htc-bravo -
linux-htc-flounder -
linux-htc-m8 -
linux-htc-vivo -
linux-huawei-angler -
linux-huawei-y530 -
linux-infocus-flatfish -
linux-jolla-sbj -
linux-leeco-s2 -
linux-lenovo-karate -
linux-lg-bullhead -
linux-lg-d285 -
linux-lg-d855 -
linux-lg-dory -
linux-lg-h815 -
linux-lg-lenok -
linux-lg-mako -
linux-lg-w5 -
linux-motorola-athene -
linux-motorola-falcon -
linux-motorola-ghost -
linux-motorola-harpia -
linux-motorola-maserati -
linux-motorola-osprey -
linux-motorola-peregrine -
linux-motorola-potter -
linux-motorola-shamu -
linux-motorola-surnia -
linux-motorola-titan -
linux-nextbit-robin -
linux-nokia-n9 -
linux-nokia-rm885 -
linux-oneplus-bacon -
linux-oneplus-oneplus2 -
linux-oneplus-onyx -
linux-ouya-ouya (!93 (closed)) (doesn't boot) -
linux-samsung-espresso10 -
linux-samsung-gts210vewifi -
linux-samsung-i747m -
linux-samsung-i8190 -
linux-samsung-i8200 -
linux-samsung-i9003 -
linux-samsung-i9070 -
linux-samsung-i9100 -
linux-samsung-i9195 -
linux-samsung-i9305 -
linux-samsung-jflte (!92 (merged)) -
linux-samsung-klte (doesn't boot) -
linux-samsung-kminilte -
linux-samsung-kylepro (!113 (merged)) -
linux-samsung-kylessopen(!345 (merged)) -
linux-samsung-kylevess -
linux-samsung-lt023g -
linux-samsung-maguro -
linux-samsung-manta -
linux-samsung-n5110 -
linux-samsung-n7100 -
linux-samsung-p4wifi -
linux-samsung-s6500d -
linux-samsung-serranodsdd -
linux-semc-anzu -
linux-semc-smultron -
linux-sony-amami -
linux-sony-aries -
linux-sony-castor-windy -
linux-sony-coconut -
linux-sony-honami -
linux-sony-nicki -
linux-sony-scorpion -
linux-sony-seagull -
linux-sony-taoshan -
linux-sony-tulip -
linux-sony-yuga (!107 (merged)) -
linux-t2m-flame -
linux-teclast-x80pro -
linux-wiko-lenny3 -
linux-wingtech-wt88047 -
linux-xiaomi-armani -
linux-xiaomi-cancro -
linux-xiaomi-ido -
linux-xiaomi-mido -
linux-xiaomi-santoni -
linux-zte-kis3
This list was generated with this script
#!/bin/bash
for kernel in device/linux-*; do
if grep -q gcc6 $kernel/APKBUILD; then
check=" "
else
check="x"
fi
echo "* [$check] $(basename $kernel)"
done
Edited by Administrator