chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
fbda4a3
)
[PATCH] simple_build_check: make it possible to pass KERNEL_DIR
author
kay.sievers@vrfy.org
<kay.sievers@vrfy.org>
Fri, 4 Feb 2005 20:57:39 +0000
(21:57 +0100)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 06:24:19 +0000
(23:24 -0700)
test/simple-build-check.sh
patch
|
blob
|
history
diff --git
a/test/simple-build-check.sh
b/test/simple-build-check.sh
index 8919fcfcf01ce2b8aabced32ee1b7ed7b111872d..fa80db4c82c8a6796a7b57223aec09a0a130f39b 100644
(file)
--- a/
test/simple-build-check.sh
+++ b/
test/simple-build-check.sh
@@
-1,26
+1,29
@@
#/bin/sh
#/bin/sh
-EXTRA="extras/chassis_id extras/scsi_id extras/volume_id"
+EXTRA
S
="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"
echo -e "\n\n"
-make spotless EXTRAS="$EXTRA" >/dev/null
-make all DEBUG=true EXTRAS="$EXTRA" || exit
+make spotless EXTRAS="$EXTRA
S
" >/dev/null
+make all DEBUG=true EXTRAS="$EXTRA
S
" || exit
echo -e "\n\n"
echo -e "\n\n"
-make spotless EXTRAS="$EXTRA" >/dev/null
-make all USE_LOG=false EXTRAS="$EXTRA" || exit
+make spotless EXTRAS="$EXTRA
S
" >/dev/null
+make all USE_LOG=false EXTRAS="$EXTRA
S
" || exit
echo -e "\n\n"
echo -e "\n\n"
-make spotless EXTRAS="$EXTRA" >/dev/null
-make all USE_KLIBC=true DEBUG=true EXTRAS="$EXTRA" || exit
+make spotless EXTRAS="$EXTRA
S
" >/dev/null
+make all USE_KLIBC=true DEBUG=true EXTRAS="$EXTRA
S" KERNEL_DIR="$KERNEL_DIR
" || exit
echo -e "\n\n"
echo -e "\n\n"
-make spotless EXTRAS="$EXTRA" >/dev/null
-make all USE_KLIBC=true USE_LOG=false EXTRAS="$EXTRA" || exit
+make spotless EXTRAS="$EXTRA
S
" >/dev/null
+make all USE_KLIBC=true USE_LOG=false EXTRAS="$EXTRA
S" KERNEL_DIR="$KERNEL_DIR
" || exit
echo -e "\n\n"
echo -e "\n\n"
-make spotless EXTRAS="$EXTRA" >/dev/null
+make spotless EXTRAS="$EXTRA
S
" >/dev/null