immortalwrt/package/system
Sergey V. Lobanov 14d42c34ff
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>
(cherry picked from commit e6a4f30ed7)
2022-04-11 22:44:14 +08:00
..
ca-certificates download: add mirror alias for Debian 2021-02-27 12:11:33 +08:00
fstools fstools: update to 2021-05-16 2021-12-04 00:16:47 +08:00
fwtool Revert "fwtool: update to latest Git head" 2019-11-16 23:26:27 +08:00
iucode-tool iucode-tool: fix host-compile on macos and non-x86 linux 2022-04-11 22:44:14 +08:00
mtd mtd: fix imagetag compilation 2021-03-17 23:25:41 +08:00
openwrt-keyring openwrt-keyring: add ImmortalWrt 18.06 release key 2021-12-08 00:49:58 +08:00
opkg treewide: remove PKG_INSTALL from CMake packages 2021-06-20 23:19:53 +08:00
procd procd: move service command to procd 2022-03-21 23:24:26 +08:00
refpolicy Revert "refpolicy: add variant that builds modular policy" 2020-11-24 23:18:44 +08:00
rpcd treewide: remove BUILD_PARALLEL from CMake packages 2021-06-20 23:19:45 +08:00
selinux-policy selinux-policy: update to version 1.0 2021-11-06 00:37:38 +08:00
ubox ubox: fix init script validation of log_ip option 2021-05-28 22:44:11 +08:00
ubus treewide: unmark selected packages nonshared 2021-07-03 17:22:14 +08:00
ucert ubox/ubus/uci: bump version 2020-07-05 21:21:00 +08:00
uci treewide: unmark selected packages nonshared 2021-07-03 17:22:14 +08:00
urandom-seed urandom-seed: fixes build on kernel 4.x 2022-04-08 11:19:48 +08:00
urngd urngd: fix busy loop in case of ioctl cause high cpu usage 2021-06-21 20:35:29 +08:00
usign usign: update to latest git HEAD 2020-05-24 20:43:42 +08:00
zram-swap zram-swap: clean up the log messages 2021-06-28 23:11:03 +08:00