Commit 95f0a5db authored by Daniel Golle's avatar Daniel Golle Committed by Holger Levsen
Browse files

reproducible OpenWrt: To not depend on the host LLVM add some lines to the...


reproducible OpenWrt: To not depend on the host LLVM add some lines to the .config seed to build LLVM for eBPF from source.

Signed-off-by: Daniel Golle's avatarDaniel Golle <daniel@makrotopia.org>
Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent 93d05a2e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -236,6 +236,10 @@ openwrt_config() {
	printf "CONFIG_TARGET_ROOTFS_TARGZ=y\n" >> .config
	printf 'CONFIG_KERNEL_BUILD_USER="openwrt"\n' >> .config
	printf 'CONFIG_KERNEL_BUILD_DOMAIN="buildhost"\n' >> .config
	printf 'CONFIG_DEVEL=y\n' >> .config
	printf '# CONFIG_BPF_TOOLCHAIN_NONE is not set\n' >> .config
	printf '# CONFIG_BPF_TOOLCHAIN_HOST is not set\n' >> .config
	printf 'CONFIG_BPF_TOOLCHAIN_BUILD_LLVM=y\n' >> .config

	# WORKAROUND: the OpenWrt build system has a bug with iw when using CONFIG_ALL=y and selecting iw as dependency (over target dependencies).
	printf 'CONFIG_PACKAGE_iw=y\n' >> .config