Skip to content

Instantly share code, notes, and snippets.

@Yatekii
Created January 15, 2020 10:16
Show Gist options
  • Save Yatekii/2ff8be70835b820109bc9883cbb73b1d to your computer and use it in GitHub Desktop.
Save Yatekii/2ff8be70835b820109bc9883cbb73b1d to your computer and use it in GitHub Desktop.
inherit cargo
SUMMARY = "GPIO Utilities"
LICENSE = "CLOSED"
SRCREV = "${AUTOREV}"
PV = "${SRCPV}"
SRC_URI = "git://github.com/rust-embedded/gpio-utils.git"
S = "${WORKDIR}/git"
do_install () {
mkdir -p ${D}${bindir}/
cp ${WORKDIR}/target/armv7-unknown-linux-gnueabihf/release/gpio ${D}${bindir}/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment