x-load: add 1.46-psp
authorKoen Kooi <koen@dominion.thruhere.net>
Wed, 20 Jul 2011 08:09:29 +0000 (10:09 +0200)
committerKoen Kooi <koen@dominion.thruhere.net>
Wed, 20 Jul 2011 08:20:57 +0000 (10:20 +0200)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
recipes-bsp/x-load/x-load.inc
recipes-bsp/x-load/x-load_1.46-psp.bb [new file with mode: 0644]

index db45286ab92940d7a94c7f95f04d9ac8f30c5d9b..55cad232ffecd91af477bca51358b23923c377cd 100644 (file)
@@ -39,7 +39,7 @@ FILES_${PN} = "/boot"
 
 inherit deploy
 
-addtask deploy before do_package after do_compile
+addtask deploy before do_package after do_install
 
 do_deploy () {
        install -d ${DEPLOY_DIR_IMAGE}
diff --git a/recipes-bsp/x-load/x-load_1.46-psp.bb b/recipes-bsp/x-load/x-load_1.46-psp.bb
new file mode 100644 (file)
index 0000000..108e408
--- /dev/null
@@ -0,0 +1,38 @@
+require x-load.inc
+
+DEPENDS += "signgp-native"
+
+LIC_FILES_CHKSUM = "file://README;md5=fb7a7e60aceaa99c529b6c667dfcf474"
+
+COMPATIBLE_MACHINE = "am3517-evm"
+
+PV = "1.46+${PR}+gitr${SRCREV}"
+PR ="r0"
+PE = "1"
+
+# TI PSP v1.46_OMAPPSP_03.00.01.06 (Tag is one commit different)
+SRCREV_pn-${PN} = "fc6d5be15c703d21aef0ae0b8c02177721f0445f"
+SRC_URI = "git://arago-project.org/git/projects/x-load-omap3.git;protocol=git"
+
+S = "${WORKDIR}/git"
+
+do_compile () {
+       unset LDFLAGS
+       unset CFLAGS
+       unset CPPFLAGS
+       oe_runmake distclean
+       oe_runmake ${XLOAD_MACHINE}
+       oe_runmake
+}
+
+do_install () {
+       signGP x-load.bin ${XLOAD_LOAD_ADDRESS}
+
+       install -d ${D}/boot
+       install x-load.bin.ift ${D}/boot/${MLO_IMAGE}
+       ln -sf ${MLO_IMAGE} ${D}/boot/${MLO_SYMLINK_NOMACHINE}
+}
+
+FILES_${PN} = "/boot"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"