blob: 2c18ef8d8087161784d0449ed43235094e978347 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
set -e
SRC=$(pwd);
nproc=$(getconf _NPROCESSORS_ONLN)
./autogen.sh;
P=/build;
rm -rf $P/scratch;
mkdir -p $P/scratch;
cd $P/scratch;
rm -rf $P/install;
$SRC/configure --prefix=$P/install --with-mountutildir=$P/install/sbin \
--with-initdir=$P/install/etc --localstatedir=/var \
--enable-bd-xlator=yes --enable-debug --enable-gnfs --silent
make CFLAGS="-Wall -Werror -Wno-cpp" -j ${nproc};
|