You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
freifunkist-firmware/package/fuse/patches/100-cross_compile.patch

16 lines
1.1 KiB

Index: fuse-2.6.5/kernel/configure
===================================================================
--- fuse-2.6.5.orig/kernel/configure 2007-06-23 13:03:50.000000000 +0200
+++ fuse-2.6.5/kernel/configure 2007-06-23 13:03:50.000000000 +0200
@@ -1851,7 +1851,9 @@
{ echo "$as_me:$LINENO: checking kernel source version" >&5
echo $ECHO_N "checking kernel source version... $ECHO_C" >&6; }
- if test -r $kernelbuild/include/linux/version.h && fgrep -q UTS_RELEASE $kernelbuild/include/linux/version.h; then
+ if [ -n "$kernsrcver" ]; then
+ echo "$kernsrcver (cached)"
+ elif test -r $kernelbuild/include/linux/version.h && fgrep -q UTS_RELEASE $kernelbuild/include/linux/version.h; then
kernsrcver=`(echo "#include <linux/version.h>"; echo "kernsrcver=UTS_RELEASE") | cpp -I $kernelbuild/include | grep "^kernsrcver=" | cut -d \" -f 2`
elif test -r $kernelbuild/include/linux/utsrelease.h && fgrep -q UTS_RELEASE $kernelbuild/include/linux/utsrelease.h; then
kernsrcver=`(echo "#include <linux/utsrelease.h>"; echo "kernsrcver=UTS_RELEASE") | cpp -I $kernelbuild/include | grep "^kernsrcver=" | cut -d \" -f 2`