* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-02-12 10:42 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-02-12 10:42 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-02-12 02:41:59 -0800 (Mon, 12 Feb 2007)
New Revision: 17861
Log:
- cosmetics
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-02-12 10:14:12 UTC (rev 17860)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-02-12 10:41:59 UTC (rev 17861)
@@ -50,7 +50,7 @@
echo "INCLUDES clean: FALSE"
/bin/echo -e "WARNING: INCLUDES contains:\n\t'$INCLUDES'"
else
- echo "INCLUDES clean: Ok"
+ echo "INCLUDES clean: Ok"
fi
if test -n "$CXXFLAGS" ; then
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2009-01-01 21:20 jacmet at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: jacmet at uclibc.org @ 2009-01-01 21:20 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2009-01-01 21:20:46 +0000 (Thu, 01 Jan 2009)
New Revision: 24642
Log:
dependencies: simplistic SHELL = bash check
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2009-01-01 21:20:35 UTC (rev 24641)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2009-01-01 21:20:46 UTC (rev 24642)
@@ -248,6 +248,18 @@
#############################################################
#
+# check build system 'bash'
+#
+#############################################################
+if ! $SHELL --version 2>&1 | grep -q '^GNU bash'; then
+ echo "bash installed: FALSE"
+ /bin/echo -e "\n\nYou must install 'bash' on your build machine\n";
+ exit 1;
+fi;
+echo "bash installed: Ok"
+
+#############################################################
+#
# check build system 'bison'
#
#############################################################
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2008-09-04 2:30 hamish at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: hamish at uclibc.org @ 2008-09-04 2:30 UTC (permalink / raw)
To: buildroot
Author: hamish
Date: 2008-09-03 19:30:56 -0700 (Wed, 03 Sep 2008)
New Revision: 23316
Log:
Applied change from Ben Nizette and Hans-Christian Egtvedt to
correctly detect version of gcc on recent distros. Supplied
patch was against git and didn't apply cleanly to svn, so applied
by hand.
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2008-09-04 01:39:40 UTC (rev 23315)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2008-09-04 02:30:56 UTC (rev 23316)
@@ -188,7 +188,8 @@
exit 1;
fi;
-COMPILER_VERSION=$($COMPILER --version 2>&1 | $XSED -e 's/^.*(.CC) \([0-9\.]\)/\1/g' -e "s/[-\ ].*//g" -e '1q')
+COMPILER_VERSION=$($COMPILER -v 2>&1 | $XSED -n '/^gcc version/p' |
+ $XSED -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q')
if [ -z "$COMPILER_VERSION" ] ; then
echo "gcc installed: FALSE"
/bin/echo -e "\n\nYou must install 'gcc' on your build machine\n";
@@ -215,7 +216,8 @@
#exit 1
fi
if [ ! -z "$CXXCOMPILER" ] ; then
- CXXCOMPILER_VERSION=$($CXXCOMPILER --version 2>&1 | $XSED -e 's/^.*(.CC) \([0-9\.]\)/\1/g' -e "s/[-\ ].*//g" -e '1q')
+ CXXCOMPILER_VERSION=$($CXXCOMPILER -v 2>&1 | $XSED -n '/^gcc version/p' |
+ $XSED -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q')
if [ -z "$CXXCOMPILER_VERSION" ] ; then
echo "c++ installed: FALSE"
/bin/echo -e "\nYou may have to install 'g++' on your build machine\n"
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2008-06-18 13:11 jacmet at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: jacmet at uclibc.org @ 2008-06-18 13:11 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-06-18 06:11:52 -0700 (Wed, 18 Jun 2008)
New Revision: 22412
Log:
dependencies: check for awk
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2008-06-18 09:22:31 UTC (rev 22411)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2008-06-18 13:11:52 UTC (rev 22412)
@@ -234,6 +234,18 @@
#############################################################
#
+# check build system 'awk'
+#
+#############################################################
+if ! which awk > /dev/null ; then
+ echo "awk installed: FALSE"
+ /bin/echo -e "\n\nYou must install 'awk' on your build machine\n";
+ exit 1;
+fi;
+echo "awk installed: Ok"
+
+#############################################################
+#
# check build system 'bison'
#
#############################################################
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
2007-08-21 23:13 ` Bernhard Fischer
@ 2007-08-22 3:46 ` Ulf Samuelsson
0 siblings, 0 replies; 32+ messages in thread
From: Ulf Samuelsson @ 2007-08-22 3:46 UTC (permalink / raw)
To: buildroot
> >
> >Oh, Oh... Yes!
> >
> >It would be nice to have a 64-128 CPU build server making the problem
> > dead obvious :-)
>
> Since you're most likely I/O bound anyway (you most likely don't build
> in a ramdisk or something that is vaguely fast for IO) there's no point
> in letting your one to eight cores be idle. No need for a 512 CPU box to
> make that obvious.
> >
> >Whatabout:
> >
> >HOSTTOOLS:=host-sed host-lzma
> >ifeq ($(BR2_STRIP_sstrip),y)
> >HOSTTOOLS+=sstrip_host
> >endif
>
> Except that "HOSTTOOLS" is a too generic name, yes.
>
> MAYBE_HOST_PREREQ is what i would have used (since lzma should also be
> conditional). Care to do this?
>
Sure, but skip the "MAYBE_" since the variable contains
the dependencies.
If no BR2_* is set it is emtpy.
> >dependencies: $(HOSTTOOLS)
>
> TIA,
--
Best Regards,
Ulf Samuelsson
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
2007-08-21 20:58 ` Ulf Samuelsson
@ 2007-08-21 23:13 ` Bernhard Fischer
2007-08-22 3:46 ` Ulf Samuelsson
0 siblings, 1 reply; 32+ messages in thread
From: Bernhard Fischer @ 2007-08-21 23:13 UTC (permalink / raw)
To: buildroot
On Tue, Aug 21, 2007 at 10:58:40PM +0200, Ulf Samuelsson wrote:
>tis 2007-08-21 klockan 22:25 +0200 skrev Bernhard Fischer:
>> On Tue, Aug 21, 2007 at 10:12:59PM +0200, Ulf Samuelsson wrote:
>> >tis 2007-08-21 klockan 13:14 -0700 skrev aldot at uclibc.org:
>> >> Author: aldot
>> >> Date: 2007-08-21 13:14:23 -0700 (Tue, 21 Aug 2007)
>> >> New Revision: 19631
>> >>
>> >> Log:
>> >> - make sure that sstrip is available early enough
>> >>
>> >>
>> >> Modified:
>> >> trunk/buildroot/toolchain/dependencies/dependencies.mk
>> >>
>> >>
>> >> Changeset:
>> >> Modified: trunk/buildroot/toolchain/dependencies/dependencies.mk
>> >> ===================================================================
>> >> --- trunk/buildroot/toolchain/dependencies/dependencies.mk 2007-08-21 19:45:17 UTC (rev 19630)
>> >> +++ trunk/buildroot/toolchain/dependencies/dependencies.mk 2007-08-21 20:14:23 UTC (rev 19631)
>> >> @@ -5,7 +5,11 @@
>> >> #
>> >> ######################################################################
>> >>
>> >> -dependencies: host-sed host-lzma
>> >> +ifeq ($(BR2_STRIP_sstrip),y)
>> >> +# XXX: this is a little bit ugly, yep.
>> >> +MAYBE_SSTRIP_HOST:=sstrip_host
>> >> +endif
>> >> +dependencies: host-sed host-lzma $(MAYBE_SSTRIP_HOST)
>> >> @HOSTCC="$(firstword $(HOSTCC))" MAKE="$(MAKE)" \
>> >> HOST_SED_DIR="$(HOST_SED_DIR)" \
>> >> $(TOPDIR)/toolchain/dependencies/dependencies.sh
>> >>
>> >
>> >Why not add host-sed/host-lzma (conditionally) to TARGETS early enough?
>> >I tried this, and this seemed to work, but I never got to commit that.
>> >
>> >ifeq ($(BR2_STRIP_sstrip),y)
>> >TARGETS+=sstrip_host
>> >endif
>> >
>> >in toolchain/Makefile.in
>> >
>> >Should do wonders.
>>
>> I expect this not to work.
>> Try the usual testcase for this kind of stuff:
>> set BR2_JLEVEL=1
>> $ make clean
>> $ make -j 64
>> (or 128)
>> and see it go up in flames if you don't have proper deps in certain
>> sequence points..
>>
>> See?
>
>Oh, Oh... Yes!
>
>It would be nice to have a 64-128 CPU build server making the problem
> dead obvious :-)
Since you're most likely I/O bound anyway (you most likely don't build
in a ramdisk or something that is vaguely fast for IO) there's no point
in letting your one to eight cores be idle. No need for a 512 CPU box to
make that obvious.
>
>Whatabout:
>
>HOSTTOOLS:=host-sed host-lzma
>ifeq ($(BR2_STRIP_sstrip),y)
>HOSTTOOLS+=sstrip_host
>endif
Except that "HOSTTOOLS" is a too generic name, yes.
MAYBE_HOST_PREREQ is what i would have used (since lzma should also be
conditional). Care to do this?
>dependencies: $(HOSTTOOLS)
TIA,
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
2007-08-21 20:25 ` Bernhard Fischer
@ 2007-08-21 20:58 ` Ulf Samuelsson
2007-08-21 23:13 ` Bernhard Fischer
0 siblings, 1 reply; 32+ messages in thread
From: Ulf Samuelsson @ 2007-08-21 20:58 UTC (permalink / raw)
To: buildroot
tis 2007-08-21 klockan 22:25 +0200 skrev Bernhard Fischer:
> On Tue, Aug 21, 2007 at 10:12:59PM +0200, Ulf Samuelsson wrote:
> >tis 2007-08-21 klockan 13:14 -0700 skrev aldot at uclibc.org:
> >> Author: aldot
> >> Date: 2007-08-21 13:14:23 -0700 (Tue, 21 Aug 2007)
> >> New Revision: 19631
> >>
> >> Log:
> >> - make sure that sstrip is available early enough
> >>
> >>
> >> Modified:
> >> trunk/buildroot/toolchain/dependencies/dependencies.mk
> >>
> >>
> >> Changeset:
> >> Modified: trunk/buildroot/toolchain/dependencies/dependencies.mk
> >> ===================================================================
> >> --- trunk/buildroot/toolchain/dependencies/dependencies.mk 2007-08-21 19:45:17 UTC (rev 19630)
> >> +++ trunk/buildroot/toolchain/dependencies/dependencies.mk 2007-08-21 20:14:23 UTC (rev 19631)
> >> @@ -5,7 +5,11 @@
> >> #
> >> ######################################################################
> >>
> >> -dependencies: host-sed host-lzma
> >> +ifeq ($(BR2_STRIP_sstrip),y)
> >> +# XXX: this is a little bit ugly, yep.
> >> +MAYBE_SSTRIP_HOST:=sstrip_host
> >> +endif
> >> +dependencies: host-sed host-lzma $(MAYBE_SSTRIP_HOST)
> >> @HOSTCC="$(firstword $(HOSTCC))" MAKE="$(MAKE)" \
> >> HOST_SED_DIR="$(HOST_SED_DIR)" \
> >> $(TOPDIR)/toolchain/dependencies/dependencies.sh
> >>
> >
> >Why not add host-sed/host-lzma (conditionally) to TARGETS early enough?
> >I tried this, and this seemed to work, but I never got to commit that.
> >
> >ifeq ($(BR2_STRIP_sstrip),y)
> >TARGETS+=sstrip_host
> >endif
> >
> >in toolchain/Makefile.in
> >
> >Should do wonders.
>
> I expect this not to work.
> Try the usual testcase for this kind of stuff:
> set BR2_JLEVEL=1
> $ make clean
> $ make -j 64
> (or 128)
> and see it go up in flames if you don't have proper deps in certain
> sequence points..
>
> See?
Oh, Oh... Yes!
It would be nice to have a 64-128 CPU build server making the problem
dead obvious :-)
Whatabout:
HOSTTOOLS:=host-sed host-lzma
ifeq ($(BR2_STRIP_sstrip),y)
HOSTTOOLS+=sstrip_host
endif
dependencies: $(HOSTTOOLS)
@HOSTCC="$(firstword $(HOSTCC))" MAKE="$(MAKE)" \
HOST_SED_DIR="$(HOST_SED_DIR)" \
$(TOPDIR)/toolchain/dependencies/dependencies.sh
> >Same for the other stuff we need to have available.
--
Best Regards,
Ulf Samuelsson
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
2007-08-21 20:12 ` Ulf Samuelsson
@ 2007-08-21 20:25 ` Bernhard Fischer
2007-08-21 20:58 ` Ulf Samuelsson
0 siblings, 1 reply; 32+ messages in thread
From: Bernhard Fischer @ 2007-08-21 20:25 UTC (permalink / raw)
To: buildroot
On Tue, Aug 21, 2007 at 10:12:59PM +0200, Ulf Samuelsson wrote:
>tis 2007-08-21 klockan 13:14 -0700 skrev aldot at uclibc.org:
>> Author: aldot
>> Date: 2007-08-21 13:14:23 -0700 (Tue, 21 Aug 2007)
>> New Revision: 19631
>>
>> Log:
>> - make sure that sstrip is available early enough
>>
>>
>> Modified:
>> trunk/buildroot/toolchain/dependencies/dependencies.mk
>>
>>
>> Changeset:
>> Modified: trunk/buildroot/toolchain/dependencies/dependencies.mk
>> ===================================================================
>> --- trunk/buildroot/toolchain/dependencies/dependencies.mk 2007-08-21 19:45:17 UTC (rev 19630)
>> +++ trunk/buildroot/toolchain/dependencies/dependencies.mk 2007-08-21 20:14:23 UTC (rev 19631)
>> @@ -5,7 +5,11 @@
>> #
>> ######################################################################
>>
>> -dependencies: host-sed host-lzma
>> +ifeq ($(BR2_STRIP_sstrip),y)
>> +# XXX: this is a little bit ugly, yep.
>> +MAYBE_SSTRIP_HOST:=sstrip_host
>> +endif
>> +dependencies: host-sed host-lzma $(MAYBE_SSTRIP_HOST)
>> @HOSTCC="$(firstword $(HOSTCC))" MAKE="$(MAKE)" \
>> HOST_SED_DIR="$(HOST_SED_DIR)" \
>> $(TOPDIR)/toolchain/dependencies/dependencies.sh
>>
>
>Why not add host-sed/host-lzma (conditionally) to TARGETS early enough?
>I tried this, and this seemed to work, but I never got to commit that.
>
>ifeq ($(BR2_STRIP_sstrip),y)
>TARGETS+=sstrip_host
>endif
>
>in toolchain/Makefile.in
>
>Should do wonders.
I expect this not to work.
Try the usual testcase for this kind of stuff:
set BR2_JLEVEL=1
$ make clean
$ make -j 64
(or 128)
and see it go up in flames if you don't have proper deps in certain
sequence points..
See?
>Same for the other stuff we need to have available.
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-08-21 20:14 aldot at uclibc.org
2007-08-21 20:12 ` Ulf Samuelsson
0 siblings, 1 reply; 32+ messages in thread
From: aldot at uclibc.org @ 2007-08-21 20:14 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-08-21 13:14:23 -0700 (Tue, 21 Aug 2007)
New Revision: 19631
Log:
- make sure that sstrip is available early enough
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.mk
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.mk
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.mk 2007-08-21 19:45:17 UTC (rev 19630)
+++ trunk/buildroot/toolchain/dependencies/dependencies.mk 2007-08-21 20:14:23 UTC (rev 19631)
@@ -5,7 +5,11 @@
#
######################################################################
-dependencies: host-sed host-lzma
+ifeq ($(BR2_STRIP_sstrip),y)
+# XXX: this is a little bit ugly, yep.
+MAYBE_SSTRIP_HOST:=sstrip_host
+endif
+dependencies: host-sed host-lzma $(MAYBE_SSTRIP_HOST)
@HOSTCC="$(firstword $(HOSTCC))" MAKE="$(MAKE)" \
HOST_SED_DIR="$(HOST_SED_DIR)" \
$(TOPDIR)/toolchain/dependencies/dependencies.sh
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
2007-08-21 20:14 aldot at uclibc.org
@ 2007-08-21 20:12 ` Ulf Samuelsson
2007-08-21 20:25 ` Bernhard Fischer
0 siblings, 1 reply; 32+ messages in thread
From: Ulf Samuelsson @ 2007-08-21 20:12 UTC (permalink / raw)
To: buildroot
tis 2007-08-21 klockan 13:14 -0700 skrev aldot at uclibc.org:
> Author: aldot
> Date: 2007-08-21 13:14:23 -0700 (Tue, 21 Aug 2007)
> New Revision: 19631
>
> Log:
> - make sure that sstrip is available early enough
>
>
> Modified:
> trunk/buildroot/toolchain/dependencies/dependencies.mk
>
>
> Changeset:
> Modified: trunk/buildroot/toolchain/dependencies/dependencies.mk
> ===================================================================
> --- trunk/buildroot/toolchain/dependencies/dependencies.mk 2007-08-21 19:45:17 UTC (rev 19630)
> +++ trunk/buildroot/toolchain/dependencies/dependencies.mk 2007-08-21 20:14:23 UTC (rev 19631)
> @@ -5,7 +5,11 @@
> #
> ######################################################################
>
> -dependencies: host-sed host-lzma
> +ifeq ($(BR2_STRIP_sstrip),y)
> +# XXX: this is a little bit ugly, yep.
> +MAYBE_SSTRIP_HOST:=sstrip_host
> +endif
> +dependencies: host-sed host-lzma $(MAYBE_SSTRIP_HOST)
> @HOSTCC="$(firstword $(HOSTCC))" MAKE="$(MAKE)" \
> HOST_SED_DIR="$(HOST_SED_DIR)" \
> $(TOPDIR)/toolchain/dependencies/dependencies.sh
>
Why not add host-sed/host-lzma (conditionally) to TARGETS early enough?
I tried this, and this seemed to work, but I never got to commit that.
ifeq ($(BR2_STRIP_sstrip),y)
TARGETS+=sstrip_host
endif
in toolchain/Makefile.in
Should do wonders.
Same for the other stuff we need to have available.
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
--
Best Regards,
Ulf Samuelsson mail: ulf at atmel.com
Atmel Nordic AB
Box 2033, 174 52 Sundbyberg
Kavalleriv?gen 24, 174 58 Sundbyberg
Sweden
Tel: +46 8 441 54 22 GSM: +46 706 224457
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-06-26 13:26 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-06-26 13:26 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-06-26 06:26:51 -0700 (Tue, 26 Jun 2007)
New Revision: 18937
Log:
- check for clean environment variables ARCH, CROSS_COMPILE, GREP_OPTIONS
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-06-26 06:24:37 UTC (rev 18936)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-06-26 13:26:51 UTC (rev 18937)
@@ -61,6 +61,28 @@
fi;
echo "CXXFLAGS clean: Ok"
+if test -n "$GREP_OPTIONS" ; then
+ echo "GREP_OPTIONS clean: FALSE"
+ /bin/echo -e "\n\nYou must run 'unset GREP_OPTIONS' so buildroot can run with";
+ /bin/echo -e "a clean environment on your build machine\n";
+ exit 1;
+fi;
+
+if test -n "$CROSS_COMPILE" ; then
+ echo "CROSS_COMPILE clean: FALSE"
+ /bin/echo -e "\n\nYou must run 'unset CROSS_COMPILE' so buildroot can run with";
+ /bin/echo -e "a clean environment on your build machine\n";
+ exit 1;
+fi;
+
+if test -n "$ARCH" ; then
+ echo "ARCH clean: FALSE"
+ /bin/echo -e "\n\nYou must run 'unset ARCH' so buildroot can run with";
+ /bin/echo -e "a clean environment on your build machine\n";
+ exit 1;
+fi;
+
+
echo "WORKS" | grep "WORKS" >/dev/null 2>&1
if test $? != 0 ; then
echo "grep works: FALSE"
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-06-05 7:38 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-06-05 7:38 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-06-05 00:38:07 -0700 (Tue, 05 Jun 2007)
New Revision: 18745
Log:
- fix typo in version check
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-06-04 23:32:35 UTC (rev 18744)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-06-05 07:38:07 UTC (rev 18745)
@@ -137,7 +137,7 @@
fi;
MAKE_MAJOR=$(echo $MAKE_VERSION | $XSED -e "s/\..*//g")
MAKE_MINOR=$(echo $MAKE_VERSION | $XSED -e "s/^$MAKE_MAJOR\.//g" -e "s/\..*//g" -e "s/[a-zA-Z].*//g")
-if [ $MAKE_MAJOR -lt 3 -o $MAKE_MAJOR -eq 3 -a $MAKE_MINOR -lt 8 ] ; then
+if [ $MAKE_MAJOR -lt 3 ] || [ $MAKE_MAJOR -eq 3 -a $MAKE_MINOR -lt 80 ] ; then
echo "You have make '$MAKE_VERSION' installed. GNU make >=3.80 is required"
exit 1;
fi;
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-05-11 12:50 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-05-11 12:50 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-05-11 05:50:15 -0700 (Fri, 11 May 2007)
New Revision: 18607
Log:
- ignore eventual errors from which(1)
Modified:
trunk/buildroot/toolchain/dependencies/check-host-sed.sh
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/check-host-sed.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/check-host-sed.sh 2007-05-10 23:06:55 UTC (rev 18606)
+++ trunk/buildroot/toolchain/dependencies/check-host-sed.sh 2007-05-11 12:50:15 UTC (rev 18607)
@@ -3,7 +3,7 @@
for SED in $SEDLIST
do
if ! test -x $SED ; then
- SED=$(which $SED)
+ SED=$(which $SED 2> /dev/null)
if ! test -x "$SED" > /dev/null ; then
SED=""
continue
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-05-10 23:06:55 UTC (rev 18606)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-05-11 12:50:15 UTC (rev 18607)
@@ -123,7 +123,7 @@
# check build system 'make'
#
#############################################################
-MAKE=$(which make)
+MAKE=$(which make 2> /dev/null)
if [ -z "$MAKE" ] ; then
echo "make installed: FALSE"
/bin/echo -e "\n\nYou must install 'make' on your build machine\n";
@@ -152,7 +152,7 @@
#############################################################
COMPILER=$(which $HOSTCC 2> /dev/null)
if [ -z "$COMPILER" ] ; then
- COMPILER=$(which cc)
+ COMPILER=$(which cc 2> /dev/null)
fi;
if [ -z "$COMPILER" ] ; then
echo "C Compiler installed: FALSE"
@@ -179,7 +179,7 @@
# check for host CXX
CXXCOMPILER=$(which $HOSTCXX 2> /dev/null)
if [ -z "$CXXCOMPILER" ] ; then
- CXXCOMPILER=$(which c++)
+ CXXCOMPILER=$(which c++ 2> /dev/null)
fi
if [ -z "$CXXCOMPILER" ] ; then
echo "C++ Compiler installed: FALSE"
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-03-21 18:15 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-03-21 18:15 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-03-21 11:15:02 -0700 (Wed, 21 Mar 2007)
New Revision: 18197
Log:
- ignore errors when looking at hostcc and hostcxx
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-03-21 17:53:00 UTC (rev 18196)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-03-21 18:15:02 UTC (rev 18197)
@@ -4,8 +4,8 @@
echo ""
echo "Checking build system dependencies:"
+export LC_ALL=C
-
#############################################################
#
# check build system 'environment'
@@ -150,7 +150,7 @@
# check build system 'gcc'
#
#############################################################
-COMPILER=$(which $HOSTCC)
+COMPILER=$(which $HOSTCC 2> /dev/null)
if [ -z "$COMPILER" ] ; then
COMPILER=$(which cc)
fi;
@@ -177,7 +177,7 @@
# check for host CXX
-CXXCOMPILER=$(which $HOSTCXX)
+CXXCOMPILER=$(which $HOSTCXX 2> /dev/null)
if [ -z "$CXXCOMPILER" ] ; then
CXXCOMPILER=$(which c++)
fi
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-03-21 10:54 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-03-21 10:54 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-03-21 03:54:24 -0700 (Wed, 21 Mar 2007)
New Revision: 18193
Log:
- stop using head and use sed -e '1d' at the end instead
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-03-21 10:35:40 UTC (rev 18192)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-03-21 10:54:24 UTC (rev 18193)
@@ -129,7 +129,7 @@
/bin/echo -e "\n\nYou must install 'make' on your build machine\n";
exit 1;
fi;
-MAKE_VERSION=$($MAKE --version 2>&1 | head -n1 | $XSED -e 's/^.* \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g')
+MAKE_VERSION=$($MAKE --version 2>&1 | $XSED -e 's/^.* \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q')
if [ -z "$MAKE_VERSION" ] ; then
echo "make installed: FALSE"
/bin/echo -e "\n\nYou must install 'make' on your build machine\n";
@@ -160,7 +160,7 @@
exit 1;
fi;
-COMPILER_VERSION=$($COMPILER --version 2>&1 | head -n1 | $XSED -e 's/^.*(.CC) \([0-9\.]\)/\1/g' -e "s/[-\ ].*//g")
+COMPILER_VERSION=$($COMPILER --version 2>&1 | $XSED -e 's/^.*(.CC) \([0-9\.]\)/\1/g' -e "s/[-\ ].*//g" -e '1q')
if [ -z "$COMPILER_VERSION" ] ; then
echo "gcc installed: FALSE"
/bin/echo -e "\n\nYou must install 'gcc' on your build machine\n";
@@ -187,7 +187,7 @@
#exit 1
fi
if [ ! -z "$CXXCOMPILER" ] ; then
- CXXCOMPILER_VERSION=$($CXXCOMPILER --version 2>&1 | head -n1 | $XSED -e 's/^.*(.CC) \([0-9\.]\)/\1/g' -e "s/[-\ ].*//g")
+ CXXCOMPILER_VERSION=$($CXXCOMPILER --version 2>&1 | $XSED -e 's/^.*(.CC) \([0-9\.]\)/\1/g' -e "s/[-\ ].*//g" -e '1q')
if [ -z "$CXXCOMPILER_VERSION" ] ; then
echo "c++ installed: FALSE"
/bin/echo -e "\nYou may have to install 'g++' on your build machine\n"
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-03-12 8:55 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-03-12 8:55 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-03-12 01:55:20 -0700 (Mon, 12 Mar 2007)
New Revision: 18069
Log:
- fix syntax
Modified:
trunk/buildroot/toolchain/dependencies/check-host-sed.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/check-host-sed.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/check-host-sed.sh 2007-03-11 23:06:39 UTC (rev 18068)
+++ trunk/buildroot/toolchain/dependencies/check-host-sed.sh 2007-03-12 08:55:20 UTC (rev 18069)
@@ -19,7 +19,7 @@
elif test -e ".sedtest-e" ; then
rm -f ".sedtest-e"
SED=""
- elif [ -z "${RESULT}" ] || [ "${RESULT}" != "GOODBYE"] > /dev/null ;
+ elif [ "x$RESULT" = "x" ] || [ "$RESULT" != "GOODBYE" ] > /dev/null ;
then
SED=""
fi
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-03-08 16:44 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-03-08 16:44 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-03-08 08:44:20 -0800 (Thu, 08 Mar 2007)
New Revision: 18038
Log:
- Propagate HOST_SED_DIR to the dependencies script so that it may use the
local sed build as well (Heikki Lindholm).
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.mk
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.mk
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.mk 2007-03-08 16:14:46 UTC (rev 18037)
+++ trunk/buildroot/toolchain/dependencies/dependencies.mk 2007-03-08 16:44:20 UTC (rev 18038)
@@ -6,7 +6,9 @@
######################################################################
dependencies: host-sed
- @HOSTCC="$(firstword $(HOSTCC))" MAKE="$(MAKE)" $(TOPDIR)/toolchain/dependencies/dependencies.sh
+ @HOSTCC="$(firstword $(HOSTCC))" MAKE="$(MAKE)" \
+ HOST_SED_DIR="$(HOST_SED_DIR)" \
+ $(TOPDIR)/toolchain/dependencies/dependencies.sh
dependencies-source:
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-02-16 9:34 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-02-16 9:34 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-02-16 01:34:11 -0800 (Fri, 16 Feb 2007)
New Revision: 17904
Log:
- mention the package that usually provides makeinfo
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-02-16 09:32:12 UTC (rev 17903)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-02-16 09:34:11 UTC (rev 17904)
@@ -251,7 +251,8 @@
if ! which makeinfo > /dev/null ; then \
echo "makeinfo installed: FALSE"
/bin/echo -e "\n\nMost likely some packages will fail to build their documentation"
- /bin/echo -e "Either install 'makeinfo' on your host or fix the respective packages"
+ echo "Either install 'makeinfo' on your host or fix the respective packages."
+ echo "Makeinfo can usually be found in the texinfo package for your host."
else
echo "makeinfo installed: Ok"
fi
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-02-15 14:30 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-02-15 14:30 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-02-15 06:30:56 -0800 (Thu, 15 Feb 2007)
New Revision: 17899
Log:
- might make sense not to print ok if it was nak
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-02-15 14:11:59 UTC (rev 17898)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-02-15 14:30:56 UTC (rev 17899)
@@ -252,8 +252,9 @@
echo "makeinfo installed: FALSE"
/bin/echo -e "\n\nMost likely some packages will fail to build their documentation"
/bin/echo -e "Either install 'makeinfo' on your host or fix the respective packages"
+else
+ echo "makeinfo installed: Ok"
fi
-echo "makeinfo installed: Ok"
#############################################################
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-02-15 14:07 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-02-15 14:07 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-02-15 06:07:08 -0800 (Thu, 15 Feb 2007)
New Revision: 17897
Log:
- warn about missing makeinfo on the host.
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-02-15 13:54:25 UTC (rev 17896)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-02-15 14:07:08 UTC (rev 17897)
@@ -248,9 +248,14 @@
echo "gettext installed: Ok"
+if ! which makeinfo > /dev/null ; then \
+ echo "makeinfo installed: FALSE"
+ /bin/echo -e "\n\nMost likely some packages will fail to build their documentation"
+ /bin/echo -e "Either install 'makeinfo' on your host or fix the respective packages"
+fi
+echo "makeinfo installed: Ok"
-
#############################################################
#
# All done
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-02-09 17:28 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-02-09 17:28 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-02-09 09:28:27 -0800 (Fri, 09 Feb 2007)
New Revision: 17840
Log:
- add paranoia warning about $INCLUDES
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-02-09 14:18:37 UTC (rev 17839)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-02-09 17:28:27 UTC (rev 17840)
@@ -46,6 +46,12 @@
fi;
echo "CFLAGS clean: Ok"
+if test -n "$INCLUDES" ; then
+ echo "INCLUDES clean: FALSE"
+ /bin/echo -e "WARNING: INCLUDES contains:\n\t'$INCLUDES'"
+else
+ echo "INCLUDES clean: Ok"
+fi
if test -n "$CXXFLAGS" ; then
echo "CXXFLAGS clean: FALSE"
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-02-09 12:32 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-02-09 12:32 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-02-09 04:32:21 -0800 (Fri, 09 Feb 2007)
New Revision: 17831
Log:
- add purely informational check of HOSTCXX
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-02-09 06:44:53 UTC (rev 17830)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-02-09 12:32:21 UTC (rev 17831)
@@ -1,5 +1,5 @@
#!/bin/sh
-
+# vi: set sw=4 ts=4:
#set -x
echo ""
@@ -175,7 +175,34 @@
echo "C compiler version '$COMPILER_VERSION': Ok"
+# check for host CXX
+CXXCOMPILER=$(which $HOSTCXX)
+if [ -z "$CXXCOMPILER" ] ; then
+ CXXCOMPILER=$(which c++)
+fi
+if [ -z "$CXXCOMPILER" ] ; then
+ echo "C++ Compiler installed: FALSE"
+ /bin/echo -e "\nYou may have to install 'g++' on your build machine\n"
+ #exit 1
+fi
+if [ ! -z "$CXXCOMPILER" ] ; then
+ CXXCOMPILER_VERSION=$($CXXCOMPILER --version 2>&1 | head -n1 | $XSED -e 's/^.*(.CC) \([0-9\.]\)/\1/g' -e "s/[-\ ].*//g")
+ if [ -z "$CXXCOMPILER_VERSION" ] ; then
+ echo "c++ installed: FALSE"
+ /bin/echo -e "\nYou may have to install 'g++' on your build machine\n"
+ #exit 1
+ fi
+ CXXCOMPILER_MAJOR=$(echo $CXXCOMPILER_VERSION | $XSED -e "s/\..*//g")
+ CXXCOMPILER_MINOR=$(echo $CXXCOMPILER_VERSION | $XSED -e "s/^$CXXCOMPILER_MAJOR\.//g" -e "s/\..*//g")
+ if [ $CXXCOMPILER_MAJOR -lt 3 -o $CXXCOMPILER_MAJOR -eq 2 -a $CXXCOMPILER_MINOR -lt 95 ] ; then
+ echo "You have g++ '$CXXCOMPILER_VERSION' installed. g++ >= 2.95 is required"
+ exit 1
+ fi
+ echo "C++ compiler '$CXXCOMPILER'"
+ echo "C++ compiler version '$CXXCOMPILER_VERSION': Ok"
+fi
+
#############################################################
#
# check build system 'bison'
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-01-21 22:31 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-01-21 22:31 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-01-21 14:31:03 -0800 (Sun, 21 Jan 2007)
New Revision: 17444
Log:
- remove sedtest temporary file
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-01-21 21:49:55 UTC (rev 17443)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-01-21 22:31:03 UTC (rev 17444)
@@ -101,6 +101,7 @@
else
echo "sed works: Ok"
fi
+rm -f .sedtest
XSED=$HOST_SED_DIR/bin/sed
#############################################################
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-01-20 13:06 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-01-20 13:06 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-01-20 05:06:49 -0800 (Sat, 20 Jan 2007)
New Revision: 17396
Log:
- pass MAKE in so we can check the correct binary for it's version..
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.mk
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.mk
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.mk 2007-01-20 12:57:04 UTC (rev 17395)
+++ trunk/buildroot/toolchain/dependencies/dependencies.mk 2007-01-20 13:06:49 UTC (rev 17396)
@@ -6,7 +6,7 @@
######################################################################
dependencies: host-sed
- @HOSTCC="$(firstword $(HOSTCC))" $(TOPDIR)/toolchain/dependencies/dependencies.sh
+ @HOSTCC="$(firstword $(HOSTCC))" MAKE="$(MAKE)" $(TOPDIR)/toolchain/dependencies/dependencies.sh
dependencies-source:
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2007-01-19 17:11 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2007-01-19 17:11 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-01-19 09:11:05 -0800 (Fri, 19 Jan 2007)
New Revision: 17383
Log:
- add sanity check to make sure that LD_LIBRARY_PATH doesn't contain CWD
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-01-19 16:23:35 UTC (rev 17382)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2007-01-19 17:11:05 UTC (rev 17383)
@@ -55,6 +55,31 @@
fi;
echo "CXXFLAGS clean: Ok"
+echo "WORKS" | grep "WORKS" >/dev/null 2>&1
+if test $? != 0 ; then
+ echo "grep works: FALSE"
+ exit 1
+fi
+
+# sanity check for CWD in LD_LIBRARY_PATH
+# try not to rely on egrep..
+if test -n "$LD_LIBRARY_PATH" ; then
+ /bin/echo TRiGGER_start"$LD_LIBRARY_PATH"TRiGGER_end | /bin/grep ':.:' >/dev/null 2>&1 ||
+ /bin/echo TRiGGER_start"$LD_LIBRARY_PATH"TRiGGER_end | /bin/grep 'TRiGGER_start:' >/dev/null 2>&1 ||
+ /bin/echo TRiGGER_start"$LD_LIBRARY_PATH"TRiGGER_end | /bin/grep ':TRiGGER_end' >/dev/null 2>&1 ||
+ /bin/echo TRiGGER_start"$LD_LIBRARY_PATH"TRiGGER_end | /bin/grep '::' >/dev/null 2>&1
+ if test $? = 0; then
+ echo "LD_LIBRARY_PATH sane: FALSE"
+ echo "You seem to have the current working directory in your"
+ echo "LD_LIBRARY_PATH environment variable. This doesn't work."
+ exit 1;
+ else
+ echo "LD_LIBRARY_PATH sane: Ok"
+ fi
+fi;
+
+
+
#############################################################
#
# check build system 'sed'
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2006-12-13 9:17 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2006-12-13 9:17 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2006-12-13 01:17:12 -0800 (Wed, 13 Dec 2006)
New Revision: 16881
Log:
- spelling fix
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2006-12-13 09:14:10 UTC (rev 16880)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2006-12-13 09:17:12 UTC (rev 16881)
@@ -14,7 +14,7 @@
if test -n "$CC" ; then
echo "CC clean: FALSE"
/bin/echo -e "\n\nYou must run 'unset CC' so buildroot can run with";
- /bin/echo -e "a clean enviroment on your build machine\n";
+ /bin/echo -e "a clean environment on your build machine\n";
exit 1;
fi;
echo "CC clean: Ok"
@@ -23,7 +23,7 @@
if test -n "$CXX" ; then
echo "CXX clean: FALSE"
/bin/echo -e "\n\nYou must run 'unset CXX' so buildroot can run with";
- /bin/echo -e "a clean enviroment on your build machine\n";
+ /bin/echo -e "a clean environment on your build machine\n";
exit 1;
fi;
echo "CXX clean: Ok"
@@ -32,7 +32,7 @@
if test -n "$CPP" ; then
echo "CPP clean: FALSE"
/bin/echo -e "\n\nYou must run 'unset CPP' so buildroot can run with";
- /bin/echo -e "a clean enviroment on your build machine\n";
+ /bin/echo -e "a clean environment on your build machine\n";
exit 1;
fi;
echo "CPP clean: Ok"
@@ -41,7 +41,7 @@
if test -n "$CFLAGS" ; then
echo "CFLAGS clean: FALSE"
/bin/echo -e "\n\nYou must run 'unset CFLAGS' so buildroot can run with";
- /bin/echo -e "a clean enviroment on your build machine\n";
+ /bin/echo -e "a clean environment on your build machine\n";
exit 1;
fi;
echo "CFLAGS clean: Ok"
@@ -50,7 +50,7 @@
if test -n "$CXXFLAGS" ; then
echo "CXXFLAGS clean: FALSE"
/bin/echo -e "\n\nYou must run 'unset CXXFLAGS' so buildroot can run with";
- /bin/echo -e "a clean enviroment on your build machine\n";
+ /bin/echo -e "a clean environment on your build machine\n";
exit 1;
fi;
echo "CXXFLAGS clean: Ok"
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2006-12-13 7:25 andersen at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: andersen at uclibc.org @ 2006-12-13 7:25 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2006-12-12 23:25:22 -0800 (Tue, 12 Dec 2006)
New Revision: 16875
Log:
fix cut-n-paste typo, where I replaced CFLAGS with two copies CXXFLAGS
fix spacing on env var failure notices
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2006-12-13 07:21:16 UTC (rev 16874)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2006-12-13 07:25:22 UTC (rev 16875)
@@ -12,7 +12,7 @@
#
#############################################################
if test -n "$CC" ; then
- echo "CC clean: FALSE"
+ echo "CC clean: FALSE"
/bin/echo -e "\n\nYou must run 'unset CC' so buildroot can run with";
/bin/echo -e "a clean enviroment on your build machine\n";
exit 1;
@@ -21,7 +21,7 @@
if test -n "$CXX" ; then
- echo "CXX clean: FALSE"
+ echo "CXX clean: FALSE"
/bin/echo -e "\n\nYou must run 'unset CXX' so buildroot can run with";
/bin/echo -e "a clean enviroment on your build machine\n";
exit 1;
@@ -30,7 +30,7 @@
if test -n "$CPP" ; then
- echo "CPP clean: FALSE"
+ echo "CPP clean: FALSE"
/bin/echo -e "\n\nYou must run 'unset CPP' so buildroot can run with";
/bin/echo -e "a clean enviroment on your build machine\n";
exit 1;
@@ -38,17 +38,17 @@
echo "CPP clean: Ok"
-if test -n "$CXXFLAGS" ; then
- echo "CXXFLAGS clean: FALSE"
- /bin/echo -e "\n\nYou must run 'unset CXXFLAGS' so buildroot can run with";
+if test -n "$CFLAGS" ; then
+ echo "CFLAGS clean: FALSE"
+ /bin/echo -e "\n\nYou must run 'unset CFLAGS' so buildroot can run with";
/bin/echo -e "a clean enviroment on your build machine\n";
exit 1;
fi;
-echo "CXXFLAGS clean: Ok"
+echo "CFLAGS clean: Ok"
if test -n "$CXXFLAGS" ; then
- echo "CXXFLAGS clean: FALSE"
+ echo "CXXFLAGS clean: FALSE"
/bin/echo -e "\n\nYou must run 'unset CXXFLAGS' so buildroot can run with";
/bin/echo -e "a clean enviroment on your build machine\n";
exit 1;
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2006-12-13 7:21 andersen at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: andersen at uclibc.org @ 2006-12-13 7:21 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2006-12-12 23:21:16 -0800 (Tue, 12 Dec 2006)
New Revision: 16874
Log:
add checks for when people have foolishly set things in their enviroment
such as CC, CFLAGS, etc that will cause buildroot to break
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2006-12-13 07:19:58 UTC (rev 16873)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2006-12-13 07:21:16 UTC (rev 16874)
@@ -5,8 +5,58 @@
echo ""
echo "Checking build system dependencies:"
+
#############################################################
#
+# check build system 'environment'
+#
+#############################################################
+if test -n "$CC" ; then
+ echo "CC clean: FALSE"
+ /bin/echo -e "\n\nYou must run 'unset CC' so buildroot can run with";
+ /bin/echo -e "a clean enviroment on your build machine\n";
+ exit 1;
+fi;
+echo "CC clean: Ok"
+
+
+if test -n "$CXX" ; then
+ echo "CXX clean: FALSE"
+ /bin/echo -e "\n\nYou must run 'unset CXX' so buildroot can run with";
+ /bin/echo -e "a clean enviroment on your build machine\n";
+ exit 1;
+fi;
+echo "CXX clean: Ok"
+
+
+if test -n "$CPP" ; then
+ echo "CPP clean: FALSE"
+ /bin/echo -e "\n\nYou must run 'unset CPP' so buildroot can run with";
+ /bin/echo -e "a clean enviroment on your build machine\n";
+ exit 1;
+fi;
+echo "CPP clean: Ok"
+
+
+if test -n "$CXXFLAGS" ; then
+ echo "CXXFLAGS clean: FALSE"
+ /bin/echo -e "\n\nYou must run 'unset CXXFLAGS' so buildroot can run with";
+ /bin/echo -e "a clean enviroment on your build machine\n";
+ exit 1;
+fi;
+echo "CXXFLAGS clean: Ok"
+
+
+if test -n "$CXXFLAGS" ; then
+ echo "CXXFLAGS clean: FALSE"
+ /bin/echo -e "\n\nYou must run 'unset CXXFLAGS' so buildroot can run with";
+ /bin/echo -e "a clean enviroment on your build machine\n";
+ exit 1;
+fi;
+echo "CXXFLAGS clean: Ok"
+
+#############################################################
+#
# check build system 'sed'
#
#############################################################
@@ -22,9 +72,9 @@
echo "HELLO" > .sedtest
$SED -i -e "s/HELLO/GOODBYE/" .sedtest >/dev/null 2>&1
if test $? != 0 ; then
- echo "sed works: No, using buildroot version instead"
+ echo "sed works: No, using buildroot version instead"
else
- echo "sed works: Ok"
+ echo "sed works: Ok"
fi
XSED=$HOST_SED_DIR/bin/sed
@@ -38,7 +88,7 @@
/bin/echo -e "\n\nYou must install 'which' on your build machine\n";
exit 1;
fi;
-echo "which installed: Ok"
+echo "which installed: Ok"
#############################################################
@@ -64,7 +114,7 @@
echo "You have make '$MAKE_VERSION' installed. GNU make >=3.80 is required"
exit 1;
fi;
-echo "GNU make version '$MAKE_VERSION': Ok"
+echo "GNU make version '$MAKE_VERSION': Ok"
@@ -96,7 +146,7 @@
exit 1;
fi;
echo "C compiler '$COMPILER'"
-echo "C compiler version '$COMPILER_VERSION': Ok"
+echo "C compiler version '$COMPILER_VERSION': Ok"
@@ -110,7 +160,7 @@
/bin/echo -e "\n\nYou must install 'bison' on your build machine\n";
exit 1;
fi;
-echo "bison installed: Ok"
+echo "bison installed: Ok"
#############################################################
@@ -123,7 +173,7 @@
/bin/echo -e "\n\nYou must install 'flex' on your build machine\n";
exit 1;
fi;
-echo "flex installed: Ok"
+echo "flex installed: Ok"
#############################################################
@@ -136,7 +186,7 @@
/bin/echo -e "\n\nYou must install 'gettext' on your build machine\n"; \
exit 1; \
fi;
-echo "gettext installed: Ok"
+echo "gettext installed: Ok"
@@ -147,6 +197,6 @@
# All done
#
#############################################################
-echo "Build system dependencies: Ok"
+echo "Build system dependencies: Ok"
echo ""
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2006-11-29 10:39 aldot at uclibc.org
0 siblings, 0 replies; 32+ messages in thread
From: aldot at uclibc.org @ 2006-11-29 10:39 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2006-11-29 02:39:30 -0800 (Wed, 29 Nov 2006)
New Revision: 16714
Log:
- move check for which(1) before it's first use
- fix printing a message when erroring out on non-existing HOSTCC
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2006-11-29 10:23:54 UTC (rev 16713)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2006-11-29 10:39:30 UTC (rev 16714)
@@ -1,6 +1,5 @@
#!/bin/sh
-set -e
#set -x
echo ""
@@ -31,6 +30,19 @@
#############################################################
#
+# check build system 'which'
+#
+#############################################################
+if ! which which > /dev/null ; then
+ echo "which installed: FALSE"
+ echo -e "\n\nYou must install 'which' on your build machine\n";
+ exit 1;
+fi;
+echo "which installed: Ok"
+
+
+#############################################################
+#
# check build system 'make'
#
#############################################################
@@ -64,12 +76,13 @@
COMPILER=$(which $HOSTCC)
if [ -z "$COMPILER" ] ; then
COMPILER=$(which cc)
- if [ -z "$COMPILER" ] ; then
- echo "gcc installed: FALSE"
- echo -e "\n\nYou must install 'gcc' on your build machine\n";
- exit 1;
- fi;
fi;
+if [ -z "$COMPILER" ] ; then
+ echo "C Compiler installed: FALSE"
+ echo -e "\n\nYou must install 'gcc' on your build machine\n";
+ exit 1;
+fi;
+
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"
@@ -82,26 +95,13 @@
echo "You have gcc '$COMPILER_VERSION' installed. gcc >= 2.95 is required"
exit 1;
fi;
-echo "gcc version '$COMPILER_VERSION': Ok"
+echo "C compiler '$COMPILER'"
+echo "C compiler version '$COMPILER_VERSION': Ok"
-
#############################################################
#
-# check build system 'which'
-#
-#############################################################
-if ! which which > /dev/null ; then
- echo "which installed: FALSE"
- echo -e "\n\nYou must install 'which' on your build machine\n";
- exit 1;
-fi;
-echo "which installed: Ok"
-
-
-#############################################################
-#
# check build system 'bison'
#
#############################################################
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2006-11-28 10:06 aldot at uclibc.org
0 siblings, 0 replies; 32+ 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] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2006-07-18 16:54 andersen
0 siblings, 0 replies; 32+ messages in thread
From: andersen @ 2006-07-18 16:54 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2006-07-18 16:54:31 -0700 (Tue, 18 Jul 2006)
New Revision: 15723
Log:
trivial cosmetic stuff
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2006-07-18 23:43:58 UTC (rev 15722)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2006-07-18 23:54:31 UTC (rev 15723)
@@ -3,8 +3,8 @@
set -e
#set -x
+echo ""
echo "Checking build system dependencies:"
-echo ""
#############################################################
#
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies
@ 2006-07-18 16:42 andersen
0 siblings, 0 replies; 32+ messages in thread
From: andersen @ 2006-07-18 16:42 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2006-07-18 16:42:03 -0700 (Tue, 18 Jul 2006)
New Revision: 15721
Log:
stick an extra blank line after results
Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh
Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.sh 2006-07-18 23:39:39 UTC (rev 15720)
+++ trunk/buildroot/toolchain/dependencies/dependencies.sh 2006-07-18 23:42:03 UTC (rev 15721)
@@ -148,4 +148,5 @@
#
#############################################################
echo "Build system dependencies: Ok"
+echo ""
^ permalink raw reply [flat|nested] 32+ messages in thread
end of thread, other threads:[~2009-01-01 21:20 UTC | newest]
Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-12 10:42 [Buildroot] svn commit: trunk/buildroot/toolchain/dependencies aldot at uclibc.org
-- strict thread matches above, loose matches on Subject: below --
2009-01-01 21:20 jacmet at uclibc.org
2008-09-04 2:30 hamish at uclibc.org
2008-06-18 13:11 jacmet at uclibc.org
2007-08-21 20:14 aldot at uclibc.org
2007-08-21 20:12 ` Ulf Samuelsson
2007-08-21 20:25 ` Bernhard Fischer
2007-08-21 20:58 ` Ulf Samuelsson
2007-08-21 23:13 ` Bernhard Fischer
2007-08-22 3:46 ` Ulf Samuelsson
2007-06-26 13:26 aldot at uclibc.org
2007-06-05 7:38 aldot at uclibc.org
2007-05-11 12:50 aldot at uclibc.org
2007-03-21 18:15 aldot at uclibc.org
2007-03-21 10:54 aldot at uclibc.org
2007-03-12 8:55 aldot at uclibc.org
2007-03-08 16:44 aldot at uclibc.org
2007-02-16 9:34 aldot at uclibc.org
2007-02-15 14:30 aldot at uclibc.org
2007-02-15 14:07 aldot at uclibc.org
2007-02-09 17:28 aldot at uclibc.org
2007-02-09 12:32 aldot at uclibc.org
2007-01-21 22:31 aldot at uclibc.org
2007-01-20 13:06 aldot at uclibc.org
2007-01-19 17:11 aldot at uclibc.org
2006-12-13 9:17 aldot at uclibc.org
2006-12-13 7:25 andersen at uclibc.org
2006-12-13 7:21 andersen at uclibc.org
2006-11-29 10:39 aldot at uclibc.org
2006-11-28 10:06 aldot at uclibc.org
2006-07-18 16:54 andersen
2006-07-18 16:42 andersen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.