Lines Matching +full:re +full:- +full:configured
2 # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
7 # 3) configured source: ARCHIVER_MODE[src] = "configured"
12 # ARCHIVER_MODE[diff-exclude] ?= ".pc autom4te.cache patches"
13 # 6) The environment data, similar to 'bitbake -e recipe':
27 # per-recipe directories in a similar way to other archiver modes.
28 # Post-processing may be required to produce a single mirror directory.
44 COPYLEFT_RECIPE_TYPES ?= 'target native nativesdk cross crosssdk cross-canadian'
50 ARCHIVER_MODE[diff-exclude] ?= ".pc autom4te.cache patches"
57 ARCHIVER_TOPDIR ?= "${WORKDIR}/archiver-sources"
60 ARCHIVER_RPMTOPDIR ?= "${WORKDIR}/deploy-sources-rpm"
62 ARCHIVER_WORKDIR = "${WORKDIR}/archiver-work/"
93 # glibc-locale: do_fetch, do_unpack and do_patch tasks have been deleted,
95 if pn.startswith('glibc-locale'):
98 # We just archive gcc-source for all the gcc related recipes
100 and not pn.startswith('gcc-source'):
101 bb.debug(1, 'archiver: %s is excluded, covered by gcc-source' % pn)
104 # TARGET_SYS in ARCHIVER_ARCH will break the stamp for gcc-source in multiconfig
105 if pn.startswith('gcc-source'):
117 # 'patched' and 'configured' invoke do_unpack_and_patch because
124 elif ar_src == "configured":
129 # There is a corner case with "gcc-source-${PV}" recipes, they don't have
157 d.appendVarFlag('do_package_write_rpm', 'sstate-inputdirs', ' ${ARCHIVER_RPMTOPDIR}')
158 d.appendVarFlag('do_package_write_rpm', 'sstate-outputdirs', ' ${DEPLOY_DIR_SRC}')
167 elif ar_src == "configured":
171 # Take all the sources for a recipe and put them in WORKDIR/archiver-work/.
249 s.write('%s -p%s\n' % (os.path.basename(local), parm['striplevel']))
269 # Forcibly expand the sysroot paths as we're about to change WORKDIR
276 if d.getVarFlag('ARCHIVER_MODE', 'src') == 'configured':
277 bb.note('Archiving the configured source...')
279 # "gcc-source-${PV}" recipes don't have "do_configure"
281 if pn.startswith("gcc-source-"):
285 # The libtool-native's do_configure will remove the
286 # ${STAGING_DATADIR}/aclocal/libtool.m4, so we can't re-run the
287 # do_configure, we archive the already configured ${S} to
289 # The kernel class functions require it to be on work-shared, we
291 # configured ${S}
292 elif not (pn == 'libtool-native' or is_work_shared(d)):
319 create_tarball(d, srcdir, 'configured', ar_outdir)
390 cmd = 'cp -fpPRH %s %s' % (localpath, destdir)
413 # work-shared location. Use os.path.realpath to make sure
420 filename = '%s-%s.tar.%s' % (d.getVar('PF'), suffix, compression_method)
438 # The diff --exclude can't exclude the file with path, so we copy
443 for i in d.getVarFlag('ARCHIVER_MODE', 'diff-exclude').split():
453 out_file = os.path.join(ar_outdir, '%s-diff.gz' % d.getVar('PF'))
454 diff_cmd = 'diff -Naur %s.orig %s.patched | gzip -c > %s' % (basename, basename, out_file)
462 return pn.startswith('gcc-source') or \
464 … (bb.data.inherits_class('kernelsrc', d) and d.expand("${TMPDIR}/work-shared") in d.getVar('S'))
469 [ 'patched', 'configured'] and \
477 # The kernel class functions require it to be on work-shared, so we don't change WORKDIR
528 import re
531 require_re = re.compile( r"require\s+(.+)" )
532 include_re = re.compile( r"include\s+(.+)" )
535 '%s-recipe' % d.getVar('PF'))
543 bbappend_re = re.compile( r".*/%s_[^/]*\.bbappend$" % re.escape(pn))
544 bbappend_re1 = re.compile( r".*/%s\.bbappend$" % re.escape(pn))
571 dump environment data to ${PF}-showdata.dump
575 '%s-showdata.dump' % d.getVar('PF'))
594 do_deploy_archives[sstate-inputdirs] = "${ARCHIVER_TOPDIR}"
595 do_deploy_archives[sstate-outputdirs] = "${DEPLOY_DIR_SRC}"
611 # Add tasks in the correct order, specifically for linux-yocto to avoid race condition.
615 if bb.data.inherits_class('kernel-yocto', d):