All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH next 1/3] ed: add host package
@ 2017-05-12 14:28 Vicente Olivert Riera
  2017-05-12 14:28 ` [Buildroot] [PATCH next 2/3] bc: " Vicente Olivert Riera
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Vicente Olivert Riera @ 2017-05-12 14:28 UTC (permalink / raw)
  To: buildroot

This will be necessary for updating bc's version in a subsequent patch.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/ed/ed.mk | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/package/ed/ed.mk b/package/ed/ed.mk
index ada0316..7f69480 100644
--- a/package/ed/ed.mk
+++ b/package/ed/ed.mk
@@ -21,12 +21,29 @@ define ED_CONFIGURE_CMDS
 	)
 endef
 
+define HOST_ED_CONFIGURE_CMDS
+	(cd $(@D); \
+		$(HOST_MAKE_ENV) ./configure \
+		--prefix=/usr \
+		$(HOST_CONFIGURE_OPTS) \
+	)
+endef
+
 define ED_BUILD_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
 endef
 
+define HOST_ED_BUILD_CMDS
+	$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
+endef
+
 define ED_INSTALL_TARGET_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
 endef
 
+define HOST_ED_INSTALL_CMDS
+	$(HOST_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(HOST_DIR)" install
+endef
+
 $(eval $(generic-package))
+$(eval $(host-generic-package))
-- 
2.10.2

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-12 14:28 [Buildroot] [PATCH next 1/3] ed: add host package Vicente Olivert Riera
2017-05-12 14:28 ` [Buildroot] [PATCH next 2/3] bc: " Vicente Olivert Riera
2017-05-12 14:28 ` [Buildroot] [PATCH next 3/3] bc: bump version to 1.07.1 Vicente Olivert Riera
2017-07-03 16:47   ` Romain Naour
2017-07-16 14:05 ` [Buildroot] [PATCH next 1/3] ed: add host package Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.