diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-03-22 18:01:10 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-28 15:54:52 +0100 |
commit | a797abe08bfe4144e120c984d1718c2cc3d87c0a (patch) | |
tree | 6776699dbd12bf40683cc0c67841920a3694b7db /meta/classes/package.bbclass | |
parent | a26becdf981b35d7ef8524f9e65c25a74b842f1d (diff) | |
download | openembedded-core-a797abe08bfe4144e120c984d1718c2cc3d87c0a.tar.gz openembedded-core-a797abe08bfe4144e120c984d1718c2cc3d87c0a.tar.bz2 openembedded-core-a797abe08bfe4144e120c984d1718c2cc3d87c0a.zip |
externalsrc: remove nostamp from do_configure
Extend the srctree_hash_files() function in externalsrc.bbclass to
handle non-Git source trees. If the source tree is not a git
repository, srctree_hash_files() now simply adds the whole source tree
as a dependency, causing bitbake to basically hash every file in it.
Hidden files and directories in the source tree root are ignored by the
glob currently used. This has the advantage of automatically ignoring
.git directory, for example.
During the first bitbake run preparing of the task runqueue may take
much longer if the source tree is not a git repository. The reason is
that all the files in the source tree are hashed. Subsequent builds are
not significantly slower because (most) file hashes are found from the
cache.
[YOCTO #8853]
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
0 files changed, 0 insertions, 0 deletions