diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-05-17 21:32:05 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-05-17 21:32:08 +0200 |
commit | 28af3d655548c0e12872ce52eb8a2fa95a87763a (patch) | |
tree | 56d7541b00c07f0120ecbca89bc814c5191786b4 /rules/host-autotools-libtool.make | |
parent | 7efcebab9705b6e6c829fad0ec4db3054f9d630e (diff) | |
download | ptxdist-28af3d655548c0e12872ce52eb8a2fa95a87763a.tar.gz ptxdist-28af3d655548c0e12872ce52eb8a2fa95a87763a.tar.xz |
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 <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-autotools-libtool.make')
-rw-r--r-- | rules/host-autotools-libtool.make | 10 |
1 files changed, 10 insertions, 0 deletions
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 @@ -29,6 +29,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 # ---------------------------------------------------------------------------- |