Browse Source

Update meta-ide-support dependencies

Using poky-qemu with our new tap networking and/or unfs support
required too many additional build steps. This updates the
meta-ide-support dependencies so all features are built and
available to use.

Specifically, this adds psuedo-native, qemu-helper-native, and
unfs-server-native to the dependency chain for meta-ide-support.

This fixes [BUGID #392]

Also add poky-gen-tapdevs and remove runqemu-nfs from the
qemu-helper-native recipe, and update some qemu control script
error messages to suggest building meta-ide-support.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Scott Garman 14 years ago
parent
commit
7b079e1d08

+ 2 - 3
meta/recipes-devtools/qemu/qemu-helper-nativesdk_1.0.bb

@@ -1,19 +1,19 @@
 DESCRIPTION = "Qemu helper scripts from Poky"
 LICENSE = "GPL"
 RDEPENDS = "qemu-nativesdk"
-PR = "r7"
+PR = "r8"
 
 FILESPATH = "${FILE_DIRNAME}/qemu-helper"
 
 SRC_URI = "file://${POKYBASE}/scripts/poky-qemu \
            file://${POKYBASE}/scripts/poky-qemu-internal \
            file://${POKYBASE}/scripts/poky-addptable2image \
+           file://${POKYBASE}/scripts/poky-gen-tapdevs \
            file://${POKYBASE}/scripts/poky-qemu-ifup \
            file://${POKYBASE}/scripts/poky-qemu-ifdown \
            file://${POKYBASE}/scripts/poky-find-native-sysroot \
            file://${POKYBASE}/scripts/poky-extract-sdk \
            file://${POKYBASE}/scripts/poky-export-rootfs \
-           file://${POKYBASE}/scripts/runqemu-nfs \
            file://tunctl.c \
            file://raw2flash.c \
           "
@@ -31,7 +31,6 @@ do_compile() {
 do_install() {
 	install -d ${D}${bindir}
 	install -m 0755 ${WORKDIR}${POKYBASE}/scripts/poky-* ${D}${bindir}/
-	install -m 0755 ${WORKDIR}${POKYBASE}/scripts/runqemu-nfs ${D}${bindir}/
 	install tunctl ${D}${bindir}/
 	install raw2flash.spitz ${D}${bindir}/
 	install flash2raw.spitz ${D}${bindir}/

+ 2 - 1
meta/recipes-devtools/unfs-server/unfs-server_2.2beta47.bb

@@ -3,7 +3,8 @@ SECTION = "console/network"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
 
-PR = "r0"
+RDEPENDS = "pseudo"
+PR = "r1"
 
 SRC_URI = "ftp://linux.mathematik.tu-darmstadt.de/pub/linux/oldstuff/people/okir/nfs-server-${PV}.tar.gz \
            file://001-2.2b47-2.2b51.patch \

+ 1 - 1
meta/recipes-tbd/meta/meta-ide-support.bb

@@ -1,6 +1,6 @@
 DESCRIPTION = "Meta package for ensuring the build directory contains all appropriate toolchain packages for using an IDE"
 LICENSE = "MIT"
-DEPENDS = "virtual/libc gdb-cross"
+DEPENDS = "virtual/libc gdb-cross qemu-helper-native unfs-server-native"
 PR = "r1"
 
 inherit meta toolchain-scripts

+ 1 - 1
scripts/poky-export-rootfs

@@ -50,7 +50,7 @@ if [ ! -e "$POKY_NATIVE_SYSROOT/usr/sbin/rpc.mountd" ]; then
 	echo "Error: Unable to find rpc.mountd binary in $POKY_NATIVE_SYSROOT/usr/sbin/"
 
 	if [ "x$POKY_DISTRO_VERSION" = "x" ]; then
-	    echo "Have you run 'bitbake unfs-server-native'?"
+	    echo "Have you run 'bitbake meta-ide-support'?"
 	else
 	    echo "This shouldn't happen - something is missing from your toolchain installation"
 	fi

+ 1 - 1
scripts/poky-find-native-sysroot

@@ -60,7 +60,7 @@ if [ ! -e "$POKY_NATIVE_SYSROOT/usr/bin/pseudo" ]; then
     echo "Error: Unable to find pseudo binary in $POKY_NATIVE_SYSROOT/usr/bin/"
 
     if [ "x$POKY_DISTRO_VERSION" = "x" ]; then
-        echo "Have you run 'bitbake pseudo-native'?"
+        echo "Have you run 'bitbake meta-ide-support'?"
     else
         echo "This shouldn't happen - something is wrong with your toolchain installation"
     fi

+ 1 - 1
scripts/poky-qemu-ifdown

@@ -50,7 +50,7 @@ if [ ! -e "$TUNCTL" ]; then
 	if [[ "$NATIVE_SYSROOT_DIR" =~ ^\/opt\/poky ]]; then
 		echo "This shouldn't happen - something is wrong with your toolchain installation"
 	else
-		echo "Have you run 'bitbake qemu-helper-native'?"
+		echo "Have you run 'bitbake meta-ide-support'?"
 	fi
 
 	exit 1

+ 1 - 1
scripts/poky-qemu-ifup

@@ -57,7 +57,7 @@ if [ ! -x "$TUNCTL" ]; then
 	if [[ "$NATIVE_SYSROOT_DIR" =~ ^\/opt\/poky ]]; then
 		echo "This shouldn't happen - something is wrong with your toolchain installation"
 	else
-		echo "Have you run 'bitbake qemu-helper-native'?"
+		echo "Have you run 'bitbake meta-ide-support'?"
 	fi
 	
 	exit 1