# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/linux-header/linux-header.conf # Copyright (C) 2004 - 2023 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- . $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'