PrawnOS-nonfree/crossmenuconfig.sh
SolidHal fbac1b5fe2 Brought kernel config up to 4.17
Stuck mostly to defaults. Testing better sounds and HDMI support
Added TODO file with possible modifications to test
2018-06-22 11:55:00 -05:00

14 lines
522 B
Bash
Executable File

#!/bin/sh -xe
#Runs Make menuconfig with the proper enviroment vars for cross compiling arm
#Grabs the file named config in the same directory as this script, and updates it
KVER=4.17.2
[ ! -f linux-libre-$KVER-gnu.tar.lz ] && wget https://www.linux-libre.fsfla.org/pub/linux-libre/releases/$KVER-gnu/linux-libre-$KVER-gnu.tar.lz
[ ! -d linux-$KVER ] && tar --lzip -xvf linux-libre-$KVER-gnu.tar.lz
cd linux-$KVER
cp ../config .config
make menuconfig ARCH=arm CROSS_COMPILE=arm-none-eabi- .config
cp .config ../config