1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/elilo/elilo.conf
3 # Copyright (C) 2007 - 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 var_remove_regex makeopt ' ' 'prefix=.*'
13 var_append makeopt ' ' 'EFICRT0=$root/usr/lib EFILIB=$root/usr/lib INSTALLROOT=$root/$prefix'
15 # do not derive arch from uname
17 ia64) var_append makeopt ' ' ARCH=ia64 ;;
18 x86) var_append makeopt ' ' ARCH=ia32 ;;
19 x86-64) var_append makeopt ' ' ARCH=x86_64 ;;
20 *) abort "unsupport arch: $arch" ;;
25 mkdir -p $root/$prefix/lib # /lib hardcoded intentionally
26 install elilo.efi $root/$prefix/lib/
27 install tools/eliloalt $root$sbindir/
28 # TODO: Debian a-like elilo script?
31 hook_add postmake 5 elilo_install