PrawnOS-nonfree/scripts/crossmenuconfig.sh
SolidHal d0403b14e3 Cleaned up image creation, made functional installation scripts
Cleaned up build files, resources, scripts.
Made the image use a partition map to fix mmc issues

Signed-off-by: SolidHal <solidhal@users.noreply.github.com>
2018-09-05 18:35:33 -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