diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2005-02-04 21:57:39 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:24:19 -0700 |
commit | 61599bdd06b059e7a5792b0417828d0a87541038 (patch) | |
tree | 86aa804d4a1dc9aebf6fccfe7e2841829e97421e /test/simple-build-check.sh | |
parent | fbda4a34d846946bf8ed63deadfd6e65b2299792 (diff) |
[PATCH] simple_build_check: make it possible to pass KERNEL_DIR
Diffstat (limited to 'test/simple-build-check.sh')
-rw-r--r-- | test/simple-build-check.sh | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/test/simple-build-check.sh b/test/simple-build-check.sh index 8919fcfcf0..fa80db4c82 100644 --- a/test/simple-build-check.sh +++ b/test/simple-build-check.sh @@ -1,26 +1,29 @@ #/bin/sh -EXTRA="extras/chassis_id extras/scsi_id extras/volume_id" +EXTRAS="extras/chassis_id extras/scsi_id extras/volume_id" -make spotless EXTRAS="$EXTRA" >/dev/null -make all EXTRAS="$EXTRA" || exit +[ -z "$KERNEL_DIR" ] && KERNEL_DIR=/lib/modules/`uname -r`/build +echo KERNEL_DIR: "$KERNEL_DIR" + +make spotless EXTRAS="$EXTRAS" >/dev/null +make all EXTRAS="$EXTRAS" || exit echo -e "\n\n" -make spotless EXTRAS="$EXTRA" >/dev/null -make all DEBUG=true EXTRAS="$EXTRA" || exit +make spotless EXTRAS="$EXTRAS" >/dev/null +make all DEBUG=true EXTRAS="$EXTRAS" || exit echo -e "\n\n" -make spotless EXTRAS="$EXTRA" >/dev/null -make all USE_LOG=false EXTRAS="$EXTRA" || exit +make spotless EXTRAS="$EXTRAS" >/dev/null +make all USE_LOG=false EXTRAS="$EXTRAS" || exit echo -e "\n\n" -make spotless EXTRAS="$EXTRA" >/dev/null -make all USE_KLIBC=true DEBUG=true EXTRAS="$EXTRA" || exit +make spotless EXTRAS="$EXTRAS" >/dev/null +make all USE_KLIBC=true DEBUG=true EXTRAS="$EXTRAS" KERNEL_DIR="$KERNEL_DIR" || exit echo -e "\n\n" -make spotless EXTRAS="$EXTRA" >/dev/null -make all USE_KLIBC=true USE_LOG=false EXTRAS="$EXTRA" || exit +make spotless EXTRAS="$EXTRAS" >/dev/null +make all USE_KLIBC=true USE_LOG=false EXTRAS="$EXTRAS" KERNEL_DIR="$KERNEL_DIR" || exit echo -e "\n\n" -make spotless EXTRAS="$EXTRA" >/dev/null +make spotless EXTRAS="$EXTRAS" >/dev/null |