mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Jan Luebbe <jlu@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Jan Luebbe <jlu@pengutronix.de>
Subject: [ptxdist] [PATCH 1/2] e2fsprogs: install headers and host tools
Date: Mon,  6 Nov 2017 15:05:20 +0100	[thread overview]
Message-ID: <20171106140521.32437-1-jlu@pengutronix.de> (raw)

The compile_et and mk_cmds helpers are needed to generate code during
compilation.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
---
 rules/e2fsprogs.make      |  2 +-
 rules/host-e2fsprogs.make | 14 ++++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/rules/e2fsprogs.make b/rules/e2fsprogs.make
index 0b0a81668dd4..48806973beb9 100644
--- a/rules/e2fsprogs.make
+++ b/rules/e2fsprogs.make
@@ -73,7 +73,7 @@ E2FSPROGS_CONF_OPT	:= \
 	--without-included-gettext
 
 E2FSPROGS_MAKE_OPT	:= $(if $(filter 1,$(strip $(PTXDIST_VERBOSE))),V=1)
-E2FSPROGS_INSTALL_OPT	:= install
+E2FSPROGS_INSTALL_OPT	:= install install-libs
 
 # ----------------------------------------------------------------------------
 # Target-Install
diff --git a/rules/host-e2fsprogs.make b/rules/host-e2fsprogs.make
index c19b7b954b40..4c25cd9e2cb0 100644
--- a/rules/host-e2fsprogs.make
+++ b/rules/host-e2fsprogs.make
@@ -59,3 +59,17 @@ HOST_E2FSPROGS_CONF_OPT		:= \
 
 # vim: syntax=make
 
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+HOST_E2FSPROGS_INSTALL_OPT	:= install install-libs
+
+$(STATEDIR)/host-e2fsprogs.install.post:
+	@$(call targetinfo)
+	@$(call world/install.post, HOST_E2FSPROGS)
+	@sed -i -e 's,/share,$(PTXCONF_SYSROOT_HOST)/share,' \
+		$(PTXCONF_SYSROOT_HOST)/bin/compile_et
+	@sed -i -e 's,/share,$(PTXCONF_SYSROOT_HOST)/share,' \
+		$(PTXCONF_SYSROOT_HOST)/bin/mk_cmds
+	@$(call touch)
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2017-11-06 14:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-06 14:05 Jan Luebbe [this message]
2017-11-06 14:05 ` [ptxdist] [PATCH 2/2] krb5: add MIT Kerberos package Jan Luebbe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171106140521.32437-1-jlu@pengutronix.de \
    --to=jlu@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox