bpf-headers: fix compilation with LLVM_IAS=1
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 28 May 2023 11:13:47 +0000 (14:13 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 10 Jun 2023 13:52:19 +0000 (15:52 +0200)
commit4a9eb94b5f1a1aeb2907952168605bcc9da1b4d3
tree3d3c03bc6d5998aef2719b953f65b6e65574f5af
parentafb442270211c00282cecf323d568aa88391a32c
bpf-headers: fix compilation with LLVM_IAS=1

Linux 5.10.178 includes backported commits that break the compilation
of bpf-headers, as the compilation gets confused which assembler to use.
Caused by Linux upstream commits just before the .178 tag:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/?h=v5.10.178

2023-04-20 kbuild: check CONFIG_AS_IS_LLVM instead of LLVM_IAS
2023-04-20 kbuild: Switch to 'f' variants of integrated assembler flag
2023-04-20 kbuild: check the minimum assembler version in Kconfig

Explicitly use LLVM_IAS=1 to fix things.

Fixes #12748

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
package/kernel/bpf-headers/Makefile