Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handhelds-sa: fix make oldconfig to work with bash 4.
- Loading branch information
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
...familiar/packages/linux/handhelds-sa-2.4.19-rmk6-pxa1-hh37.4/configure-script-bash4.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Index: kernel/scripts/Configure | ||
=================================================================== | ||
--- kernel.orig/scripts/Configure 2012-08-30 00:32:30.991075654 -0500 | ||
+++ kernel/scripts/Configure 2012-08-30 00:33:11.014899304 -0500 | ||
@@ -544,9 +544,9 @@ | ||
CONFIG_IN=$1 | ||
fi | ||
|
||
-DEFAULTS=arch/$ARCH/defconfig | ||
+DEFAULTS=./arch/$ARCH/defconfig | ||
if [ -f .config ]; then | ||
- DEFAULTS=.config | ||
+ DEFAULTS=./.config | ||
fi | ||
|
||
if [ -f $DEFAULTS ]; then | ||
@@ -555,7 +555,7 @@ | ||
echo "#" | ||
. $DEFAULTS | ||
sed -e 's/# \(CONFIG_[^ ]*\) is not.*/\1=n/' <$DEFAULTS >.config-is-not.$$ | ||
- . .config-is-not.$$ | ||
+ . ./.config-is-not.$$ | ||
rm .config-is-not.$$ | ||
else | ||
echo "#" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters