immortalwrt/package
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
..
base-files base-files: sysupgrade: fixes not found error 2022-04-02 00:38:40 +08:00
boot grub2: add missing license 2022-04-05 23:59:58 +08:00
devel gdb: The signal definitions of musl and gdb collide 2022-04-04 22:09:04 +08:00
emortal autocore: backport changes from master 2022-04-09 00:14:42 +08:00
firmware cypress-firmware: drop several packages 2022-03-27 21:37:49 +08:00
kernel r8152: fix build under kernel 4.14 2022-04-08 00:42:04 +08:00
libs toolchain: reproducible libstdcpp 2022-04-04 17:20:07 +08:00
network firewall: refresh patches 2022-04-06 23:51:19 +08:00
system iucode-tool: fix host-compile on macos and non-x86 linux 2022-04-11 22:44:14 +08:00
utils busybox: Fix snprintf arguments in lock 2022-04-04 17:18:55 +08:00
Makefile build: fix opkg install step for large package selection 2021-05-12 23:27:23 +08:00