meta-sunxi/recipes-support/sunxi-tools/sunxi-tools_git.bb
Bartłomiej Burdukiewicz e66258ad7a
layer: convert to new override syntax 💥
OE/Yocto is migration towards new override syntax,
current master (upcomming honister release) will not
tolerate "_" as override operator.

New override syntax will be backported to
dunfell, gatesgarth, hardknott releases.

Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com>
2021-08-23 18:47:19 +02:00

35 lines
990 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"
inherit pkgconfig
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}
}