Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
effd590
)
Of course, we need to work outside of $DO_SRC == 1.
author
brian
<brian>
Tue, 4 Apr 2006 22:33:32 +0000
(22:33 +0000)
committer
brian
<brian>
Tue, 4 Apr 2006 22:33:32 +0000
(22:33 +0000)
build/lbuild
patch
|
blob
|
history
diff --git
a/build/lbuild
b/build/lbuild
index
3ac9cdf
..
48dfd97
100755
(executable)
--- a/
build/lbuild
+++ b/
build/lbuild
@@
-697,9
+697,9
@@
unpack_lustre
if [ -z "$LINUX" ] ; then
load_target
if [ -z "$LINUX" ] ; then
load_target
- if
(( $DO_SRC ))
; then
- unpack_linux
- if [ "$SERIES" ] ; then
+ if
[ "$SERIES" ]
; then
+ if (( $DO_SRC )) ; then
+ unpack_linux
patch_linux
pack_linux
clean_linux
patch_linux
pack_linux
clean_linux
@@
-708,11
+708,13
@@
if [ -z "$LINUX" ] ; then
clean_lustre
build_kernel
clean_lustre
build_kernel
- else
- # can't build a kernel if we have no series for it (i.e. patchless)
- LINUX=$(pwd)/linux
- build_lustre
fi
fi
+ else
+ # can't build a kernel if we have no series for it (i.e. patchless)
+ # but we still need the headers
+ unpack_linux
+ LINUX=$(pwd)/linux
+ build_lustre
fi
else
build_lustre
fi
else
build_lustre