💾 Archived View for calcuode.com › gemlog › build-gmni-for-kobo-glo-hd.sh captured on 2023-09-28 at 15:53:10.
⬅️ Previous capture (2023-03-20)
-=-=-=-=-=-=-
#!/bin/sh toolchain_path="/home/....../gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf" mkdir -p kobo-glo-hd cd kobo-glo-hd export CC="arm-linux-gnueabihf-gcc" export AR="arm-linux-gnueabihf-ar" export AS="arm-linux-gnueabihf-as" export LD="arm-linux-gnueabihf-ld" export CFLAGS="-W -Wall -Os -mthumb -ffunction-sections -fdata-sections -mcpu=cortex-a9 -I $toolchain_path/include -I $toolchain_path/usr/include" export LIBS="-L$toolchain_path/lib -L$toolchain_path/usr/lib" ../configure make