openwrt/package/system
Sergey V. Lobanov e6a4f30ed7 iucode-tool: fix host-compile on macos and non-x86 linux
iucode-tool/host is used by intel-microcode to manipulate with
microcode.bin file. iucode-tool requires cpuid.h at compile time
for autodection feature, but non-x86 build hosts does not have
this header file (e.g. ubuntu 20.04 aarch64) or this header
generates compile time error (#error macro) (e.g. macos arm64).

This patch provides compat cpuid.h to build iucode-tool/host on
non-x86 linux hosts and macos. CPU autodectection is not required
for intel-microcode package build so compat cpuid.h is ok for
OpenWrt purposes.

glibc and argp lib are not present in macos so iucode-tool/host
build fails. This patch adds argp-standalone/host as build
dependency if host os is macos.

Generated ucode (intel-microcode package) is exactly the same on
Linux x86_64 (Ubuntu 20.04), Linux aarch64 (Ubuntu 20.04) and
Darwin arm64 (MacOS 11.6) build hosts.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-02-26 19:52:41 +01:00
..
ca-certificates ca-certificates: fix python3-cryptography woes in certdata2pem.py 2021-12-01 17:52:35 +01:00
fstools fstools: update to git HEAD 2021-11-20 21:09:59 +00:00
fwtool fwtool: update to latest Git head 2019-11-14 22:53:31 +01:00
iucode-tool iucode-tool: fix host-compile on macos and non-x86 linux 2022-02-26 19:52:41 +01:00
mtd mtd: fix imagetag compilation 2021-03-17 08:42:05 +01:00
openwrt-keyring openwrt-keyring: Only copy sign key for snapshots 2021-05-17 19:02:02 +02:00
opkg opkg: update to git HEAD of 2022-01-09 2022-01-09 20:10:32 +00:00
procd procd: update to git HEAD 2022-02-19 00:11:55 +00:00
refpolicy Revert "refpolicy: add variant that builds modular policy" 2020-11-22 15:20:35 +00:00
rpcd rpcd: update to latest Git HEAD 2022-02-07 11:44:37 +01:00
selinux-policy selinux-policy: update to version 1.0 2021-10-28 22:15:02 +01:00
ubox ubox: fix broken deferred start of logfile writer 2022-01-31 15:03:25 +00:00
ubus ubus: update to the latest version 2021-11-01 12:00:21 +01:00
ucert ucert: update to latest git HEAD 2020-05-24 17:01:36 +02:00
uci uci: update to git HEAD 2021-10-22 23:51:51 +02:00
urandom-seed treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
urngd treewide: remove BUILD_PARALLEL from CMake packages 2021-06-19 20:44:59 -10:00
usign usign: update to latest git HEAD 2020-05-23 13:38:12 +02:00
zram-swap zram-swap: clean up the log messages 2021-06-27 14:49:14 -10:00