mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] e2fsprogs: install headers and host tools
@ 2017-11-06 14:05 Jan Luebbe
  2017-11-06 14:05 ` [ptxdist] [PATCH 2/2] krb5: add MIT Kerberos package Jan Luebbe
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Luebbe @ 2017-11-06 14:05 UTC (permalink / raw)
  To: ptxdist; +Cc: Jan Luebbe

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-06 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-06 14:05 [ptxdist] [PATCH 1/2] e2fsprogs: install headers and host tools Jan Luebbe
2017-11-06 14:05 ` [ptxdist] [PATCH 2/2] krb5: add MIT Kerberos package Jan Luebbe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox