From: Luke Kenneth Casson Leighton Date: Thu, 7 Jul 2022 18:47:22 +0000 (+0100) Subject: whitespace, keep to 80 char limit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4013b2e4ec51b61dffd208db09541a18c10ae26;p=dev-env-setup.git whitespace, keep to 80 char limit --- diff --git a/build_kestrel_firmware b/build_kestrel_firmware index 5ad92ae..ea7b629 100755 --- a/build_kestrel_firmware +++ b/build_kestrel_firmware @@ -24,7 +24,10 @@ echo "Building ppc64el soft floating point library..." cd $KESTREL/firmware/gcc/libgcc/soft-fp # Ignore expected errors set +e -gcc -c -O2 -msoft-float -mno-string -mno-multiple -mno-vsx -mno-altivec -mlittle-endian -mstrict-align -fno-stack-protector -m64 -mabi=elfv2 -mcmodel=small -I../config/rs6000/ -I../../include -I.. *.c &> /dev/null +gcc -c -O2 -msoft-float -mno-string -mno-multiple -mno-vsx \ + -mno-altivec -mlittle-endian -mstrict-align \ + -fno-stack-protector -m64 -mabi=elfv2 -mcmodel=small \ + -I../config/rs6000/ -I../../include -I.. *.c &> /dev/null set -e ar -crv libsoft-fp.a *.o cp -Rp libsoft-fp.a ../../../ @@ -36,8 +39,15 @@ cd zephyr-rtos rm -rf build mkdir build cd build -ZEPHYR_BASE=${SOURCE_ROOT_DIR}/zephyr-rtos ZEPHYR_TOOLCHAIN_VARIANT=host cmake -DZEPHYR_MODULES="${SOURCE_ROOT_DIR}/zephyr-littlefs;${SOURCE_ROOT_DIR}/zephyr-mbedtls;${SOURCE_ROOT_DIR}/zephyr-civetweb" -DBOARD=litex_kestrel ${SOURCE_ROOT_DIR}/zephyr-firmware +export ZEPHYR_MODULES="${SOURCE_ROOT_DIR}/zephyr-littlefs" +export ZEPHYR_MODULES="${ZEPHYR_MODULES};${SOURCE_ROOT_DIR}/zephyr-mbedtls;" +export ZEPHYR_MODULES="${ZEPHYR_MODULES};${SOURCE_ROOT_DIR}/zephyr-civetweb" +ZEPHYR_BASE=${SOURCE_ROOT_DIR}/zephyr-rtos \ + ZEPHYR_TOOLCHAIN_VARIANT=host \ + cmake -DZEPHYR_MODULES="${ZEPHYR_MODULES}" \ + -DBOARD=litex_kestrel ${SOURCE_ROOT_DIR}/zephyr-firmware cp -Rp ../../libsoft-fp.a zephyr/ make -j32 -echo "Zephyr firmware binary now in $KESTREL/firmware/zephyr-rtos/build/zephyr/zephyr.bin" +echo -n "Zephyr firmware binary now in " +echo "$KESTREL/firmware/zephyr-rtos/build/zephyr/zephyr.bin"