buildscripts/kexec-tools.sh
2023-12-03 23:10:57 +01:00

18 lines
No EOL
331 B
Bash
Executable file

#!/bin/bash
git clone https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git
set -e
cd kexec-tools
export CFLAGS="-I$PREFIX/include -O3"
export CPPFLAGS="-I$PREFIX/include -O3"
export LDFLAGS="-L$PREFIX/lib"
./bootstrap
./configure --help;
./configure --prefix="$PREFIX" --host="$xHOST"
make clean
make
make install