summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-09-07 10:15:00 -0700
committerKhem Raj <raj.khem@gmail.com>2010-09-07 14:43:09 -0700
commit079ae22e0546eb055d883c7afe148fb6ccd703f4 (patch)
treeb83328656a051920a52240e55897a144d5713457
parent0c1a8195b2b43ce99b7b4ac6b9d35389dbc5210f (diff)
midpath-backend-sdl_0.2+0.3rc2.bb: Fix QA errors and remove do_staging
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes/midpath/midpath-backend-sdl_0.2+0.3rc2.bb10
1 files changed, 4 insertions, 6 deletions
diff --git a/recipes/midpath/midpath-backend-sdl_0.2+0.3rc2.bb b/recipes/midpath/midpath-backend-sdl_0.2+0.3rc2.bb
index 11bc942e80..d5934ef534 100644
--- a/recipes/midpath/midpath-backend-sdl_0.2+0.3rc2.bb
+++ b/recipes/midpath/midpath-backend-sdl_0.2+0.3rc2.bb
@@ -1,6 +1,6 @@
require midpath-common.inc
-PR = "r0"
+PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
@@ -10,6 +10,8 @@ DEPENDS += "midpath-cldc virtual/libsdl libsdl-mixer libsdl-ttf libsdl-image lib
RDEPENDS_${PN} = "${PN}-jni"
+TARGET_CC_ARCH += "${LDFLAGS}"
+
do_compile() {
# Only sdljava-cldc and native SDL backend library is enabled
midpath_build \
@@ -41,13 +43,9 @@ do_install() {
oe_libinstall -C dist -so libsdljava_ttf ${D}${libdir_jni}
oe_libinstall -C dist -so libsdljava_image ${D}${libdir_jni}
oe_libinstall -C dist -so libsdljava_gfx ${D}${libdir_jni}
-}
-do_stage() {
- install -d ${STAGING_DATADIR}/midpath
- install -m 0644 dist/sdljava-cldc.jar ${STAGING_DATADIR}/midpath
}
-
+
PACKAGES = "${PN} ${PN}-jni ${PN}-jni-dbg"
FILES_${PN} = "\