stop build when an error occurs and when BUILDLOG is set (#5160)
[openwrt.git] / package / fuse / patches / 100-cross_compile.patch
1 diff -Nru fuse-2.7.3.orig/kernel/configure fuse-2.7.3/kernel/configure
2 --- fuse-2.7.3.orig/kernel/configure 2008-02-19 15:00:19.000000000 -0500
3 +++ fuse-2.7.3/kernel/configure 2008-03-17 14:10:14.000000000 -0400
4 @@ -1851,7 +1851,9 @@
5
6 { echo "$as_me:$LINENO: checking kernel source version" >&5
7 echo $ECHO_N "checking kernel source version... $ECHO_C" >&6; }
8 - if test -r $kernelbuild/include/linux/version.h && fgrep -q UTS_RELEASE $kernelbuild/include/linux/version.h; then
9 + if [ -n "$kernsrcver" ]; then
10 + echo "$kernsrcver (cached)"
11 + elif test -r $kernelbuild/include/linux/version.h && fgrep -q UTS_RELEASE $kernelbuild/include/linux/version.h; then
12 kernsrcver=`(echo "#include <linux/version.h>"; echo "kernsrcver=UTS_RELEASE") | cpp -I $kernelbuild/include | grep "^kernsrcver=" | cut -d \" -f 2`
13 elif test -r $kernelbuild/include/linux/utsrelease.h && fgrep -q UTS_RELEASE $kernelbuild/include/linux/utsrelease.h; then
14 kernsrcver=`(echo "#include <linux/utsrelease.h>"; echo "kernsrcver=UTS_RELEASE") | cpp -I $kernelbuild/include | grep "^kernsrcver=" | cut -d \" -f 2`
This page took 0.05171 seconds and 5 git commands to generate.