summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorMartin Dietze <herbert@spamcop.net>2009-11-29 21:04:08 +0100
committerMartin Dietze <herbert@spamcop.net>2009-11-29 21:04:08 +0100
commit4285ad5e1bb0bbc9508a8536aad66b439e9c03f8 (patch)
tree4ffbcd6581b8822a1299e494f125c1ef793c8276 /recipes
parent29fb31b1a559d1845efe7f1f46baa8ff6032f824 (diff)
linux-mtx-[12]-2.4.27: support bash4 for oldconfig
* when using bash4 as /bin/sh the scripts/Configure script failed when running `make oldconfig', added patch to change `. .config' to `. ./.config'
Diffstat (limited to 'recipes')
-rw-r--r--recipes/linux/linux-mtx-1-2.4.27/49-bash4-configure.patch11
-rw-r--r--recipes/linux/linux-mtx-1_2.4.27.bb1
-rw-r--r--recipes/linux/linux-mtx-2-2.4.27/49-bash4-configure.patch11
-rw-r--r--recipes/linux/linux-mtx-2_2.4.27.bb1
4 files changed, 24 insertions, 0 deletions
diff --git a/recipes/linux/linux-mtx-1-2.4.27/49-bash4-configure.patch b/recipes/linux/linux-mtx-1-2.4.27/49-bash4-configure.patch
new file mode 100644
index 0000000000..222567d12e
--- /dev/null
+++ b/recipes/linux/linux-mtx-1-2.4.27/49-bash4-configure.patch
@@ -0,0 +1,11 @@
+--- linux/scripts/Configure-orig 2009-11-29 19:12:02.000000000 +0100
++++ linux/scripts/Configure 2009-11-29 19:12:27.000000000 +0100
+@@ -543,7 +543,7 @@
+ echo "#"
+ echo "# Using defaults found in" $DEFAULTS
+ echo "#"
+- . $DEFAULTS
++ . ./$DEFAULTS
+ sed -e 's/# \(CONFIG_[^ ]*\) is not.*/\1=n/' <$DEFAULTS >.config-is-not.$$
+ . .config-is-not.$$
+ rm .config-is-not.$$
diff --git a/recipes/linux/linux-mtx-1_2.4.27.bb b/recipes/linux/linux-mtx-1_2.4.27.bb
index 6dd7121bae..952edb0140 100644
--- a/recipes/linux/linux-mtx-1_2.4.27.bb
+++ b/recipes/linux/linux-mtx-1_2.4.27.bb
@@ -41,6 +41,7 @@ SRC_URI = "cvs://cvs:cvs@ftp.linux-mips.org/home/cvs;module=linux;tag=linux_2_4_
file://43-usbserial-27-32-backport.diff;patch=1 \
file://45-acm-tty-and-sb2.patch;patch=1 \
file://48-pptp.patch;patch=1 \
+ file://49-bash4-configure.patch;patch=1 \
file://defconfig-mtx-1"
S = "${WORKDIR}/linux"
diff --git a/recipes/linux/linux-mtx-2-2.4.27/49-bash4-configure.patch b/recipes/linux/linux-mtx-2-2.4.27/49-bash4-configure.patch
new file mode 100644
index 0000000000..222567d12e
--- /dev/null
+++ b/recipes/linux/linux-mtx-2-2.4.27/49-bash4-configure.patch
@@ -0,0 +1,11 @@
+--- linux/scripts/Configure-orig 2009-11-29 19:12:02.000000000 +0100
++++ linux/scripts/Configure 2009-11-29 19:12:27.000000000 +0100
+@@ -543,7 +543,7 @@
+ echo "#"
+ echo "# Using defaults found in" $DEFAULTS
+ echo "#"
+- . $DEFAULTS
++ . ./$DEFAULTS
+ sed -e 's/# \(CONFIG_[^ ]*\) is not.*/\1=n/' <$DEFAULTS >.config-is-not.$$
+ . .config-is-not.$$
+ rm .config-is-not.$$
diff --git a/recipes/linux/linux-mtx-2_2.4.27.bb b/recipes/linux/linux-mtx-2_2.4.27.bb
index 5b26903ec0..3379d548a1 100644
--- a/recipes/linux/linux-mtx-2_2.4.27.bb
+++ b/recipes/linux/linux-mtx-2_2.4.27.bb
@@ -43,6 +43,7 @@ SRC_URI += "cvs://cvs:cvs@ftp.linux-mips.org/home/cvs;module=linux;tag=linux_2_4
file://46-otg.patch;patch=1 \
file://47-au1000_eth.patch;patch=1 \
file://48-pptp.patch;patch=1 \
+ file://49-bash4-configure.patch;patch=1 \
file://defconfig-mtx-2"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/linux-mtx-2-${PV}"