openwrt-6.x/include
Christian Marangi 116c73fd71
bpf: ignore missing LLVM bins on package for non compile steps
To download a package the LLVM bins are not strictly needed.
Currently with an example run of make package/bridger/download V=s, the
build fail with

make[2]: Entering directory '/home/ansuel/openwrt-ansuel/openwrt/package/network/services/bridger'
bash: line 1: /home/ansuel/openwrt-ansuel/openwrt/staging_dir/host/llvm-bpf/bin/clang: No such file or directory
bash: line 1: [: : integer expression expected
/home/ansuel/openwrt-ansuel/openwrt/include/bpf.mk:71: *** ERROR: LLVM/clang version too old. Minimum required: 12, found: .  Stop.
make[2]: Leaving directory '/home/ansuel/openwrt-ansuel/openwrt/package/network/services/bridger'
time: package/network/services/bridger/download#0.04#0.00#0.06
    ERROR: package/network/services/bridger failed to build.

This is wrong since it may be needed to download the required packages
first and then compile them later.

Fix this by ignoring the LLVM bin check on non compile steps.

Tested-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-01-19 00:29:09 +01:00
..
site
autotools.mk libiconv-stub: remove 2022-07-15 15:21:44 +02:00
bpf.mk bpf: ignore missing LLVM bins on package for non compile steps 2023-01-19 00:29:09 +01:00
cmake.mk
debug.mk
depends.mk build: make find_md5 reproducible with AUTOREMOVE 2022-09-30 22:26:51 +02:00
device_table.txt
download.mk scripts/download.pl: make the download tool configurable 2022-10-20 00:35:19 +02:00
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk build: make find_md5 reproducible with AUTOREMOVE 2022-09-30 22:26:51 +02:00
image-commands.mk build: fix incomplete initramfs compression options 2023-01-17 00:16:35 +00:00
image.mk image: add FACTORY_SIZE to DEFAULT_DEVICE_VARS 2023-01-13 22:22:38 +01:00
kernel-5.10 kernel: bump 5.10 to 5.10.163 2023-01-14 22:31:38 +01:00
kernel-5.15 kernel: bump 5.15 to 5.15.88 2023-01-14 22:32:28 +01:00
kernel-build.mk build: make find_md5 reproducible with AUTOREMOVE 2022-09-30 22:26:51 +02:00
kernel-defaults.mk include: use libdeflate's gzip to decompress 2023-01-17 21:40:18 +01:00
kernel-version.mk
kernel.mk kernel: Make KERNEL_MAKEOPTS recursively expanded 2022-12-17 20:12:31 +01:00
logo.png
logo.svg
meson.mk tools/meson: update to 0.61.4 2022-04-09 15:56:04 +02:00
netfilter.mk kernel: kmod-ipt-ulog: Remove package 2022-08-10 21:36:17 +02:00
nls.mk nls.mk: fixup cmake packages 2022-11-27 00:52:06 +01:00
openssl-engine.mk openssl: move engine.mk to INCLUDE_DIR 2022-03-23 23:13:51 +00:00
package-bin.mk
package-defaults.mk tree-wide: Do not use package librt and libpthread 2022-12-29 18:50:24 +01:00
package-dumpinfo.mk
package-ipkg.mk
package-seccomp.mk
package.mk build: make find_md5 reproducible with AUTOREMOVE 2022-09-30 22:26:51 +02:00
prereq-build.mk prereq-build: limit argp/fts/obstack/libintl.h to Linux OS 2023-01-10 13:07:14 +01:00
prereq.mk include/prereq.mk: add RequireCHeader helper 2023-01-09 21:25:06 +01:00
quilt.mk quilt.mk: fix typo in the Host section 2022-03-19 16:13:58 +01:00
rootfs.mk
scan.awk
scan.mk treewide: derive host and hostpkg path from STAGING_DIR 2023-01-09 21:33:20 +01:00
shell.sh
subdir.mk
target.mk mpc85xx: add support for cpu type 8548 2022-12-29 16:49:08 +01:00
toolchain-build.mk toolchain: fix dangling symlink to self in FixupLibdir 2022-07-01 19:17:36 +02:00
toplevel.mk treewide: derive host and hostpkg path from STAGING_DIR 2023-01-09 21:33:20 +01:00
trusted-firmware-a.mk trusted-firmware-a.mk: use correct CPE ID 2022-12-20 18:36:26 +00:00
u-boot.mk u-boot.mk: add LOCALVERSION (explicitly specify OpenWrt build) 2022-02-28 23:54:52 +01:00
uclibc++.mk
unpack.mk include: use libdeflate's gzip to decompress 2023-01-17 21:40:18 +01:00
verbose.mk verbose.mk: print ERROR messages in non-verbose 2022-02-28 23:52:13 +01:00
version.mk