# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/elilo/elilo.conf # Copyright (C) 2007 - 2022 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 --- var_remove_regex makeopt ' ' 'prefix=.*' var_append makeopt ' ' 'EFICRT0=$root/usr/lib EFILIB=$root/usr/lib INSTALLROOT=$root/$prefix' # do not derive arch from uname case $arch in ia64) var_append makeopt ' ' ARCH=ia64 ;; x86) var_append makeopt ' ' ARCH=ia32 ;; x86-64) var_append makeopt ' ' ARCH=x86_64 ;; *) abort "unsupport arch: $arch" ;; esac elilo_install() { mkdir -p $root/$prefix/lib # /lib hardcoded intentionally install elilo.efi $root/$prefix/lib/ install tools/eliloalt $root$sbindir/ # TODO: Debian a-like elilo script? } makeinstopt= hook_add postmake 5 elilo_install