From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] infozip: Add a host variant
Date: Wed, 2 Apr 2014 00:33:35 +0200 [thread overview]
Message-ID: <20140401223335.GA9670@free.fr> (raw)
In-Reply-To: <1396391079-28455-1-git-send-email-maxime.hadjinlian@gmail.com>
Maxime, All,
On 2014-04-02 00:24 +0200, Maxime Hadjinlian spake thusly:
> Adding a host variant to the package infozip.
> It will be used by XBMC.
>
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
It's a bit too late for me here to run a test, but I'll try to do a
build tomorrow.
Regards,
Yann E. MORIN.
> ---
> 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
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2014-04-01 22:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Yann E. MORIN [this message]
2014-04-02 19:31 ` [Buildroot] [PATCH 1/2] infozip: Add a host variant Bernd Kuhls
2014-04-03 18:16 ` Thomas Petazzoni
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=20140401223335.GA9670@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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 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.