# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../util-linux/util-linux.conf # Copyright (C) 2004 - 2009 The T2 SDE Project # # 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 as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- T2-COPYRIGHT-NOTE-END --- if [ $prefix_auto = 1 ] ; then prefix= set_confopt var_append makeopt ' ' "usrbin_execdir=/usr/bin usrsbin_execdir=/usr/sbin usrlib_execdir=/usr/${libdir##*/}" var_append makeinstopt ' ' "usrbin_execdir=/usr/bin usrsbin_execdir=/usr/sbin usrlib_execdir=/usr/${libdir##*/}" fi # partx is nice to have (we ship it since a long time) and kill is usually # supplied by other packages (procps, busybox, embutils, etc.) var_append extraconfopt ' ' '--enable-partx --disable-kill' # cross build tweak, I started patching it but stopped at the 20th file if atstage cross || [ $SDECFG_LIBC = 'uclibc' ]; then var_append GCC_WRAPPER_APPEND ' ' '--include locale.h' fi # cross build tweak #2 atstage cross && hook_add premake 5 'AL_OPTS="-I $root/usr/share/aclocal" ./autogen.sh' pkginstalled ncurses || var_append extraconfopt ' ' '--without-ncurses' hook_add postmake 5 '$CC $confdir/freeramdisk.c -o $root/sbin/freeramdisk'