1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-11-01 00:51:08 +03:00
systemd-stable/test/simple-build-check.sh
Kay Sievers 7618e112b4 add usb_id program to generate usb-storage device identifiers
Signed-off-by: Hannes Reinecke <hare@suse.de>
2005-07-04 17:02:25 +02:00

36 lines
967 B
Bash
Executable File

#/bin/sh
EXTRAS="\
extras/chassis_id \
extras/scsi_id \
extras/ata_id \
extras/volume_id \
extras/usb_id \
extras/run_directory"
[ -z "$KERNEL_DIR" ] && KERNEL_DIR=/lib/modules/`uname -r`/build
echo KERNEL_DIR: "$KERNEL_DIR"
make spotless EXTRAS="$EXTRAS" >/dev/null
make all $MAKEOPTS EXTRAS="$EXTRAS" || exit
echo -e "\n\n"
make spotless EXTRAS="$EXTRAS" >/dev/null
make all -j4 $MAKEOPTS DEBUG=true EXTRAS="$EXTRAS" || exit
echo -e "\n\n"
make spotless EXTRAS="$EXTRAS" >/dev/null
make all $MAKEOPTS USE_LOG=false EXTRAS="$EXTRAS" || exit
echo -e "\n\n"
make spotless EXTRAS="$EXTRAS" >/dev/null
make all -j4 $MAKEOPTS USE_KLIBC=true DEBUG=true EXTRAS="$EXTRAS" KERNEL_DIR="$KERNEL_DIR" || exit
echo -e "\n\n"
make spotless EXTRAS="$EXTRAS" >/dev/null
make all $MAKEOPTS USE_KLIBC=true USE_LOG=false EXTRAS="$EXTRAS" KERNEL_DIR="$KERNEL_DIR" || exit
echo -e "\n\n"
make spotless EXTRAS="$EXTRAS" >/dev/null
echo "build test completed successfully"