From 93a2c11b2d857e720b4f76435089621e989697ba Mon Sep 17 00:00:00 2001 From: Nicolas Aguirre Date: Sun, 7 Oct 2012 10:39:52 +0200 Subject: [PATCH] Add nand-part of sunxi-tools --- recipes-support/suxi-tools/sunxi-tools_git.bb | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 recipes-support/suxi-tools/sunxi-tools_git.bb diff --git a/recipes-support/suxi-tools/sunxi-tools_git.bb b/recipes-support/suxi-tools/sunxi-tools_git.bb new file mode 100644 index 0000000..236af03 --- /dev/null +++ b/recipes-support/suxi-tools/sunxi-tools_git.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Tools to help hacking Allwinner A10" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +PV = "1.0+git${SRCPV}" +PKGV = "1.0+git${GITPKGV}" +PR = "r1" +SRCREV = "1f5056275a6c026f308ac6f7ae52125c390d1d7c" + +SRC_URI = "git://github.com/amery/sunxi-tools.git;protocol=git" + +S = "${WORKDIR}/git" + +FILES_${PN} = "${bindir}/*" + +do_compile() { + cd ${S} + ${CC} -I./include nand-part.c -o nand-part +} + +do_install() { + install -d ${D}/${bindir} + install -m 755 ${S}/nand-part ${D}/${bindir} +} \ No newline at end of file