svn commit: trunk/buildroot/toolchain/dependencies
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
===================================================================
buildroot/toolchain/dependencies/dependencies.mk +1 -1
@@ -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
===================================================================
buildroot/toolchain/dependencies/dependencies.sh +2 -2
@@ -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";
[Buildroot] Problems at shutdown
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
[Buildroot] Problems at shutdown
Quoted 6 lines · Peter Mendham
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.