Userspace not building
Malcolm Parsons
malcolm.parsons at gmail.com
Mon Sep 19 15:12:28 CEST 2011
On 18 September 2011 13:00, Malcolm Parsons <malcolm.parsons at gmail.com> wrote:
> I wonder what happened to the rest of it.
Seems to be because bash is being called as /bin/sh which puts it in posix mode.
In posix mode ". filename" only searches $PATH for filename, it
doesn't check $PWD.
Patch:
Index: config/scripts/Configure
===================================================================
--- config/scripts/Configure (revision 2447)
+++ config/scripts/Configure (working copy)
@@ -552,7 +552,7 @@
DEFAULTS=arch/$ARCH/defconfig
if [ -f .config ]; then
- DEFAULTS=.config
+ DEFAULTS=./.config
fi
if [ -f $DEFAULTS ]; then
@@ -561,7 +561,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 "#"
Index: config/Makefile
===================================================================
--- config/Makefile (revision 2447)
+++ config/Makefile (working copy)
@@ -38,7 +38,7 @@
@$(CONFIG_SHELL) -n config.in
@HELP_FILE=Configure.help \
AUTOCONF_FILE=autoconf.h \
- $(CONFIG_SHELL) $(SCRIPTSDIR)/Configure -d config.in
+ $(CONFIG_SHELL) $(SCRIPTSDIR)/Configure -d ./config.in
config:
@$(CONFIG_SHELL) -n config.in
--
Malcolm Parsons
More information about the dslinux-devel
mailing list