linux-ti-staging: add recipe for tracking TI latest staging tree
[glsdk/meta-ti-glsdk.git] / recipes-bsp / x-load / x-load_1.46-psp.bb
1 require x-load.inc
3 DEPENDS += "signgp-native"
5 LIC_FILES_CHKSUM = "file://README;md5=fb7a7e60aceaa99c529b6c667dfcf474"
7 COMPATIBLE_MACHINE = "am3517-evm"
9 PV = "1.46+${PR}+gitr${SRCREV}"
10 PR ="r0"
11 PE = "1"
13 # TI PSP v1.46_OMAPPSP_03.00.01.06 (Tag is one commit different)
14 SRCREV_pn-${PN} = "fc6d5be15c703d21aef0ae0b8c02177721f0445f"
15 SRC_URI = "git://arago-project.org/git/projects/x-load-omap3.git;protocol=git"
17 S = "${WORKDIR}/git"
19 do_compile () {
20         unset LDFLAGS
21         unset CFLAGS
22         unset CPPFLAGS
23         oe_runmake distclean
24         oe_runmake ${XLOAD_MACHINE}
25         oe_runmake
26 }
28 do_install () {
29         signGP x-load.bin ${XLOAD_LOAD_ADDRESS}
31         install -d ${D}/boot
32         install x-load.bin.ift ${D}/boot/${MLO_IMAGE}
33         ln -sf ${MLO_IMAGE} ${D}/boot/${MLO_SYMLINK_NOMACHINE}
34 }
36 FILES_${PN} = "/boot"
38 PACKAGE_ARCH = "${MACHINE_ARCH}"