[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/linux-header/linux-header.desc [COPY] Copyright (C) 2004 - 2025 The T2 SDE Project [COPY] Copyright (C) 1998 - 2003 ROCK Linux Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] "Sanitized" Linux kernel headers [T] This package includes the linux kernel headers (include files) [T] needed to compile applications. [T] The files resist in /usr/include/{asm,asm-generic,linux}. [U] https://www.kernel.org/ [A] Linus Torvalds [M] Rene Rebe [C] base/system [F] CROSS DIETLIBC [K] + linux [R] - avr [E] opt rustc rust-bindgen rsync [L] GPL [S] Stable [V] 6.6 # in theory we only need the initial headers (stage 0) however some arches # generate some and need a compiler to do so (SPARC) so we do rebuild them # in stage 1 ... [P] X 01-------9 025.300 [CV-FLAGS] NO-AUTO [D] ad66943573ec86a5098b6208ae2129376c98ae77eab5b230e9a2e9d8 linux-6.6.tar.xz http://cdn.kernel.org/pub/linux/kernel/v6.x/ . $base/package/*/*/linux-conf.in autopatch=0 createdocs=0 if atstage toolchain; then root="$sysroot" fi main_lx_header() { lx_patch lx_config # garuanteed newer than system to really install them find include -type f | xargs touch makeopt= } hook_add premake 5 main_lx_header # fake good toolchain, e.g. for ia64 atstage toolchain && var_append makeopt ' ' GAS_STATUS=good # remove stupid install Makfile trickery, sigh! hook_add postmake 5 "rm -vf $root$includedir/*/.*install*" var_append flistde''l '|' 'usr/include/.*\.install.*' var_remove makeinstopt ' ' install # the empty variables prevent removal of existing headers! var_append makeinstopt ' ' 'oldheaders= INSTALL_HDR_PATH=$root/$prefix headers_install'