mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-29 09:32:24 +00:00
e1e1514a84
The 'box' target is not that different from the default one regarding dependencies so build it as well by default for better coverage. Signed-off-by: David Sterba <dsterba@suse.com>
19 lines
397 B
Bash
Executable File
19 lines
397 B
Bash
Executable File
#!/bin/sh
|
|
# usage: $0 [optional arguments to configure]
|
|
|
|
if ! [ -f "./autogen.sh" ]; then
|
|
echo "ERROR: cannot find autogen.sh, run from the top level directory"
|
|
exit 1
|
|
fi
|
|
|
|
set -e
|
|
|
|
jobs=`grep -c ^processor /proc/cpuinfo`
|
|
|
|
./autogen.sh
|
|
./configure "$@"
|
|
echo "D=$D"
|
|
make -j $jobs
|
|
make -j $jobs btrfs.box
|
|
make hash-speedtest hash-vectest ioctl-test json-formatter-test string-table-test
|