diff --git a/README.md b/README.md index fd0c221..b83260b 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,12 @@ Configure the firmware image and the kernel: make menuconfig ``` +Optional: comment modules: + +```shell +for m in $(grep "=m" .config | grep -v 'CONFIG_PACKAGE_libustream-mbedtls=m'); do module=$(echo $m| cut -f1 -d'='); sed -i "s/$m/\# $module is not set/g" .config; done +``` + Then: ```shell diff --git a/configs/common/snapshot b/configs/common/snapshot index 439cb50..bf40920 100644 --- a/configs/common/snapshot +++ b/configs/common/snapshot @@ -13,3 +13,11 @@ CONFIG_USE_LLVM_BUILD=y CONFIG_DEVEL=y CONFIG_JSON_CYCLONEDX_SBOM=y CONFIG_MAKE_TOOLCHAIN=y + +# set GCC14.1 +CONFIG_GCC_USE_VERSION_14=y +CONFIG_GCC_VERSION="14.1.0" +CONFIG_GCC_VERSION_14=y +CONFIG_TOOLCHAINOPTS=y +CONFIG_BUILD_PATENTED=y +CONFIG_USE_LTO=y