]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
perf: pass DESTDIR in EXTRA_OEMAKE
authorRoss Burton <ross.burton@intel.com>
Tue, 19 Apr 2016 12:56:00 +0000 (13:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Apr 2016 13:47:35 +0000 (14:47 +0100)
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@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/perf/perf.bb

index c43f39cd1d5aa7940a205c1584a655c7583bd8de..3d6ffb30fb083e9c325419b2853b90626a504edb 100644 (file)
@@ -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