Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Derive HOST_FOO_DEPENDENCIES automatically
@ 2012-01-16 13:58 Arnout Vandecappelle
  2012-01-16 13:58 ` [Buildroot] [PATCH resend 01/22] package: derive HOST_FOO_DEPENDENCIES from FOO_DEPENDENCIES Arnout Vandecappelle
                   ` (22 more replies)
  0 siblings, 23 replies; 29+ messages in thread
From: Arnout Vandecappelle @ 2012-01-16 13:58 UTC (permalink / raw)
  To: buildroot

This patch series derives HOST_FOO_DEPENDENCIES automatically from 
FOO_DEPENDENCIES.  It is a repost of my earlier patch series,
rebased on the current master.

I only compile-tested some of the modified packages.  However, I
checked that 'make host-foo-show-depends' outputs the same result.
There are two exceptions:

host-libxcb: the dependency on host-xcb-proto now appears twice.
This is harmless.

host-xlib_libX11: also some reordering, which should be OK. I also
removed the dependency on xproto_bigreqsproto, which doesn't seem to
be needed.  *This one really requires testing.*

---
Arnout Vandecappelle (Essensium/Mind) (22):
      package: derive HOST_FOO_DEPENDENCIES from FOO_DEPENDENCIES
      atk: removed redundant HOST_FOO_DEPENDENCIES
      cramfs: removed redundant HOST_FOO_DEPENDENCIES
      libpng: removed redundant HOST_FOO_DEPENDENCIES
      fontconfig: removed redundant HOST_FOO_DEPENDENCIES
      mpc: removed redundant HOST_FOO_DEPENDENCIES
      libxml-parser-perl: removed redundant HOST_FOO_DEPENDENCIES
      squashfs3: removed redundant HOST_FOO_DEPENDENCIES
      mpfr: removed redundant HOST_FOO_DEPENDENCIES
      xapp_mkfontscale: removed redundant HOST_FOO_DEPENDENCIES
      xlib_libXdmcp: removed redundant HOST_FOO_DEPENDENCIES
      xfont_encodings: removed redundant HOST_FOO_DEPENDENCIES
      xlib_libXfont: removed redundant HOST_FOO_DEPENDENCIES
      xlib_libXau: removed redundant HOST_FOO_DEPENDENCIES
      xapp_xkbcomp: removed redundant HOST_FOO_DEPENDENCIES
      libxcb: removed redundant HOST_FOO_DEPENDENCIES
      xlib_libX11: removed redundant HOST_FOO_DEPENDENCIES and incorrect target dependency
      xapp_bdftopcf: removed redundant HOST_FOO_DEPENDENCIES
      xlib_libxkbfile: removed redundant HOST_FOO_DEPENDENCIES
      xfont_font-util: removed redundant HOST_FOO_DEPENDENCIES
      xlib_libfontenc: removed redundant HOST_FOO_DEPENDENCIES
      xapp_mkfontdir: removed redundant HOST_FOO_DEPENDENCIES

 package/Makefile.autotools.in                      |   10 ++++++++++
 package/Makefile.package.in                        |    7 ++++++-
 package/atk/atk.mk                                 |    2 --
 package/cramfs/cramfs.mk                           |    1 -
 package/fontconfig/fontconfig.mk                   |    1 -
 package/libpng/libpng.mk                           |    2 --
 package/libxml-parser-perl/libxml-parser-perl.mk   |    1 -
 package/mpc/mpc.mk                                 |    1 -
 package/mpfr/mpfr.mk                               |    1 -
 package/squashfs3/squashfs3.mk                     |    1 -
 package/x11r7/libxcb/libxcb.mk                     |    4 ----
 package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk       |    1 -
 package/x11r7/xapp_mkfontdir/xapp_mkfontdir.mk     |    1 -
 package/x11r7/xapp_mkfontscale/xapp_mkfontscale.mk |    1 -
 package/x11r7/xapp_xkbcomp/xapp_xkbcomp.mk         |    1 -
 package/x11r7/xfont_encodings/xfont_encodings.mk   |    1 -
 package/x11r7/xfont_font-util/xfont_font-util.mk   |    2 --
 package/x11r7/xlib_libX11/xlib_libX11.mk           |    4 +---
 package/x11r7/xlib_libXau/xlib_libXau.mk           |    2 --
 package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk       |    2 --
 package/x11r7/xlib_libXfont/xlib_libXfont.mk       |    1 -
 package/x11r7/xlib_libfontenc/xlib_libfontenc.mk   |    2 --
 package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk   |    2 --
 23 files changed, 17 insertions(+), 34 deletions(-)

^ permalink raw reply	[flat|nested] 29+ messages in thread
* [Buildroot] [PATCH 4/6] libusb-compat: add host variant
@ 2011-10-03 19:33 Arnout Vandecappelle
  2011-10-03 21:20 ` [Buildroot] Derive HOST_FOO_DEPENDENCIES automatically Arnout Vandecappelle
  0 siblings, 1 reply; 29+ messages in thread
From: Arnout Vandecappelle @ 2011-10-03 19:33 UTC (permalink / raw)
  To: buildroot


On Sunday 02 October 2011 22:29:37, Luca Ceresoli wrote:
> 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?

 I had a similar feeling of redundancy with these HOST_FOO_DEPENDENCIES, but 
didn't see how to solve it.

 This is BTW fully orthogonal to the Host Tools menu, so you can start working 
on a patch Luca :-)


 Regards,
 Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  31BB CF53 8660 6F88 345D  54CC A836 5879 20D7 CF43
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20111003/af5e9e08/attachment-0001.html>

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

end of thread, other threads:[~2012-01-17 22:35 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-16 13:58 [Buildroot] Derive HOST_FOO_DEPENDENCIES automatically Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 01/22] package: derive HOST_FOO_DEPENDENCIES from FOO_DEPENDENCIES Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 02/22] atk: removed redundant HOST_FOO_DEPENDENCIES Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 03/22] cramfs: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 04/22] libpng: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 05/22] fontconfig: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 06/22] mpc: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 07/22] libxml-parser-perl: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 08/22] squashfs3: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 09/22] mpfr: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 10/22] xapp_mkfontscale: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 11/22] xlib_libXdmcp: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 12/22] xfont_encodings: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 13/22] xlib_libXfont: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 14/22] xlib_libXau: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 15/22] xapp_xkbcomp: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 16/22] libxcb: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 17/22] xlib_libX11: removed redundant HOST_FOO_DEPENDENCIES and incorrect target dependency Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 18/22] xapp_bdftopcf: removed redundant HOST_FOO_DEPENDENCIES Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 19/22] xlib_libxkbfile: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 20/22] xfont_font-util: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 21/22] xlib_libfontenc: " Arnout Vandecappelle
2012-01-16 13:58 ` [Buildroot] [PATCH resend 22/22] xapp_mkfontdir: " Arnout Vandecappelle
2012-01-17 22:35 ` [Buildroot] Derive HOST_FOO_DEPENDENCIES automatically Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2011-10-03 19:33 [Buildroot] [PATCH 4/6] libusb-compat: add host variant Arnout Vandecappelle
2011-10-03 21:20 ` [Buildroot] Derive HOST_FOO_DEPENDENCIES automatically Arnout Vandecappelle
2011-10-03 21:35   ` Arnout Vandecappelle
2011-10-04  5:34     ` Thomas Petazzoni
2011-10-04 16:15       ` Arnout Vandecappelle
2011-12-29 17:07   ` Thomas Petazzoni

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