mirror of
https://github.com/outbackdingo/openwrt-builder.git
synced 2026-01-27 10:19:59 +00:00
Update README; set GCC 14.1.0 as default when snapshot
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user