From 28af3d655548c0e12872ce52eb8a2fa95a87763a Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Thu, 17 May 2018 21:32:05 +0200 Subject: host-autotools-libtool: run autotools in .extract.post This needs special handling because libtool is part of the autogen.sh magic so that cannot be used here. Do all necessary things a a custom .extract.post stage instead. Signed-off-by: Michael Olbrich --- rules/host-autotools-libtool.in | 1 + rules/host-autotools-libtool.make | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/rules/host-autotools-libtool.in b/rules/host-autotools-libtool.in index 4fd96e71a..1a16eed63 100644 --- a/rules/host-autotools-libtool.in +++ b/rules/host-autotools-libtool.in @@ -3,4 +3,5 @@ config HOST_AUTOTOOLS_LIBTOOL bool select HOST_AUTOTOOLS_AUTOMAKE + select HOST_AUTOTOOLS_AUTOCONF default y diff --git a/rules/host-autotools-libtool.make b/rules/host-autotools-libtool.make index 2081eae40..23ac42bcc 100644 --- a/rules/host-autotools-libtool.make +++ b/rules/host-autotools-libtool.make @@ -28,6 +28,16 @@ HOST_AUTOTOOLS_LIBTOOL_LICENSE := GPL-2.0-or-later $(STATEDIR)/autogen-tools: $(STATEDIR)/host-autotools-libtool.install.post +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-autotools-libtool.extract.post: + @$(call targetinfo) + @cd $(HOST_AUTOTOOLS_LIBTOOL_DIR) && aclocal && autoreconf --force && autoheader + @$(call world/patchin/post, HOST_AUTOTOOLS_LIBTOOL) + @$(call touch) + # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -- cgit v1.2.3