diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-03 15:49:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-05 15:50:19 +0000 |
commit | 12d613f9a9566cc4bf2555970d4eae8ba3868c36 (patch) | |
tree | cf5f1ee842c21043509743982d7d4f9e5727cab7 /meta/classes | |
parent | b924b499ecd28bb433a12fb327f0e63d66db97b5 (diff) | |
download | ast2050-yocto-poky-12d613f9a9566cc4bf2555970d4eae8ba3868c36.zip ast2050-yocto-poky-12d613f9a9566cc4bf2555970d4eae8ba3868c36.tar.gz |
alsa-tools/autotools: Ensure that aclocal files can be present with AUTOTOOLS_COPYACLOCAL variable
Introduce a AUTOTOOLS_COPYACLOCAL variable which forces the copy of the aclocal
files even when a configure.ac/.in file isn't present.
Use this new feature in alsa-tools.
(From OE-Core rev: 07db5222a970e40bff51c5df793f0021b0e2aba8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/autotools.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 01e49c9..b645996 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -138,7 +138,8 @@ ACLOCALDIR = "${B}/aclocal-copy" python autotools_copy_aclocals () { s = d.getVar("S", True) if not os.path.exists(s + "/configure.in") and not os.path.exists(s + "/configure.ac"): - return + if not d.getVar("AUTOTOOLS_COPYACLOCAL"): + return taskdepdata = d.getVar("BB_TASKDEPDATA", False) pn = d.getVar("PN", True) |