Browse Source

raspi-utils: added new recipe

For now only the 'dtmerge' (including 'dtoverlay' and 'dtparam') and 'pinctrl' utilities are included.

Added the 'raspi-' prefix to make it less conflicting with other 'utils' recipes.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Jan Vermaete 11 months ago
parent
commit
1aeda3f52a
1 changed files with 22 additions and 0 deletions
  1. 22 0
      recipes-devtools/raspi-utils/raspi-utils_git.bb

+ 22 - 0
recipes-devtools/raspi-utils/raspi-utils_git.bb

@@ -0,0 +1,22 @@
+SUMMARY = "A collection of scripts and simple applications"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENCE;md5=4c01239e5c3a3d133858dedacdbca63c"
+
+DEPENDS:append = " dtc"
+
+PV = "1.0+git"
+
+SRC_URI = "git://github.com/raspberrypi/utils;protocol=https;branch=master"
+
+SRCREV = "b9c63214c535d7df2b0fa6743b7b3e508363c25a"
+
+S = "${WORKDIR}/git"
+
+FILES:${PN}:append = " \
+    ${datadir}/bash-completion/completions/pinctrl \
+"
+
+OECMAKE_TARGET_COMPILE = "pinctrl/all dtmerge/all"
+OECMAKE_TARGET_INSTALL = "pinctrl/install dtmerge/install"
+
+inherit cmake