mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
runqemu-internal: Drop distcc support
The distcc support is clearly unused and broken, might as well drop the remaining code fragements. (From OE-Core rev: 1a70a3225947aa45f3e1f377d50a5865aac64d2b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -20,7 +20,6 @@
|
|||||||
# Call setting:
|
# Call setting:
|
||||||
# QEMU_MEMORY (optional) - set the amount of memory in the emualted system.
|
# QEMU_MEMORY (optional) - set the amount of memory in the emualted system.
|
||||||
# SERIAL_LOGFILE (optional) - log the serial port output to a file
|
# SERIAL_LOGFILE (optional) - log the serial port output to a file
|
||||||
# CROSSPATH - the path to any cross toolchain to use with distcc
|
|
||||||
#
|
#
|
||||||
# Image options:
|
# Image options:
|
||||||
# MACHINE - the machine to run
|
# MACHINE - the machine to run
|
||||||
@@ -480,11 +479,7 @@ if [ "x$QEMUOPTIONS" = "x" ]; then
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "x$CROSSPATH" = "x" ]; then
|
PATH=$OECORE_NATIVE_SYSROOT/usr/bin:$PATH
|
||||||
PATH=$OECORE_NATIVE_SYSROOT/usr/bin:$PATH
|
|
||||||
else
|
|
||||||
PATH=$CROSSPATH:$OECORE_NATIVE_SYSROOT/usr/bin:$PATH
|
|
||||||
fi
|
|
||||||
|
|
||||||
QEMUBIN=`which $QEMU 2> /dev/null`
|
QEMUBIN=`which $QEMU 2> /dev/null`
|
||||||
if [ ! -x "$QEMUBIN" ]; then
|
if [ ! -x "$QEMUBIN" ]; then
|
||||||
@@ -511,27 +506,12 @@ if [ "$NEED_GL" != "" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
do_quit() {
|
do_quit() {
|
||||||
if [ -n "$PIDFILE" ]; then
|
|
||||||
#echo kill `cat $PIDFILE`
|
|
||||||
kill `cat $PIDFILE`
|
|
||||||
fi
|
|
||||||
cleanup
|
cleanup
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
DISTCCD=`which distccd 2> /dev/null`
|
|
||||||
PIDFILE=""
|
|
||||||
|
|
||||||
trap do_quit INT TERM QUIT
|
trap do_quit INT TERM QUIT
|
||||||
|
|
||||||
if [ -x "$DISTCCD" ]; then
|
|
||||||
echo "Starting distccd..."
|
|
||||||
PIDFILE=`mktemp`
|
|
||||||
$DISTCCD --allow 192.168.7.2 --daemon --pid-file $PIDFILE &
|
|
||||||
else
|
|
||||||
echo "WARNING: distccd not present, no distcc support loaded."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# qemu got segfault if linked with nVidia's libgl
|
# qemu got segfault if linked with nVidia's libgl
|
||||||
GL_LD_PRELOAD=$LD_PRELOAD
|
GL_LD_PRELOAD=$LD_PRELOAD
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user