diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2018-11-21 12:59:47 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-11-29 22:31:27 +0000 |
commit | 4f848a33b321ab2cf3bdab543d31a42e20d4492b (patch) | |
tree | e66b9df84665e0732405bc7018476ad5773460ad /meta-agl-bsp/meta-raspberrypi/recipes-kernel/fdtoverlay/fdtoverlay.inc | |
parent | ab339cdf253ed1486dce115c7169ea4948787f96 (diff) |
fdtoverlay: Provide fdtoverlay-native
Add a recipe for building fdtoverlay native from the source
code of newer dtc without upgrading the version of the main
dtc recipe.
Bug-AGL: SPEC-1775
Change-Id: I251b22e0ecd4d2de088340daf19b602670668d55
Suggested-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
(cherry picked from commit 6f78dc25c34e52f6cc064dbbcb09559427ce9216)
Diffstat (limited to 'meta-agl-bsp/meta-raspberrypi/recipes-kernel/fdtoverlay/fdtoverlay.inc')
-rw-r--r-- | meta-agl-bsp/meta-raspberrypi/recipes-kernel/fdtoverlay/fdtoverlay.inc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/fdtoverlay/fdtoverlay.inc b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/fdtoverlay/fdtoverlay.inc new file mode 100644 index 000000000..e769a1864 --- /dev/null +++ b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/fdtoverlay/fdtoverlay.inc @@ -0,0 +1,26 @@ +SUMMARY = "fdtoverlay from the device tree compiler" +HOMEPAGE = "https://devicetree.org/" +DESCRIPTION = "fdtoverlay is a tool to apply a number of overlays to a base blob." +SECTION = "bootloader" +LICENSE = "GPLv2 | BSD" +DEPENDS = "flex-native bison-native" + +SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git \ + file://make_install.patch \ + " +UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" + +EXTRA_OEMAKE='NO_PYTHON=1 PREFIX="${prefix}" LIBDIR="${libdir}" DESTDIR="${D}"' + +S = "${WORKDIR}/git" + +do_compile () { + oe_runmake fdtoverlay +} + +do_install () { + install -d ${D}/${bindir} + install -m 0755 ${S}/fdtoverlay ${D}/${bindir}/fdtoverlay +} + +FILES_${PN} = "${bindir}/fdtoverlay" |