[oe-commits] [openembedded-core] 16/21: externalsrc: do not call make clean for recipes with CLEANBROKEN = "1" set

git at git.openembedded.org git at git.openembedded.org
Sun Mar 25 08:41:56 UTC 2018


This is an automated email from the git hooks/post-receive script.

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

commit 21fa28d8faf33b2717e38886352238dd360ef346
Author: Andreas Müller <schnitzeltony at gmail.com>
AuthorDate: Wed Mar 21 13:20:48 2018 +0100

    externalsrc: do not call make clean for recipes with CLEANBROKEN = "1" set
    
    ERROR: distrho-ports-0.0.0+git999-r0 do_buildclean: oe_runmake failed
    ERROR: distrho-ports-0.0.0+git999-r0 do_buildclean: Function failed: do_buildclean
    ERROR: Logfile of failure stored in: <...>/temp/log.do_buildclean.17285
    Log data follows:
    | DEBUG: Executing shell function do_buildclean
    | NOTE: make clean
    | make clean -C libs/drowaudio
    | make[1]: Entering directory '/home/a.mueller/data/oe-core/workspace/sources/distrho-ports/libs/drowaudio'
    | make clean -C build-drowaudio
    | make[2]: Entering directory '/home/a.mueller/data/oe-core/workspace/sources/distrho-ports/libs/drowaudio/build-drowaudio'
    | make[2]: *** No rule to make target 'clean'.  Stop.
    | make[2]: Leaving directory '/home/a.mueller/data/oe-core/workspace/sources/distrho-ports/libs/drowaudio/build-drowaudio'
    | make[1]: *** [Makefile:7: clean] Error 2
    | make[1]: Leaving directory '/home/a.mueller/data/oe-core/workspace/sources/distrho-ports/libs/drowaudio'
    | make: *** [Makefile:73: clean] Error 2
    | ERROR: oe_runmake failed
    
    Signed-off-by: Andreas Müller <schnitzeltony at gmail.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/externalsrc.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index ac1b904..3f1d396 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -173,7 +173,9 @@ do_buildclean[doc] = "Call 'make clean' or equivalent in ${B}"
 externalsrc_do_buildclean() {
 	if [ -e Makefile -o -e makefile -o -e GNUmakefile ]; then
 		rm -f ${@' '.join([x.split(':')[0] for x in (d.getVar('EXTERNALSRC_SYMLINKS') or '').split()])}
-		oe_runmake clean || die "make failed"
+		if [ "${CLEANBROKEN}" != "1" ]; then
+			oe_runmake clean || die "make failed"
+		fi
 	else
 		bbnote "nothing to do - no makefile found"
 	fi

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


More information about the Openembedded-commits mailing list