Message ID | 1349276339-21164-1-git-send-email-marcin.juszkiewicz@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index e4e034b..7effd48 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -99,6 +99,10 @@ autotools_preconfigure() { mkdir ${B} fi fi + + # not all recipes which use autotools use it's do_configure + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} } autotools_postconfigure(){
For new architectures we need to update gnu-config for all recipes which use autotools. Normally we do that with "autoreconf" but some recipes (db, ncurses, slang, xinetd for example) have own do_configure function so we need to patch them one by one. This solution handles this once and for all. There are some recipes which will need special treatment but that's because they have config.* files in other directory than ${S}. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> --- meta/classes/autotools.bbclass | 4 ++++ 1 file changed, 4 insertions(+)