openwrt/toolchain
Jonas Gorski c22931b653 kernel-headers: install isa-rev.h on mips to fix lzma-lader on linux 6.1
Since kernel 5.17+ the mips asm.h includes isa-rev.h, which itself was
added 4.17. Without it, lzma-loader will fail to build:

     make[3] -C target/linux compile
    make[5]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
    In file included from head.S:22:
    .../staging_dir/toolchain-mips_mips32_gcc-12.3.0_musl/include/asm/asm.h:22:10: fatal error: asm/isa-rev.h: No such file or directory
       22 | #include <asm/isa-rev.h>
          |          ^~~~~~~~~~~~~~~
    compilation terminated.
    make[6]: *** [Makefile:64: head.o] Error 1
    make[5]: *** [Makefile:345: compile] Error 2
    make[4]: *** [Makefile:24: compile] Error 2
    make[3]: *** [Makefile:11: compile] Error 2
        ERROR: target/linux failed to build.

So add the file to the files to install. We can do that unconditionally,
since the oldest supported kernel 5.15 already includes it, even it if
does not need it.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2023-07-06 21:03:11 +02:00
..
binutils toolchain/binutils: enable zstd support 2023-03-17 02:08:25 +01:00
fortify-headers fortify-headers: fix build error when _REDIR_TIME64 is not defined 2023-05-13 14:09:53 +02:00
gcc toolchain: gcc: backport inline subword atomic support for riscv 2023-06-11 17:09:06 +02:00
gdb toolchain/gdb: use STAGING_DIR_HOST instead of hardcoding default 2023-01-09 21:33:19 +01:00
glibc toolchain: glibc: Fix build with autoconf 2.71 2023-05-18 18:55:27 +02:00
kernel-headers kernel-headers: install isa-rev.h on mips to fix lzma-lader on linux 6.1 2023-07-06 21:03:11 +02:00
mold toolchain: add mold as additional linker 2023-07-04 20:25:41 +02:00
musl toolchain/musl: update to 1.2.4 2023-05-15 20:39:17 +02:00
nasm toolchain/nasm: update to 2.16.01 2023-01-04 23:40:28 +01:00
wrapper
build_version toolchain: add a version that can be bumped to force toolchain/target rebuild 2021-11-16 22:02:45 +01:00
Config.in treewide: strip useless default n Kconfig lines 2023-02-03 12:50:15 +01:00
info.mk
Makefile toolchain: add mold as additional linker 2023-07-04 20:25:41 +02:00