aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-mtx-2-2.4.27/49-bash4-configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/linux-mtx-2-2.4.27/49-bash4-configure.patch')
-rw-r--r--recipes/linux/linux-mtx-2-2.4.27/49-bash4-configure.patch21
1 files changed, 15 insertions, 6 deletions
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
index 222567d12e..473c2ccb1d 100644
--- 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
@@ -1,11 +1,20 @@
--- 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 @@
+@@ -536,7 +536,7 @@
+
+ DEFAULTS=arch/$ARCH/defconfig
+ if [ -f .config ]; then
+- DEFAULTS=.config
++ DEFAULTS=./.config
+ fi
+
+ if [ -f $DEFAULTS ]; then
+@@ -545,7 +545,7 @@
echo "#"
- echo "# Using defaults found in" $DEFAULTS
- echo "#"
-- . $DEFAULTS
-+ . ./$DEFAULTS
+ . $DEFAULTS
sed -e 's/# \(CONFIG_[^ ]*\) is not.*/\1=n/' <$DEFAULTS >.config-is-not.$$
- . .config-is-not.$$
+- . .config-is-not.$$
++ . ./.config-is-not.$$
rm .config-is-not.$$
+ else
+ echo "#"