From 12d613f9a9566cc4bf2555970d4eae8ba3868c36 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 3 Mar 2014 15:49:50 +0000 Subject: 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 --- meta/classes/autotools.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/classes/autotools.bbclass') diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 01e49c98bf..b645996136 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) -- cgit 1.2.3-korg