# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/embutils/embutils.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 --- if pkginstalled coreutils && [ $prefix_auto = 1 ]; then bindir=/$prefix/embutils fi # non-dietlibc, e.g. glibc/musl system libc? [ "$SDECFG_DIETLIBC_embutils" = 1 ] || var_append patchfiles ' ' "$confdir/not-dietlibc.diff" hook_add premake 5 "mkdir -p bin" hook_add inmake 5 'mkdir -p $root$bindir' # we control some stuff ourselves var_append makeopt ' ' 'DIET= OBJDIR=bin' var_append makeinstopt ' ' 'DIET= OBJDIR=bin' var_append INSTALL_WRAPPER_FILTER "|" "sed -e 's,$prefix/bin/,$bindir/,'"