From: Christopher Larson Date: Thu, 21 Jun 2018 21:07:35 +0000 (+0500) Subject: dmidecode: correct docdir X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~17552 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af4f0d44acef328245dfe1bd102bb5e61293ee2d;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git dmidecode: correct docdir Without this, the package clutters up the root of /usr/share/doc. Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb b/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb index f83281e2359..b423fda6d24 100644 --- a/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb +++ b/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb @@ -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 }