diff options
author | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
---|---|---|
committer | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
commit | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch) | |
tree | b4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /external/poky/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
agl-basesystem
Diffstat (limited to 'external/poky/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb')
-rw-r--r-- | external/poky/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/external/poky/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb b/external/poky/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb new file mode 100644 index 00000000..b423fda6 --- /dev/null +++ b/external/poky/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb @@ -0,0 +1,27 @@ +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=" + +# The upstream buildsystem uses 'docdir' as the path where it puts AUTHORS, +# README, etc, but we don't want those in the root of our docdir. +docdir .= "/${BPN}" + +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" + |