# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/arcload/arcload.conf # Copyright (C) 2004 - 2024 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 --- makeinstopt= hook_add premake 5 "eval $MAKE CC=cc -C ecoff" # native, e.g. cross ecoff helper var_remove GCC_WRAPPER_REMOVE ' ' '-march*' var_remove_regex GCC_WRAPPER_INSERT ' ' '-march=.*' var_remove_regex GCC_WRAPPER_INSERT ' ' '-mabi.*' var_append GCC_WRAPPER_INSERT ' ' '-O1' var_append makeopt ' ' 'MODE=M32' hook_add inmake 5 "mkdir -p $root/boot; cp -vf arcload.ecoff $root/boot/" hook_add inmake 6 "cp -vf arcload $root/boot/arcload.elf32" build_arcload64() { var_remove makeopt ' ' 'MODE=M32' eval $MAKE clean eval $MAKE $makeopt cp -vf arcload $root/boot/ } [ "$arch" = mips64 ] && hook_add postmake 5 build_arcload64