* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2006-11-28 10:06 aldot at uclibc.org
2006-11-28 12:23 ` [Buildroot] Problems at shutdown Peter Mendham
0 siblings, 1 reply; 3+ messages in thread
From: aldot at uclibc.org @ 2006-11-28 10:06 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2006-11-28 02:06:48 -0800 (Tue, 28 Nov 2006)
New Revision: 16703
Log:
- fix parsing the gcc version. Also look at the HOSTCC's version rather than a random gcc that may be installed.
Closes #961 and #1097
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.mk
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.mk
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.mk 2006-11-28 10:01:46 UTC (rev 16702)
+++ trunk/buildroot/toolchain/dependencies/dependencies.mk 2006-11-28 10:06:48 UTC (rev 16703)
@@ -6,7 +6,7 @@
######################################################################
dependencies: host-sed
- @$(TOPDIR)/toolchain/dependencies/dependencies.sh
+ @HOSTCC="$(firstword $(HOSTCC))" $(TOPDIR)/toolchain/dependencies/dependencies.sh
dependencies-source:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2006-11-28 10:01:46 UTC (rev 16702)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2006-11-28 10:06:48 UTC (rev 16703)
@@ -61,7 +61,7 @@
# check build system 'gcc'
#
#############################################################
-COMPILER=$(which gcc)
+COMPILER=$(which $HOSTCC)
if [ -z "$COMPILER" ] ; then
COMPILER=$(which cc)
if [ -z "$COMPILER" ] ; then
@@ -70,7 +70,7 @@
exit 1;
fi;
fi;
-COMPILER_VERSION=$($COMPILER --version 2>&1 | head -n1 | $XSED -e 's/^.* \([0-9\.]\)/\1/g' -e "s/[-\ ].*//g")
+COMPILER_VERSION=$($COMPILER --version 2>&1 | head -n1 | $XSED -e 's/^.*(.CC) \([0-9\.]\)/\1/g' -e "s/[-\ ].*//g")
if [ -z "$COMPILER_VERSION" ] ; then
echo "gcc installed: FALSE"
echo -e "\n\nYou must install 'gcc' on your build machine\n";
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Problems at shutdown
2006-11-28 10:06 [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies aldot at uclibc.org
@ 2006-11-28 12:23 ` Peter Mendham
2006-11-28 12:34 ` Bernhard Fischer
0 siblings, 1 reply; 3+ messages in thread
From: Peter Mendham @ 2006-11-28 12:23 UTC (permalink / raw)
To: buildroot
I have a fairly vanilla buildroot system with just the basics of
BusyBox. I get issues every time I boot as the filesystem has not been
unmounted before the previous shutdown. It seems like the shutdown
entries in my inittab are being completely ignored . I added a script
of my own (just some echos) as another shutdown and it too was ignored.
What am I doing wrong?
Thanks in advance,
-- Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Problems at shutdown
2006-11-28 12:23 ` [Buildroot] Problems at shutdown Peter Mendham
@ 2006-11-28 12:34 ` Bernhard Fischer
0 siblings, 0 replies; 3+ messages in thread
From: Bernhard Fischer @ 2006-11-28 12:34 UTC (permalink / raw)
To: buildroot
On Tue, Nov 28, 2006 at 12:23:56PM +0000, Peter Mendham wrote:
>I have a fairly vanilla buildroot system with just the basics of
>BusyBox. I get issues every time I boot as the filesystem has not been
>unmounted before the previous shutdown. It seems like the shutdown
>entries in my inittab are being completely ignored . I added a script
>of my own (just some echos) as another shutdown and it too was ignored.
>What am I doing wrong?
wrong list. Send your problem and of course your inittab to the busybox
list and do not forget to mention which version of busybox, which init
etc you're using.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-28 12:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-28 10:06 [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies aldot at uclibc.org
2006-11-28 12:23 ` [Buildroot] Problems at shutdown Peter Mendham
2006-11-28 12:34 ` Bernhard Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox