# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/efivar/efivar.conf # Copyright (C) 2022 - 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 --- if atstage cross; then hook_add premake 3 'eval $MAKE $makeopt TOPDIR=$PWD CC_FOR_BUILD=$CC CCLD_FOR_BUILD=cc -C src makeguids' hook_add premake 5 "rm -vf src/*.o; sed /^MAKEGUIDS_SOURCES/d -i src/Makefile" fi var_append GCC_WRAPPER_APPEND ' ' '-Wno-error=address-of-packed-member' var_append SYSCC_WRAPPER_APPEND ' ' '-Wno-error=address-of-packed-member' var_append makeinstopt ' ' 'LIBDIR=$libdir'