1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

scripts: Always try to start distccd, improve distccd cleanup, add SDK directory to the search path so any cross compiler installed in /usr/local/poky is found and used, add ifdown script to avoid warning messages

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3649 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-01-31 17:42:44 +00:00
parent 4592a9b58c
commit d0dae3b616
4 changed files with 62 additions and 15 deletions
+4 -13
View File
@@ -23,7 +23,10 @@ if [ "x$BUILDDIR" = "x" ]; then
exit 1
fi
PATH=$BUILDDIR/tmp/staging/$BUILD_SYS/usr/bin:$BUILDDIR/tmp/cross/bin:$PATH
INTERNAL_SCRIPT=`which poky-qemu-internal`
SDKDIR=/usr/local/poky/eabi-glibc/arm/bin/
PATH=$BUILDDIR/tmp/staging/$BUILD_SYS/usr/bin:$BUILDDIR/tmp/cross/bin:$SDKDIR:$PATH
if [ "x$1" = "x" ]; then
echo
@@ -121,17 +124,5 @@ if [ ! -e $CROSSPATH/cc ]; then
ln -s $CROSSPATH/gcc $CROSSPATH/cc
fi
DISTCCD=`which distccd`
if [ -x "$DISTCCD" ]; then
$DISTCCD --allow 192.168.7.2 --daemon
else
echo "Warning: distccd not present, no distcc support loaded"
fi
INTERNAL_SCRIPT=`which poky-qemu-internal`
. $INTERNAL_SCRIPT
if [ -x "$DISTCCD" ]; then
killall distccd
fi