signgp: Point S to WORKDIR
[glsdk/meta-ti-glsdk.git] / recipes-bsp / x-load / signgp.bb
1 LICENSE = "NewBSD"
2 DESCRIPTION = "Tool to sign omap3 x-loader images"
3 LIC_FILES_CHKSUM = "file://signGP.c;md5=960f484fea13941ca88821366f9dade0"
5 SRC_URI = "file://signGP.c"
7 do_compile() {
8         ${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/signGP.c -o signGP
9 }
11 do_install() {
12         install -d ${D}${bindir}
13         install -m 0755 signGP ${D}${bindir}
14 }
16 S = "${WORKDIR}"
18 NATIVE_INSTALL_WORKS = "1"
20 BBCLASSEXTEND = "native nativesdk"