Link qi-bootmenu statically by default
[qi-bootmenu-system.git] / sources / sections / kexec-tools.sh
blob13811fc740a0bb7c561c01c085fc571999f871e6
1 setupfor kexec-tools
3 [ ! -e ./configure ] && ./bootstrap
5 [ ! -z "$STATIC" ] && KEXEC_LDFLAGS="-static"
7 LDFLAGS="$LDFLAGS $KEXEC_LDFLAGS " CFLAGS="$CFLAGS" ./configure $CROSS_CONFIGURE_FLAGS \
8 --prefix=/usr \
9 --exec-prefix=/usr \
10 --without-zlib &&
11 make &&
13 cp build/sbin/kexec "$ROOT_DIR/sbin" || dienow
15 cleanup kexec-tools