new file mode 100644
@@ -0,0 +1,17 @@
+DESCRIPTION = "Setup script needed for the QT4 sdk"
+
+RECIPE_TYPES = "canadian-cross"
+
+SRC_URI += "file://setup.sh"
+
+do_rstage[postfuncs] += "do_rstage_setupsdk"
+do_rstage_setupsdk () {
+ cp ${SRCDIR}/setup.sh ${D}
+}
+
+QT4_TOOLS="host:qmake host:glib host:qmake host:pkg-config"
+QT4_TOOLS:HOST_OS_mingw32 = ""
+
+PACKAGES = "${PN}"
+RDEPENDS_${PN} += "${QT4_TOOLS}"
+FILES_${PN} = "/setup.sh"
similarity index 100%
rename from recipes/sdk/qt4-sdk/setup.sh
rename to recipes/sdk/qt4-sdk-script/setup.sh
@@ -1,14 +1,7 @@
inherit sdk-image image-qa
-SRC_URI += "file://setup.sh"
-
IMAGE_BASENAME = "oe-lite-qt-sdk-${HOST_ARCH}-${TARGET_ARCH}"
-do_rstage[postfuncs] += "do_rstage_setupsdk"
-do_rstage_setupsdk () {
- cp ${SRCDIR}/setup.sh ${RSTAGE_DIR}
-}
-
#gstreamer
RDEPENDS += """
target:gstreamer
@@ -21,6 +14,7 @@ target:gst-plugins-base
#QT
RDEPENDS += """
+ qt4-sdk-script
target:qt
target:qt-dev
target:freetype
From: Christian Sørensen <christian.braunersorensen@prevas.dk> --- recipes/sdk/qt4-sdk-script.oe | 17 +++++++++++++++++ recipes/sdk/{qt4-sdk => qt4-sdk-script}/setup.sh | 0 recipes/sdk/qt4-sdk.oe | 8 +------- 3 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 recipes/sdk/qt4-sdk-script.oe rename recipes/sdk/{qt4-sdk => qt4-sdk-script}/setup.sh (100%)