[oe-commits] [openembedded-core] 07/07: perf: pass DESTDIR in EXTRA_OEMAKE

git at git.openembedded.org git at git.openembedded.org
Tue Apr 19 13:52:21 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 76c473dbe9e6a1eb8bca89f26cf29b41ca18d680
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Tue Apr 19 13:56:00 2016 +0100

    perf: pass DESTDIR in EXTRA_OEMAKE
    
    Instead of passing DESTDIR just in the make install invocation, pass it in
    EXTRA_OEMAKE.  This appears to stop perf from rebuilding at instal time for me,
    which appears to be the trigger for the random build failure.
    
    [ YOCTO #9182 ]
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-kernel/perf/perf.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index c43f39c..3d6ffb3 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -88,6 +88,7 @@ EXTRA_OEMAKE = '\
 '
 
 EXTRA_OEMAKE += "\
+    'DESTDIR=${D}' \
     'prefix=${prefix}' \
     'bindir=${bindir}' \
     'sharedir=${datadir}' \
@@ -110,7 +111,7 @@ do_compile() {
 do_install() {
 	# Linux kernel build system is expected to do the right thing
 	unset CFLAGS
-	oe_runmake DESTDIR=${D} install
+	oe_runmake install
 	# we are checking for this make target to be compatible with older perf versions
 	if [ "${@perf_feature_enabled('perf-scripting', 1, 0, d)}" = "1" ] && grep -q install-python_ext ${S}/tools/perf/Makefile*; then
 		oe_runmake DESTDIR=${D} install-python_ext

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list