Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] infozip: Add a host variant
@ 2014-04-01 22:24 Maxime Hadjinlian
  2014-04-01 22:24 ` [Buildroot] [PATCH 2/2] xbmc: Add missing host-infozip dependency Maxime Hadjinlian
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Maxime Hadjinlian @ 2014-04-01 22:24 UTC (permalink / raw)
  To: buildroot

Adding a host variant to the package infozip.
It will be used by XBMC.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/infozip/infozip.mk | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/package/infozip/infozip.mk b/package/infozip/infozip.mk
index 8e51224..9648b4f 100644
--- a/package/infozip/infozip.mk
+++ b/package/infozip/infozip.mk
@@ -26,4 +26,17 @@ define INFOZIP_INSTALL_TARGET_CMDS
 		prefix=$(TARGET_DIR)/usr
 endef
 
+define HOST_INFOZIP_BUILD_CMDS
+	$(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) \
+		CFLAGS="$(HOST_CFLAGS) -I. -DUNIX" \
+		AS="$(HOST_CC) -c" \
+		-f unix/Makefile generic
+endef
+
+define HOST_INFOZIP_INSTALL_CMDS
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile install \
+		prefix=$(HOST_DIR)/usr
+endef
+
 $(eval $(generic-package))
+$(eval $(host-generic-package))
-- 
1.9.1

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

end of thread, other threads:[~2014-04-03 18:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-01 22:24 [Buildroot] [PATCH 1/2] infozip: Add a host variant Maxime Hadjinlian
2014-04-01 22:24 ` [Buildroot] [PATCH 2/2] xbmc: Add missing host-infozip dependency Maxime Hadjinlian
2014-04-01 22:34   ` Yann E. MORIN
2014-04-02 19:31   ` Bernd Kuhls
2014-04-03 18:16   ` Thomas Petazzoni
2014-04-01 22:33 ` [Buildroot] [PATCH 1/2] infozip: Add a host variant Yann E. MORIN
2014-04-02 19:31 ` Bernd Kuhls
2014-04-03 18:16 ` Thomas Petazzoni

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