Use LLVM for creating image

This commit is contained in:
Daniel Pawlik
2024-07-31 10:25:06 +02:00
parent 613f0328fd
commit bbfe6325a5
4 changed files with 9 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ jobs:
run: |
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/mediatek/mt7622/ax3200 > .config
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/dumb_ap >> .config
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/snapshot-short >> .config
make defconfig
- name: Remove packages that are marked as modules

View File

@@ -70,6 +70,9 @@ jobs:
./scripts/feeds update -a
./scripts/feeds install -a
# NOTE: Temporary do not use LLVM
# curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/snapshot-short >> .config
#
- name: Configure firmware image
run: |
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/qualcommax/ax3600 > .config

View File

@@ -71,6 +71,7 @@ jobs:
run: |
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/mediatek/mt7988a/bpi-r4 > .config
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/main-router >> .config
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/snapshot-short >> .config
make defconfig
- name: Remove packages that are marked as modules

View File

@@ -0,0 +1,4 @@
CONFIG_BPF_TOOLCHAIN_BUILD_LLVM=y
# CONFIG_BPF_TOOLCHAIN_NONE is not set
CONFIG_SDK_LLVM_BPF=y
CONFIG_USE_LLVM_BUILD=y