mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-26 13:08:21 +01:00
33 lines
971 B
BlitzBasic
33 lines
971 B
BlitzBasic
DESCRIPTION = "Tools to help hacking Allwinner A10 and A20"
|
|
|
|
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=97bd67b5d0309e452b637f76e1c9a23c"
|
|
|
|
PR = "r0"
|
|
|
|
DEPENDS += "libusb"
|
|
|
|
SRC_URI = "git://github.com/linux-sunxi/sunxi-tools;protocol=git"
|
|
SRCREV = "9a3d62aa0c820b3dd42ba3409b2043f4143683cd"
|
|
|
|
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}/sunxi-bootinfo ${D}/${bindir}
|
|
install -m 755 ${S}/bin2fex ${D}/${bindir}
|
|
install -m 755 ${S}/sunxi-fel ${D}/${bindir}
|
|
install -m 755 ${S}/fel-gpio ${D}/${bindir}
|
|
install -m 755 ${S}/fex2bin ${D}/${bindir}
|
|
install -m 755 ${S}/sunxi-fexc ${D}/${bindir}
|
|
install -m 755 ${S}/sunxi-nand-part ${D}/${bindir}
|
|
install -m 755 ${S}/sunxi-pio ${D}/${bindir}
|
|
}
|