]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
classes/externalsrc: re-run do_configure when configure files change paule/externalsrc-configure
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 11 Oct 2016 21:21:40 +0000 (10:21 +1300)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 11 Oct 2016 21:32:53 +0000 (10:32 +1300)
commitd9721dfc03d8cc0614dd6081cd4da109524eafca
tree4d92258d3cbaf1b4eeb3dd733b9239198b6cf234
parent806a910927f479207d47b06c20a0497e91203266
classes/externalsrc: re-run do_configure when configure files change

If the user modifies files such as CMakeLists.txt in the case of cmake,
we want do_configure to re-run so that those changes can take effect. In
order to accomplish that, have a variable CONFIGURE_FILES which
specifies a list of files that will be put into do_configure's checksum
(either full paths, or just filenames which will be searched for in the
entire source tree). CONFIGURE_FILES then just needs to be set
appropriately depending on what do_configure is doing; for now I've set
this for autotools and cmake which are the most common cases.

Fixes [YOCTO #7617].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/classes/autotools.bbclass
meta/classes/cmake.bbclass
meta/classes/externalsrc.bbclass