From eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 Mon Sep 17 00:00:00 2001 From: Dave Cobbley Date: Tue, 14 Aug 2018 10:05:37 -0700 Subject: [Subtree] Removing import-layers directory As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley Signed-off-by: Brad Bishop --- .../recipes-devtools/dmidecode/dmidecode_3.1.bb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 poky/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb (limited to 'poky/meta/recipes-devtools/dmidecode') diff --git a/poky/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb b/poky/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb new file mode 100644 index 000000000..f83281e23 --- /dev/null +++ b/poky/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb @@ -0,0 +1,23 @@ +SUMMARY = "DMI (Desktop Management Interface) table related utilities" +HOMEPAGE = "http://www.nongnu.org/dmidecode/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/dmidecode/${BP}.tar.xz" + +COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm|powerpc|powerpc64).*-linux" + +EXTRA_OEMAKE = "-e MAKEFLAGS=" + +do_install() { + oe_runmake DESTDIR="${D}" install +} + +do_unpack_extra() { + sed -i -e '/^prefix/s:/usr/local:${exec_prefix}:' ${S}/Makefile +} +addtask unpack_extra after do_unpack before do_patch + +SRC_URI[md5sum] = "679c2c015c515aa6ca5f229aee49c102" +SRC_URI[sha256sum] = "d766ce9b25548c59b1e7e930505b4cad9a7bb0b904a1a391fbb604d529781ac0" + -- cgit v1.2.3