Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Ceresoli <list@lucaceresoli.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 4/6] libusb-compat: add host variant
Date: Sun, 02 Oct 2011 22:29:37 +0200	[thread overview]
Message-ID: <4E88C9B1.1040506@lucaceresoli.net> (raw)
In-Reply-To: <01596349e2ee119699af5a011d79ad1d2bb7eb55.1317481137.git.thomas.petazzoni@free-electrons.com>

Thomas Petazzoni wrote:
> Signed-off-by: Thomas Petazzoni<thomas.petazzoni@free-electrons.com>
> ---
>   package/libusb-compat/libusb-compat.mk |    4 ++++
>   1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/package/libusb-compat/libusb-compat.mk b/package/libusb-compat/libusb-compat.mk
> index e39cdd8..99e7716 100644
> --- a/package/libusb-compat/libusb-compat.mk
> +++ b/package/libusb-compat/libusb-compat.mk
> @@ -18,4 +18,8 @@ endef
>
>   LIBUSB_COMPAT_POST_INSTALL_STAGING_HOOKS+=LIBUSB_COMPAT_FIXUP_CONFIG
>
> +HOST_LIBUSB_COMPAT_DEPENDENCIES = host-pkg-config host-libusb

I have a generic question about host packages, not strictly related to the
addition of the "Host tools" menu that's being discussed here.

I see many of the packages that have both target and host variant have
their host dependencies equal to their target package dependencies, plus a
"host-" prefix added to packages that don't have one on their own.

For example:
 > LIBUSB_COMPAT_DEPENDENCIES = host-pkg-config libusb
 > HOST_LIBUSB_COMPAT_DEPENDENCIES = host-pkg-config host-libusb

host-pkg-config does not change, libusb becomes host-libusb.

This is indeed pretty natural.

Would it be a good idea to define by default HOST_FOO_DEPENDENCIES
equal to FOO_DEPENDENCIES with suitable subst magic to add "host-" where
it is not present?

This could of course be done later, separated from this work.

Luca

  reply	other threads:[~2011-10-02 20:29 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-01 15:00 [Buildroot] [RFC] Request for comments on branch for-2011.11/host-tools Thomas Petazzoni
2011-10-01 15:00 ` [Buildroot] [PATCH 1/6] Add basic config infrastructure for host utilities Thomas Petazzoni
2011-10-02 20:20   ` Luca Ceresoli
2011-10-01 15:00 ` [Buildroot] [PATCH 2/6] uboot-tools: expose host package in menuconfig Thomas Petazzoni
2011-10-01 15:00 ` [Buildroot] [PATCH 3/6] libftdi: add host variant Thomas Petazzoni
2011-10-01 15:00 ` [Buildroot] [PATCH 4/6] libusb-compat: " Thomas Petazzoni
2011-10-02 20:29   ` Luca Ceresoli [this message]
2011-10-03 19:33     ` Arnout Vandecappelle
2011-10-03 21:20       ` [Buildroot] Derive HOST_FOO_DEPENDENCIES automatically Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 01/22] package: derive HOST_FOO_DEPENDENCIES from FOO_DEPENDENCIES Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 02/22] atk: removed redundant HOST_FOO_DEPENDENCIES Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 03/22] cramfs: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 04/22] fontconfig: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 05/22] libpng: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 06/22] libxml-parser-perl: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 07/22] mpc: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 08/22] mpfr: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 09/22] squashfs3: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 10/22] libxcb: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 11/22] xapp_bdftopcf: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 12/22] xapp_mkfontdir: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 13/22] xapp_mkfontscale: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 14/22] xapp_xkbcomp: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 15/22] xfont_encodings: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 16/22] xfont_font-util: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 17/22] xlib_libX11: removed redundant HOST_FOO_DEPENDENCIES and incorrect target dependency Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 18/22] xlib_libXau: removed redundant HOST_FOO_DEPENDENCIES Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 19/22] xlib_libXdmcp: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 20/22] xlib_libXfont: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 21/22] xlib_libfontenc: " Arnout Vandecappelle
2011-10-03 21:20         ` [Buildroot] [PATCH 22/22] xlib_libxkbfile: " Arnout Vandecappelle
2011-10-03 21:35         ` [Buildroot] Derive HOST_FOO_DEPENDENCIES automatically Arnout Vandecappelle
2011-10-04  5:34           ` Thomas Petazzoni
2011-10-04 16:15             ` Arnout Vandecappelle
2011-12-29 17:07         ` Thomas Petazzoni
2011-10-01 15:00 ` [Buildroot] [PATCH 5/6] libusb: add host variant Thomas Petazzoni
2011-10-01 15:00 ` [Buildroot] [PATCH 6/6] openocd: add as host utility Thomas Petazzoni
2011-10-02 20:19 ` [Buildroot] [RFC] Request for comments on branch for-2011.11/host-tools Luca Ceresoli
2011-10-03  7:07 ` Thomas De Schampheleire
2011-12-06 11:58 ` Luca Ceresoli

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=4E88C9B1.1040506@lucaceresoli.net \
    --to=list@lucaceresoli.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox