]> code.ossystems Code Review - openembedded-core.git/commitdiff
dmidecode: correct docdir
authorChristopher Larson <chris_larson@mentor.com>
Thu, 21 Jun 2018 21:07:35 +0000 (02:07 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Jun 2018 12:53:28 +0000 (13:53 +0100)
Without this, the package clutters up the root of /usr/share/doc.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/dmidecode/dmidecode_3.1.bb

index f83281e2359ca59d5d117ecca106eb00e44870f8..b423fda6d241e499b7ffa6b5d1506caa319afdb2 100644 (file)
@@ -9,6 +9,10 @@ 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
 }