SDK generation


Matthias Van Gestel <maregt0@...>
 

Hi I'm having some trouble generating a Qt(4) SDK that I can use on a host system. We generate our own image edna-image-minimal:

PR="2"
####################################################################
# Copied from meta/recipes-core/images/core-image-minibal.bb
####################################################################
DESCRIPTION = "A small image just capable of allowing a device to boot."

IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}"

IMAGE_LINGUAS = " "

LICENSE = "MIT"

inherit core-image

# remove not needed ipkg informations
ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "
####################################################################
# Copied from meta/recipes-graphics/images/core-image-x11.bb
####################################################################
IMAGE_FEATURES += "splash package-management x11-base xserver-xf86-config"
####################################################################
# IMAGE_INSTALL += "qtbase qtbase-tools qtbase-plugins" 
# qtbase-tools qtbase-plugins"

IMAGE_FEATURES += "qt4-pkgs"
IMAGE_INSTALL += "mini-x-session"
TOOLCHAIN_HOST_TASK += "nativesdk-qemu"
----------------------------------------------------------------------
Now when I try to generate a SDK with the following command: MACHINE="qemuarm" bitbake edna-image-minimal -c populate_sdk
The SDK script gets generated, I execute it and it extracts itself.

Now I'd like to know where I can find the native tools to cross compile my application, I have no qmake or cross-gcc.

Another issue is about the eclipse adt plugin, I installed the plugin configured the sysroot path and the cross compiler path (it uses scripts from /opt/poky/1.4.1) and then in the Qemu part I picked the kernel generated in the build/tmp/deploy/images, but then it complains about a pseudo and asks about qemu-extract-sdk. So to cut the story short I'm stuck at generating a decent cross sdk.

How do I proceed, or are there other ways I can do to get a decent SDK working?


Join {yocto@lists.yoctoproject.org to automatically receive all group messages.