mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-16 18:28:23 +01:00
36 lines
1.0 KiB
BlitzBasic
36 lines
1.0 KiB
BlitzBasic
DESCRIPTION = "Tools to help hacking Allwinner A10 and A20"
|
|
|
|
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
PV = "1.0+git${SRCPV}"
|
|
PKGV = "1.0+git${GITPKGV}"
|
|
PR = "r3"
|
|
SRCREV = "ed6f7969d80b91048b0ed95ccb61cc98f46fead7"
|
|
|
|
DEPENDS += "libusb"
|
|
|
|
SRC_URI = "git://github.com/linux-sunxi/sunxi-tools;protocol=git"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
FILES_${PN} = "${bindir}/*"
|
|
|
|
CFLAGS = "-std=c99 -D_POSIX_C_SOURCE=200112L -I./include"
|
|
CFLAGS_class-native = "-std=c99 -D_POSIX_C_SOURCE=200112L -I./include"
|
|
|
|
do_install() {
|
|
install -d ${D}/${bindir}
|
|
install -m 755 ${S}/bootinfo ${D}/${bindir}
|
|
install -m 755 ${S}/bin2fex ${D}/${bindir}
|
|
install -m 755 ${S}/fel ${D}/${bindir}
|
|
install -m 755 ${S}/fel-gpio ${D}/${bindir}
|
|
install -m 755 ${S}/fex2bin ${D}/${bindir}
|
|
install -m 755 ${S}/fexc ${D}/${bindir}
|
|
install -m 755 ${S}/nand-part ${D}/${bindir}
|
|
install -m 755 ${S}/pio ${D}/${bindir}
|
|
install -m 755 ${S}/usb-boot ${D}/${bindir}
|
|
}
|