Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* fix a tyop
[fs/lustre-release.git]
/
build
/
lbuild
diff --git
a/build/lbuild
b/build/lbuild
index
2fb22b2
..
68930e6
100755
(executable)
--- a/
build/lbuild
+++ b/
build/lbuild
@@
-717,11
+717,17
@@
if [ -z "$LINUX" ] ; then
LINUX=$(pwd)/linux
pushd $LINUX && {
# need a .config -- like a user would do
LINUX=$(pwd)/linux
pushd $LINUX && {
# need a .config -- like a user would do
- cp /boot/config-${lnxmaj}-${lnxrel}smp .config
+ BOOTCONFIG="/boot/config-${lnxmaj}-${lnxrel}smp"
+ if [ -f $BOOTCONFIG ]; then
+ cp $BOOTCONFIG .config
+ else
+ fatal 1 "$BOOTCONFIG doesn't exist! Help!"
+ fi
make oldconfig
make include/asm
make include/linux/version.h
make SUBDIRS=scripts
make oldconfig
make include/asm
make include/linux/version.h
make SUBDIRS=scripts
+ }
popd
build_lustre
fi
popd
build_lustre
fi