Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 00/24] Drop unused host packages
@ 2016-06-29 13:46 Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 01/24] x11r7: drop unused host variants Julien Floret
                   ` (24 more replies)
  0 siblings, 25 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

A lot of host packages are never built, because they don't have a
Config.in option, and are never referenced in other packages'
dependencies.

This series removes them to avoid maintaining unneeded code; they
will still be in git history if some are needed again in the future.

The other motivation behind this cleanup is that I'm starting to think
about a new proposal for speeding up the Makefile parsing, similar to
what Thomas proposed here:
http://lists.busybox.net/pipermail/buildroot/2014-March/092548.html

As Thomas explained, this change would imply adding blind Config.in
options for all host packages. It's quite a big change, so a little
preliminary cleanup could help.

Julien Floret (24):
  x11r7: drop unused host variants
  sepolgen: drop unused host package
  attr: drop unused host variant
  directfb: drop unused host variant
  erlang-goldrush: drop unused host variant
  jsmin: drop unused host variant
  libatomic_ops: drop unused host variant
  libconfuse: drop unused host variant
  libpthread-stubs: drop unused host variant
  libsemanage: drop unused host variant
  libsodium: drop unused host variant
  lzip: drop unused host variant
  pax-utils: drop unused host variant
  perl-file-util: drop unused host variant
  python-jinja2: drop unused host variant
  python-mako: drop unused host variant
  sdl_image: drop unused host variant
  setools: drop unused host variant
  xutil_util-macros: drop unused host variant
  bzip2: drop unused host variant
  python-markupsafe: drop unused host variant
  sdl: drop unused host variant
  sqlite: drop unused host variant
  ustr: drop unused host variant

 package/attr/attr.mk                               |  7 ----
 package/bzip2/bzip2.mk                             | 15 -------
 package/directfb/directfb.mk                       | 17 --------
 package/erlang-goldrush/erlang-goldrush.mk         |  1 -
 package/jsmin/jsmin.mk                             |  9 -----
 package/libatomic_ops/libatomic_ops.mk             |  1 -
 package/libconfuse/libconfuse.mk                   |  1 -
 package/libpthread-stubs/libpthread-stubs.mk       |  1 -
 package/libsemanage/libsemanage.mk                 | 32 ---------------
 package/libsodium/libsodium.mk                     |  1 -
 package/lzip/lzip.mk                               | 14 -------
 package/pax-utils/pax-utils.mk                     |  4 --
 package/perl-file-util/perl-file-util.mk           |  2 -
 package/python-jinja2/python-jinja2.mk             |  3 --
 package/python-mako/python-mako.mk                 |  4 --
 package/python-markupsafe/python-markupsafe.mk     |  1 -
 package/sdl/sdl.mk                                 | 11 ------
 package/sdl_image/sdl_image.mk                     | 12 ------
 package/sepolgen/sepolgen.hash                     |  2 -
 package/sepolgen/sepolgen.mk                       | 30 --------------
 package/setools/setools.mk                         | 46 ----------------------
 package/sqlite/sqlite.mk                           |  1 -
 package/ustr/ustr.mk                               |  1 -
 package/x11r7/libxcb/libxcb.mk                     |  3 --
 package/x11r7/xfont_encodings/xfont_encodings.mk   |  1 -
 package/x11r7/xlib_libX11/xlib_libX11.mk           |  6 ---
 package/x11r7/xlib_libXau/xlib_libXau.mk           |  1 -
 package/x11r7/xlib_libXcursor/xlib_libXcursor.mk   |  1 -
 package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk       |  1 -
 package/x11r7/xlib_libXfixes/xlib_libXfixes.mk     |  1 -
 package/x11r7/xlib_libXfont/xlib_libXfont.mk       |  3 --
 package/x11r7/xlib_libXrender/xlib_libXrender.mk   |  1 -
 package/x11r7/xlib_libfontenc/xlib_libfontenc.mk   |  1 -
 package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk   |  1 -
 package/x11r7/xlib_xtrans/xlib_xtrans.mk           |  1 -
 .../x11r7/xproto_fixesproto/xproto_fixesproto.mk   |  1 -
 .../xproto_fontcacheproto/xproto_fontcacheproto.mk |  1 -
 .../x11r7/xproto_fontsproto/xproto_fontsproto.mk   |  1 -
 .../x11r7/xproto_inputproto/xproto_inputproto.mk   |  1 -
 package/x11r7/xproto_kbproto/xproto_kbproto.mk     |  1 -
 .../x11r7/xproto_renderproto/xproto_renderproto.mk |  1 -
 .../x11r7/xproto_xcmiscproto/xproto_xcmiscproto.mk |  2 -
 package/x11r7/xproto_xextproto/xproto_xextproto.mk |  2 -
 .../xproto_xf86bigfontproto.mk                     |  1 -
 package/xutil_util-macros/xutil_util-macros.mk     |  1 -
 45 files changed, 249 deletions(-)
 delete mode 100644 package/sepolgen/sepolgen.hash
 delete mode 100644 package/sepolgen/sepolgen.mk

-- 
2.1.0

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

* [Buildroot] [PATCH 01/24] x11r7: drop unused host variants
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 02/24] sepolgen: drop unused host package Julien Floret
                   ` (23 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/x11r7/libxcb/libxcb.mk                                   | 3 ---
 package/x11r7/xfont_encodings/xfont_encodings.mk                 | 1 -
 package/x11r7/xlib_libX11/xlib_libX11.mk                         | 6 ------
 package/x11r7/xlib_libXau/xlib_libXau.mk                         | 1 -
 package/x11r7/xlib_libXcursor/xlib_libXcursor.mk                 | 1 -
 package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk                     | 1 -
 package/x11r7/xlib_libXfixes/xlib_libXfixes.mk                   | 1 -
 package/x11r7/xlib_libXfont/xlib_libXfont.mk                     | 3 ---
 package/x11r7/xlib_libXrender/xlib_libXrender.mk                 | 1 -
 package/x11r7/xlib_libfontenc/xlib_libfontenc.mk                 | 1 -
 package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk                 | 1 -
 package/x11r7/xlib_xtrans/xlib_xtrans.mk                         | 1 -
 package/x11r7/xproto_fixesproto/xproto_fixesproto.mk             | 1 -
 package/x11r7/xproto_fontcacheproto/xproto_fontcacheproto.mk     | 1 -
 package/x11r7/xproto_fontsproto/xproto_fontsproto.mk             | 1 -
 package/x11r7/xproto_inputproto/xproto_inputproto.mk             | 1 -
 package/x11r7/xproto_kbproto/xproto_kbproto.mk                   | 1 -
 package/x11r7/xproto_renderproto/xproto_renderproto.mk           | 1 -
 package/x11r7/xproto_xcmiscproto/xproto_xcmiscproto.mk           | 2 --
 package/x11r7/xproto_xextproto/xproto_xextproto.mk               | 2 --
 package/x11r7/xproto_xf86bigfontproto/xproto_xf86bigfontproto.mk | 1 -
 21 files changed, 32 deletions(-)

diff --git a/package/x11r7/libxcb/libxcb.mk b/package/x11r7/libxcb/libxcb.mk
index 7f7823bf5303..f8ef57c076af 100644
--- a/package/x11r7/libxcb/libxcb.mk
+++ b/package/x11r7/libxcb/libxcb.mk
@@ -17,11 +17,8 @@ LIBXCB_DEPENDENCIES = \
 	host-xcb-proto host-python host-pkgconf
 
 LIBXCB_CONF_OPTS = --with-doxygen=no
-HOST_LIBXCB_CONF_OPTS = --with-doxygen=no
 
 # libxcb is not python3 friendly, so force the python interpreter
-HOST_LIBXCB_CONF_OPTS += ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python2
 LIBXCB_CONF_OPTS += ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python2
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xfont_encodings/xfont_encodings.mk b/package/x11r7/xfont_encodings/xfont_encodings.mk
index 568dbcbde81f..3d2fdc165237 100644
--- a/package/x11r7/xfont_encodings/xfont_encodings.mk
+++ b/package/x11r7/xfont_encodings/xfont_encodings.mk
@@ -13,4 +13,3 @@ XFONT_ENCODINGS_LICENSE_FILES = COPYING
 XFONT_ENCODINGS_DEPENDENCIES = host-xapp_mkfontscale host-pkgconf xutil_util-macros
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xlib_libX11/xlib_libX11.mk b/package/x11r7/xlib_libX11/xlib_libX11.mk
index fc19aa1d2814..2aeaf1e072ef 100644
--- a/package/x11r7/xlib_libX11/xlib_libX11.mk
+++ b/package/x11r7/xlib_libX11/xlib_libX11.mk
@@ -29,10 +29,6 @@ XLIB_LIBX11_CONF_OPTS = \
 	--disable-specs \
 	--without-perl
 
-HOST_XLIB_LIBX11_CONF_OPTS = \
-	--disable-specs \
-	--without-perl
-
 # src/util/makekeys is executed at build time to generate ks_tables.h, so
 # it should get compiled for the host. The libX11 makefile unfortunately
 # doesn't have X11_CFLAGS_FOR_BUILD so this doesn't work.  For buildroot,
@@ -43,7 +39,5 @@ define XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS
 endef
 
 XLIB_LIBX11_POST_PATCH_HOOKS += XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS
-HOST_XLIB_LIBX11_POST_PATCH_HOOKS += XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xlib_libXau/xlib_libXau.mk b/package/x11r7/xlib_libXau/xlib_libXau.mk
index 8ef48e4a7b30..c074e6fb8a5a 100644
--- a/package/x11r7/xlib_libXau/xlib_libXau.mk
+++ b/package/x11r7/xlib_libXau/xlib_libXau.mk
@@ -13,4 +13,3 @@ XLIB_LIBXAU_INSTALL_STAGING = YES
 XLIB_LIBXAU_DEPENDENCIES = host-pkgconf xutil_util-macros xproto_xproto
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xlib_libXcursor/xlib_libXcursor.mk b/package/x11r7/xlib_libXcursor/xlib_libXcursor.mk
index 508b5e21c522..196f249333fc 100644
--- a/package/x11r7/xlib_libXcursor/xlib_libXcursor.mk
+++ b/package/x11r7/xlib_libXcursor/xlib_libXcursor.mk
@@ -13,4 +13,3 @@ XLIB_LIBXCURSOR_INSTALL_STAGING = YES
 XLIB_LIBXCURSOR_DEPENDENCIES = xlib_libX11 xlib_libXfixes xlib_libXrender xproto_xproto
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk b/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk
index 119c01813713..9e443a743a74 100644
--- a/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk
+++ b/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk
@@ -13,4 +13,3 @@ XLIB_LIBXDMCP_INSTALL_STAGING = YES
 XLIB_LIBXDMCP_DEPENDENCIES = xutil_util-macros xproto_xproto
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xlib_libXfixes/xlib_libXfixes.mk b/package/x11r7/xlib_libXfixes/xlib_libXfixes.mk
index 2a10d49eb15c..c15ecbdf4847 100644
--- a/package/x11r7/xlib_libXfixes/xlib_libXfixes.mk
+++ b/package/x11r7/xlib_libXfixes/xlib_libXfixes.mk
@@ -13,4 +13,3 @@ XLIB_LIBXFIXES_INSTALL_STAGING = YES
 XLIB_LIBXFIXES_DEPENDENCIES = xproto_fixesproto xlib_libX11 xproto_xextproto xproto_xproto
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xlib_libXfont/xlib_libXfont.mk b/package/x11r7/xlib_libXfont/xlib_libXfont.mk
index adc22b4df7b2..a4929ba7d0a3 100644
--- a/package/x11r7/xlib_libXfont/xlib_libXfont.mk
+++ b/package/x11r7/xlib_libXfont/xlib_libXfont.mk
@@ -14,8 +14,6 @@ XLIB_LIBXFONT_INSTALL_STAGING = YES
 XLIB_LIBXFONT_DEPENDENCIES = freetype xlib_libfontenc xlib_xtrans xproto_fontsproto xproto_xproto xfont_encodings
 XLIB_LIBXFONT_CONF_OPTS = --disable-devel-docs
 
-HOST_XLIB_LIBXFONT_CONF_OPTS = --disable-devel-docs
-
 ifeq ($(BR2_microblaze),y)
 # The microblaze toolchains don't define the __ELF__ preprocessor
 # symbol even though they do use the elf format. LibXfont checks for
@@ -27,4 +25,3 @@ XLIB_LIBXFONT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D__ELF__"
 endif
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xlib_libXrender/xlib_libXrender.mk b/package/x11r7/xlib_libXrender/xlib_libXrender.mk
index 949dea3f146c..35da6815f897 100644
--- a/package/x11r7/xlib_libXrender/xlib_libXrender.mk
+++ b/package/x11r7/xlib_libXrender/xlib_libXrender.mk
@@ -14,4 +14,3 @@ XLIB_LIBXRENDER_DEPENDENCIES = xlib_libX11 xproto_renderproto xproto_xproto
 XLIB_LIBXRENDER_CONF_OPTS = --disable-malloc0returnsnull
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xlib_libfontenc/xlib_libfontenc.mk b/package/x11r7/xlib_libfontenc/xlib_libfontenc.mk
index aff1f1a5d954..541603b859d4 100644
--- a/package/x11r7/xlib_libfontenc/xlib_libfontenc.mk
+++ b/package/x11r7/xlib_libfontenc/xlib_libfontenc.mk
@@ -13,4 +13,3 @@ XLIB_LIBFONTENC_INSTALL_STAGING = YES
 XLIB_LIBFONTENC_DEPENDENCIES = zlib xproto_xproto
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk b/package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk
index 51c58c04a0da..1bef74981763 100644
--- a/package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk
+++ b/package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk
@@ -13,4 +13,3 @@ XLIB_LIBXKBFILE_INSTALL_STAGING = YES
 XLIB_LIBXKBFILE_DEPENDENCIES = xlib_libX11 xproto_kbproto
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xlib_xtrans/xlib_xtrans.mk b/package/x11r7/xlib_xtrans/xlib_xtrans.mk
index 40f613cc35f5..dcb7900a5a46 100644
--- a/package/x11r7/xlib_xtrans/xlib_xtrans.mk
+++ b/package/x11r7/xlib_xtrans/xlib_xtrans.mk
@@ -12,4 +12,3 @@ XLIB_XTRANS_LICENSE_FILES = COPYING
 XLIB_XTRANS_INSTALL_STAGING = YES
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xproto_fixesproto/xproto_fixesproto.mk b/package/x11r7/xproto_fixesproto/xproto_fixesproto.mk
index 55212b26785c..036b9f31e39b 100644
--- a/package/x11r7/xproto_fixesproto/xproto_fixesproto.mk
+++ b/package/x11r7/xproto_fixesproto/xproto_fixesproto.mk
@@ -13,4 +13,3 @@ XPROTO_FIXESPROTO_INSTALL_STAGING = YES
 XPROTO_FIXESPROTO_INSTALL_TARGET = NO
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xproto_fontcacheproto/xproto_fontcacheproto.mk b/package/x11r7/xproto_fontcacheproto/xproto_fontcacheproto.mk
index 0cb205ad594b..d47b1f1ecec4 100644
--- a/package/x11r7/xproto_fontcacheproto/xproto_fontcacheproto.mk
+++ b/package/x11r7/xproto_fontcacheproto/xproto_fontcacheproto.mk
@@ -13,4 +13,3 @@ XPROTO_FONTCACHEPROTO_INSTALL_STAGING = YES
 XPROTO_FONTCACHEPROTO_INSTALL_TARGET = NO
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xproto_fontsproto/xproto_fontsproto.mk b/package/x11r7/xproto_fontsproto/xproto_fontsproto.mk
index b4e6d6a84847..3cb2b9f533ac 100644
--- a/package/x11r7/xproto_fontsproto/xproto_fontsproto.mk
+++ b/package/x11r7/xproto_fontsproto/xproto_fontsproto.mk
@@ -13,4 +13,3 @@ XPROTO_FONTSPROTO_INSTALL_STAGING = YES
 XPROTO_FONTSPROTO_INSTALL_TARGET = NO
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xproto_inputproto/xproto_inputproto.mk b/package/x11r7/xproto_inputproto/xproto_inputproto.mk
index 20169b5c4639..f8bd1991757f 100644
--- a/package/x11r7/xproto_inputproto/xproto_inputproto.mk
+++ b/package/x11r7/xproto_inputproto/xproto_inputproto.mk
@@ -13,4 +13,3 @@ XPROTO_INPUTPROTO_INSTALL_STAGING = YES
 XPROTO_INPUTPROTO_INSTALL_TARGET = NO
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xproto_kbproto/xproto_kbproto.mk b/package/x11r7/xproto_kbproto/xproto_kbproto.mk
index b6c818f70547..57aee1633c04 100644
--- a/package/x11r7/xproto_kbproto/xproto_kbproto.mk
+++ b/package/x11r7/xproto_kbproto/xproto_kbproto.mk
@@ -13,4 +13,3 @@ XPROTO_KBPROTO_INSTALL_STAGING = YES
 XPROTO_KBPROTO_INSTALL_TARGET = NO
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xproto_renderproto/xproto_renderproto.mk b/package/x11r7/xproto_renderproto/xproto_renderproto.mk
index 41a84454093a..63f5538c7225 100644
--- a/package/x11r7/xproto_renderproto/xproto_renderproto.mk
+++ b/package/x11r7/xproto_renderproto/xproto_renderproto.mk
@@ -13,4 +13,3 @@ XPROTO_RENDERPROTO_INSTALL_STAGING = YES
 XPROTO_RENDERPROTO_INSTALL_TARGET = NO
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xproto_xcmiscproto/xproto_xcmiscproto.mk b/package/x11r7/xproto_xcmiscproto/xproto_xcmiscproto.mk
index 3bef2e979214..4e7a3b5db667 100644
--- a/package/x11r7/xproto_xcmiscproto/xproto_xcmiscproto.mk
+++ b/package/x11r7/xproto_xcmiscproto/xproto_xcmiscproto.mk
@@ -11,7 +11,5 @@ XPROTO_XCMISCPROTO_LICENSE = MIT
 XPROTO_XCMISCPROTO_LICENSE_FILES = COPYING
 XPROTO_XCMISCPROTO_INSTALL_STAGING = YES
 XPROTO_XCMISCPROTO_CONF_OPTS = --disable-specs
-HOST_XPROTO_XCMISCPROTO_CONF_OPTS = --disable-specs
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xproto_xextproto/xproto_xextproto.mk b/package/x11r7/xproto_xextproto/xproto_xextproto.mk
index c17dd938b75d..4d8609aa219c 100644
--- a/package/x11r7/xproto_xextproto/xproto_xextproto.mk
+++ b/package/x11r7/xproto_xextproto/xproto_xextproto.mk
@@ -11,7 +11,5 @@ XPROTO_XEXTPROTO_LICENSE = MIT
 XPROTO_XEXTPROTO_LICENSE_FILES = COPYING
 XPROTO_XEXTPROTO_INSTALL_STAGING = YES
 XPROTO_XEXTPROTO_CONF_OPTS = --disable-specs
-HOST_XPROTO_XEXTPROTO_CONF_OPTS = --disable-specs
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
diff --git a/package/x11r7/xproto_xf86bigfontproto/xproto_xf86bigfontproto.mk b/package/x11r7/xproto_xf86bigfontproto/xproto_xf86bigfontproto.mk
index f88f5ecace5f..a455f3ece08c 100644
--- a/package/x11r7/xproto_xf86bigfontproto/xproto_xf86bigfontproto.mk
+++ b/package/x11r7/xproto_xf86bigfontproto/xproto_xf86bigfontproto.mk
@@ -13,4 +13,3 @@ XPROTO_XF86BIGFONTPROTO_INSTALL_STAGING = YES
 XPROTO_XF86BIGFONTPROTO_INSTALL_TARGET = NO
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 02/24] sepolgen: drop unused host package
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 01/24] x11r7: drop unused host variants Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:53   ` Thomas Petazzoni
  2016-06-29 13:46 ` [Buildroot] [PATCH 03/24] attr: drop unused host variant Julien Floret
                   ` (22 subsequent siblings)
  24 siblings, 1 reply; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/sepolgen/sepolgen.hash |  2 --
 package/sepolgen/sepolgen.mk   | 30 ------------------------------
 2 files changed, 32 deletions(-)
 delete mode 100644 package/sepolgen/sepolgen.hash
 delete mode 100644 package/sepolgen/sepolgen.mk

diff --git a/package/sepolgen/sepolgen.hash b/package/sepolgen/sepolgen.hash
deleted file mode 100644
index a377c66aef42..000000000000
--- a/package/sepolgen/sepolgen.hash
+++ /dev/null
@@ -1,2 +0,0 @@
-# https://github.com/SELinuxProject/selinux/wiki/Releases
-sha256 8a1c6d3a78c9b6ad3555c74def555f65a62950bf21c111c585bfc382fec3a645  sepolgen-1.1.9.tar.gz
diff --git a/package/sepolgen/sepolgen.mk b/package/sepolgen/sepolgen.mk
deleted file mode 100644
index 7c958662c4d1..000000000000
--- a/package/sepolgen/sepolgen.mk
+++ /dev/null
@@ -1,30 +0,0 @@
-################################################################################
-#
-# sepolgen
-#
-################################################################################
-
-SEPOLGEN_VERSION = 1.1.9
-SEPOLGEN_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20130423
-SEPOLGEN_LICENSE = GPLv2
-SEPOLGEN_LICENSE_FILES = COPYING
-
-ifeq ($(BR2_PACKAGE_PYTHON3),y)
-HOST_SEPOLGEN_DEPENDENCIES = host-python3
-HOST_SEPOLGEN_MAKE_CMDS = $(HOST_CONFIGURE_OPTS) \
-	PYTHONLIBDIR=/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages
-else
-HOST_SEPOLGEN_DEPENDENCIES = host-python
-HOST_SEPOLGEN_MAKE_CMDS = $(HOST_CONFIGURE_OPTS) \
-	PYTHONLIBDIR=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages
-endif
-
-define HOST_SEPOLGEN_BUILD_CMDS
-	$(MAKE) -C $(@D) $(HOST_SEPOLGEN_MAKE_CMDS) DESTDIR=$(HOST_DIR)
-endef
-
-define HOST_SEPOLGEN_INSTALL_CMDS
-	$(MAKE) -C $(@D) $(HOST_SEPOLGEN_MAKE_CMDS) DESTDIR=$(HOST_DIR) install
-endef
-
-$(eval $(host-generic-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 03/24] attr: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 01/24] x11r7: drop unused host variants Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 02/24] sepolgen: drop unused host package Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 04/24] directfb: " Julien Floret
                   ` (21 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/attr/attr.mk | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/package/attr/attr.mk b/package/attr/attr.mk
index 4d5a07df0bcf..6883287aeacf 100644
--- a/package/attr/attr.mk
+++ b/package/attr/attr.mk
@@ -9,7 +9,6 @@ ATTR_SOURCE = attr-$(ATTR_VERSION).src.tar.gz
 ATTR_SITE = http://download.savannah.gnu.org/releases/attr
 ATTR_INSTALL_STAGING = YES
 ATTR_CONF_OPTS = --enable-gettext=no
-HOST_ATTR_CONF_OPTS = --enable-gettext=no
 ATTR_LICENSE = GPLv2+ (programs), LGPLv2.1+ (libraries)
 ATTR_LICENSE_FILES = doc/COPYING doc/COPYING.LGPL
 
@@ -27,11 +26,6 @@ ATTR_INSTALL_TARGET_OPTS = \
 	exec_prefix=$(TARGET_DIR)/usr \
 	install install-lib
 
-HOST_ATTR_INSTALL_OPTS = \
-	prefix=$(HOST_DIR)/usr \
-	exec_prefix=$(HOST_DIR)/usr \
-	install-dev install-lib
-
 # The libdir variable in libattr.la is empty, so let's fix it. This is
 # probably due to attr not using automake, and not doing fully the
 # right thing with libtool.
@@ -43,4 +37,3 @@ endef
 ATTR_POST_INSTALL_STAGING_HOOKS += ATTR_FIX_LIBTOOL_LA_LIBDIR
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 04/24] directfb: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (2 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 03/24] attr: drop unused host variant Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 05/24] erlang-goldrush: " Julien Floret
                   ` (20 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/directfb/directfb.mk | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
index d51094f850cb..773c9e2416b5 100644
--- a/package/directfb/directfb.mk
+++ b/package/directfb/directfb.mk
@@ -153,21 +153,4 @@ ifeq ($(BR2_PACKAGE_DIRECTFB_TESTS),y)
 DIRECTFB_CONF_OPTS += --with-tests
 endif
 
-HOST_DIRECTFB_DEPENDENCIES = host-pkgconf host-libpng
-HOST_DIRECTFB_CONF_OPTS = \
-	--disable-multi \
-	--enable-png \
-	--with-gfxdrivers=none \
-	--with-inputdrivers=none
-
-HOST_DIRECTFB_BUILD_CMDS = \
-	$(MAKE) -C $(@D)/tools directfb-csource
-
-HOST_DIRECTFB_INSTALL_CMDS = \
-	$(INSTALL) -m 0755 $(@D)/tools/directfb-csource $(HOST_DIR)/usr/bin
-
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
-
-# directfb-csource for the host
-DIRECTFB_HOST_BINARY = $(HOST_DIR)/usr/bin/directfb-csource
-- 
2.1.0

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

* [Buildroot] [PATCH 05/24] erlang-goldrush: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (3 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 04/24] directfb: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-30  8:12   ` Thomas Petazzoni
  2016-06-29 13:46 ` [Buildroot] [PATCH 06/24] jsmin: " Julien Floret
                   ` (19 subsequent siblings)
  24 siblings, 1 reply; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/erlang-goldrush/erlang-goldrush.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/erlang-goldrush/erlang-goldrush.mk b/package/erlang-goldrush/erlang-goldrush.mk
index 2fa88107e18f..91165cae57a7 100644
--- a/package/erlang-goldrush/erlang-goldrush.mk
+++ b/package/erlang-goldrush/erlang-goldrush.mk
@@ -11,4 +11,3 @@ ERLANG_GOLDRUSH_LICENSE_FILES = LICENSE
 ERLANG_GOLDRUSH_INSTALL_STAGING = YES
 
 $(eval $(rebar-package))
-$(eval $(host-rebar-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 06/24] jsmin: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (4 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 05/24] erlang-goldrush: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:56   ` Thomas Petazzoni
  2016-06-29 13:46 ` [Buildroot] [PATCH 07/24] libatomic_ops: " Julien Floret
                   ` (18 subsequent siblings)
  24 siblings, 1 reply; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/jsmin/jsmin.mk | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/package/jsmin/jsmin.mk b/package/jsmin/jsmin.mk
index a66ba7158245..42344c9c8674 100644
--- a/package/jsmin/jsmin.mk
+++ b/package/jsmin/jsmin.mk
@@ -17,13 +17,4 @@ define JSMIN_INSTALL_TARGET_CMDS
 	$(INSTALL) -m 0755 -D $(@D)/jsmin $(TARGET_DIR)/usr/bin/jsmin
 endef
 
-define HOST_JSMIN_BUILD_CMDS
-	$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) jsmin
-endef
-
-define HOST_JSMIN_INSTALL_CMDS
-	$(INSTALL) -m 0755 -D $(@D)/jsmin $(HOST_DIR)/usr/bin/jsmin
-endef
-
 $(eval $(generic-package))
-$(eval $(host-generic-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 07/24] libatomic_ops: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (5 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 06/24] jsmin: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 08/24] libconfuse: " Julien Floret
                   ` (17 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/libatomic_ops/libatomic_ops.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/libatomic_ops/libatomic_ops.mk b/package/libatomic_ops/libatomic_ops.mk
index fd457267502b..01e9e9c9a261 100644
--- a/package/libatomic_ops/libatomic_ops.mk
+++ b/package/libatomic_ops/libatomic_ops.mk
@@ -24,4 +24,3 @@ LIBATOMIC_OPS_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DAO_NO_SPARC_V9"
 endif
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 08/24] libconfuse: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (6 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 07/24] libatomic_ops: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 09/24] libpthread-stubs: " Julien Floret
                   ` (16 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/libconfuse/libconfuse.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/libconfuse/libconfuse.mk b/package/libconfuse/libconfuse.mk
index 089e12cdb52c..f9cecbcd17c2 100644
--- a/package/libconfuse/libconfuse.mk
+++ b/package/libconfuse/libconfuse.mk
@@ -14,4 +14,3 @@ LIBCONFUSE_LICENSE = ISC
 LIBCONFUSE_LICENSE_FILES = LICENSE
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 09/24] libpthread-stubs: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (7 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 08/24] libconfuse: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 10/24] libsemanage: " Julien Floret
                   ` (15 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/libpthread-stubs/libpthread-stubs.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/libpthread-stubs/libpthread-stubs.mk b/package/libpthread-stubs/libpthread-stubs.mk
index 856793c4e055..182aeb4d3089 100644
--- a/package/libpthread-stubs/libpthread-stubs.mk
+++ b/package/libpthread-stubs/libpthread-stubs.mk
@@ -17,4 +17,3 @@ LIBPTHREAD_STUBS_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -pthread"
 endif
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 10/24] libsemanage: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (8 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 09/24] libpthread-stubs: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 11/24] libsodium: " Julien Floret
                   ` (14 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/libsemanage/libsemanage.mk | 32 --------------------------------
 1 file changed, 32 deletions(-)

diff --git a/package/libsemanage/libsemanage.mk b/package/libsemanage/libsemanage.mk
index 197c14e4229a..3b01d510989f 100644
--- a/package/libsemanage/libsemanage.mk
+++ b/package/libsemanage/libsemanage.mk
@@ -27,36 +27,4 @@ define LIBSEMANAGE_INSTALL_TARGET_CMDS
 	$(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
 endef
 
-HOST_LIBSEMANAGE_DEPENDENCIES = host-bison host-libsepol host-libselinux \
-				host-ustr host-bzip2 host-swig
-HOST_LIBSEMANAGE_MAKE_OPTS += $(HOST_CONFIGURE_OPTS) \
-	SWIG_LIB="$(HOST_DIR)/usr/share/swig/$(SWIG_VERSION)/"
-
-ifeq ($(BR2_PACKAGE_PYTHON3),y)
-HOST_LIBSEMANAGE_DEPENDENCIES += host-python3
-HOST_LIBSEMANAGE_MAKE_OPTS += \
-	PYINC="-I$(HOST_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR)m/" \
-	PYTHONLIBDIR="-L$(HOST_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/" \
-	PYLIBVER="python$(PYTHON3_VERSION_MAJOR)"
-else
-HOST_LIBSEMANAGE_DEPENDENCIES += host-python
-HOST_LIBSEMANAGE_MAKE_OPTS += \
-	PYINC="-I$(HOST_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)/" \
-	PYTHONLIBDIR="-L$(HOST_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/" \
-	PYLIBVER="python$(PYTHON_VERSION_MAJOR)"
-endif
-
-define HOST_LIBSEMANAGE_BUILD_CMDS
-	# DESTDIR is needed during the compile to compute library and
-	# header paths.
-	$(MAKE) -C $(@D) $(HOST_CONFIGURE_OPTS) DESTDIR=$(HOST_DIR) all
-	$(MAKE) -C $(@D) $(HOST_LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(HOST_DIR) swigify pywrap
-endef
-
-define HOST_LIBSEMANAGE_INSTALL_CMDS
-	$(MAKE) -C $(@D) $(HOST_CONFIGURE_OPTS) DESTDIR=$(HOST_DIR) install
-	$(MAKE) -C $(@D) $(HOST_LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(HOST_DIR) install-pywrap
-endef
-
 $(eval $(generic-package))
-$(eval $(host-generic-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 11/24] libsodium: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (9 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 10/24] libsemanage: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 12/24] lzip: " Julien Floret
                   ` (13 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/libsodium/libsodium.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/libsodium/libsodium.mk b/package/libsodium/libsodium.mk
index 13dba8dec3f1..bd6f58d343a4 100644
--- a/package/libsodium/libsodium.mk
+++ b/package/libsodium/libsodium.mk
@@ -15,4 +15,3 @@ LIBSODIUM_CONF_OPTS += --disable-pie
 endif
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 12/24] lzip: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (10 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 11/24] libsodium: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 13/24] pax-utils: " Julien Floret
                   ` (12 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/lzip/lzip.mk | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/package/lzip/lzip.mk b/package/lzip/lzip.mk
index 7b1fdf48afbb..41f8af88da07 100644
--- a/package/lzip/lzip.mk
+++ b/package/lzip/lzip.mk
@@ -14,27 +14,13 @@ define LZIP_CONFIGURE_CMDS
 		$(TARGET_CONFIGURE_OPTS) )
 endef
 
-define HOST_LZIP_CONFIGURE_CMDS
-	(cd $(@D); ./configure --prefix=/usr \
-		$(HOST_CONFIGURE_OPTS) )
-endef
-
 define LZIP_BUILD_CMDS
 	$(MAKE) -C $(@D)
 endef
 
-define HOST_LZIP_BUILD_CMDS
-	$(MAKE) -C $(@D)
-endef
-
 define LZIP_INSTALL_TARGET_CMDS
 	$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
 endef
 
-define HOST_LZIP_INSTALL_CMDS
-	$(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) install
-endef
-
 # It's not autotools-based
 $(eval $(generic-package))
-$(eval $(host-generic-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 13/24] pax-utils: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (11 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 12/24] lzip: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 14/24] perl-file-util: " Julien Floret
                   ` (11 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/pax-utils/pax-utils.mk | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/package/pax-utils/pax-utils.mk b/package/pax-utils/pax-utils.mk
index 747c2bb1145b..5c3238281dc0 100644
--- a/package/pax-utils/pax-utils.mk
+++ b/package/pax-utils/pax-utils.mk
@@ -27,9 +27,6 @@ else
 PAX_UTILS_CONF_OPTS += --without-seccomp
 endif
 
-# libcap is only useful for pspax (a running system)
-HOST_PAX_UTILS_DEPENDENCIES =
-
 # lddtree and symtree need bash
 ifeq ($(BR2_PACKAGE_BASH),)
 define PAX_UTILS_REMOVE_BASH_TOOLS
@@ -39,4 +36,3 @@ endif
 PAX_UTILS_POST_INSTALL_TARGET_HOOKS += PAX_UTILS_REMOVE_BASH_TOOLS
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 14/24] perl-file-util: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (12 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 13/24] pax-utils: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-07-03 15:22   ` Carlos Santos
  2016-06-29 13:46 ` [Buildroot] [PATCH 15/24] python-jinja2: " Julien Floret
                   ` (10 subsequent siblings)
  24 siblings, 1 reply; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/perl-file-util/perl-file-util.mk | 2 --
 1 file changed, 2 deletions(-)

diff --git a/package/perl-file-util/perl-file-util.mk b/package/perl-file-util/perl-file-util.mk
index 7026515e6649..fe83585f3614 100644
--- a/package/perl-file-util/perl-file-util.mk
+++ b/package/perl-file-util/perl-file-util.mk
@@ -10,7 +10,5 @@ PERL_FILE_UTIL_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TOMMY
 PERL_FILE_UTIL_DEPENDENCIES = host-perl-module-build
 PERL_FILE_UTIL_LICENSE = Artistic or GPLv1+
 PERL_FILE_UTIL_LICENSE_FILES = COPYING LICENSE
-HOST_PERL_FILE_UTIL_DEPENDENCIES = host-perl-module-build
 
 $(eval $(perl-package))
-$(eval $(host-perl-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 15/24] python-jinja2: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (13 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 14/24] perl-file-util: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 16/24] python-mako: " Julien Floret
                   ` (9 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/python-jinja2/python-jinja2.mk | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/package/python-jinja2/python-jinja2.mk b/package/python-jinja2/python-jinja2.mk
index ce6e2b9c5fc8..40cee81210d8 100644
--- a/package/python-jinja2/python-jinja2.mk
+++ b/package/python-jinja2/python-jinja2.mk
@@ -10,8 +10,5 @@ PYTHON_JINJA2_SITE = http://pypi.python.org/packages/source/J/Jinja2
 PYTHON_JINJA2_SETUP_TYPE = setuptools
 PYTHON_JINJA2_LICENSE = BSD-3c
 PYTHON_JINJA2_LICENSE_FILES = LICENSE
-# In host build, setup.py tries to download markupsafe if it is not installed
-HOST_PYTHON_JINJA2_DEPENDENCIES = host-python-markupsafe
 
 $(eval $(python-package))
-$(eval $(host-python-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 16/24] python-mako: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (14 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 15/24] python-jinja2: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 17/24] sdl_image: " Julien Floret
                   ` (8 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/python-mako/python-mako.mk | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/package/python-mako/python-mako.mk b/package/python-mako/python-mako.mk
index 52679e051857..8db518cf38b0 100644
--- a/package/python-mako/python-mako.mk
+++ b/package/python-mako/python-mako.mk
@@ -11,8 +11,4 @@ PYTHON_MAKO_SETUP_TYPE = setuptools
 PYTHON_MAKO_LICENSE = MIT
 PYTHON_MAKO_LICENSE_FILES = LICENSE
 
-# In host build, setup.py tries to download markupsafe if it is not installed
-HOST_PYTHON_MAKO_DEPENDENCIES = host-python-markupsafe
-
 $(eval $(python-package))
-$(eval $(host-python-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 17/24] sdl_image: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (15 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 16/24] python-mako: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 18/24] setools: " Julien Floret
                   ` (7 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/sdl_image/sdl_image.mk | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/package/sdl_image/sdl_image.mk b/package/sdl_image/sdl_image.mk
index b46fc6440f75..2b5dbc4d5052 100644
--- a/package/sdl_image/sdl_image.mk
+++ b/package/sdl_image/sdl_image.mk
@@ -36,16 +36,4 @@ SDL_IMAGE_DEPENDENCIES = sdl \
 	$(if $(BR2_PACKAGE_SDL_IMAGE_TIFF),tiff) \
 	$(if $(BR2_PACKAGE_SDL_IMAGE_WEBP),webp)
 
-HOST_SDL_IMAGE_CONF_OPTS = \
-	--with-sdl-prefix=$(HOST_DIR)/usr \
-	--with-sdl-exec-prefix=$(HOST_DIR)/usr \
-	--disable-sdltest \
-	--disable-static \
-	--disable-jpg-shared \
-	--disable-png-shared \
-	--disable-tif-shared \
-
-HOST_SDL_IMAGE_DEPENDENCIES = host-libjpeg host-libpng host-sdl
-
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 18/24] setools: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (16 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 17/24] sdl_image: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 19/24] xutil_util-macros: " Julien Floret
                   ` (6 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/setools/setools.mk | 46 ----------------------------------------------
 1 file changed, 46 deletions(-)

diff --git a/package/setools/setools.mk b/package/setools/setools.mk
index 87a19cf5ae79..e837cf7119f7 100644
--- a/package/setools/setools.mk
+++ b/package/setools/setools.mk
@@ -35,50 +35,4 @@ ifeq ($(BR2_sparc64):$(BR2_STATIC_LIBS),y:)
 SETOOLS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -fPIC"
 endif
 
-HOST_SETOOLS_DEPENDENCIES = host-libselinux host-libsepol host-sqlite \
-	host-libxml2 host-bzip2 host-bison
-
-ifeq ($(BR2_PACKAGE_PYTHON3),y)
-HOST_SETOOLS_PYTHON_VERSION=$(PYTHON3_VERSION_MAJOR)
-HOST_SETOOLS_DEPENDENCIES += host-python3
-HOST_SETOOLS_CONF_ENV += am_cv_python_version=$(PYTHON3_VERSION)
-else
-HOST_SETOOLS_PYTHON_VERSION=$(PYTHON_VERSION_MAJOR)
-HOST_SETOOLS_DEPENDENCIES += host-python
-HOST_SETOOLS_CONF_ENV += am_cv_python_version=$(PYTHON_VERSION)
-endif
-
-HOST_SETOOLS_PYTHON_SITE_PACKAGES = $(HOST_DIR)/usr/lib/python$(HOST_SETOOLS_PYTHON_VERSION)/site-packages
-HOST_SETOOLS_PYTHON_INCLUDES = $(HOST_DIR)/usr/include/python$(HOST_SETOOLS_PYTHON_VERSION)
-HOST_SETOOLS_PYTHON_LIB = -lpython$(HOST_SETOOLS_PYTHON_VERSION)
-
-# Notes: Need "disable-selinux-check" so the configure does not check to see
-#        if host has selinux enabled.
-#        Host builds with python support to enable tools for offline target
-#        policy analysis
-HOST_SETOOLS_CONF_OPTS = \
-	--disable-debug \
-	--disable-gui \
-	--disable-bwidget-check \
-	--disable-selinux-check \
-	--disable-swig-java \
-	--disable-swig-python \
-	--disable-swig-tcl \
-	--with-sepol-devel="$(HOST_DIR)/usr" \
-	--with-selinux-devel="$(HOST_DIR)/usr" \
-	PYTHON_LDFLAGS="-L$(HOST_DIR)/usr/lib/" \
-	PYTHON_CPPFLAGS="-I$(HOST_SETOOLS_PYTHON_INCLUDES)" \
-	PYTHON_SITE_PKG="$(HOST_SETOOLS_PYTHON_SITE_PACKAGES)" \
-	PYTHON_EXTRA_LIBS="-lpthread -ldl -lutil $(HOST_SETOOLS_PYTHON_LIB)"
-
-HOST_SETOOLS_CONF_ENV += \
-	am_cv_pathless_PYTHON=python \
-	ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python \
-	am_cv_python_platform=linux2 \
-	am_cv_python_version=$(HOST_SETOOLS_PYTHON_VERSION) \
-	am_cv_python_pythondir=$(HOST_SETOOLS_PYTHON_SITE_PACKAGES) \
-	am_cv_python_pyexecdir=$(HOST_SETOOLS_PYTHON_SITE_PACKAGES) \
-	am_cv_python_includes=-I$(HOST_SETOOLS_PYTHON_INCLUDES)
-
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 19/24] xutil_util-macros: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (17 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 18/24] setools: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 20/24] bzip2: " Julien Floret
                   ` (5 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/xutil_util-macros/xutil_util-macros.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/xutil_util-macros/xutil_util-macros.mk b/package/xutil_util-macros/xutil_util-macros.mk
index 1451a0698dee..a13012b635dd 100644
--- a/package/xutil_util-macros/xutil_util-macros.mk
+++ b/package/xutil_util-macros/xutil_util-macros.mk
@@ -14,4 +14,3 @@ XUTIL_UTIL_MACROS_INSTALL_STAGING = YES
 XUTIL_UTIL_MACROS_INSTALL_TARGET = NO
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 20/24] bzip2: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (18 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 19/24] xutil_util-macros: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 21/24] python-markupsafe: " Julien Floret
                   ` (4 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/bzip2/bzip2.mk | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/package/bzip2/bzip2.mk b/package/bzip2/bzip2.mk
index 0597ab97d620..6011cd3965d0 100644
--- a/package/bzip2/bzip2.mk
+++ b/package/bzip2/bzip2.mk
@@ -51,19 +51,4 @@ define BZIP2_INSTALL_TARGET_CMDS
 	$(BZIP2_INSTALL_TARGET_SHARED_CMDS)
 endef
 
-define HOST_BZIP2_BUILD_CMDS
-	$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) \
-		$(MAKE) -C $(@D) -f Makefile-libbz2_so
-	$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) \
-		$(MAKE) -C $(@D) libbz2.a bzip2 bzip2recover
-endef
-
-define HOST_BZIP2_INSTALL_CMDS
-	$(HOST_MAKE_ENV) \
-		$(MAKE) PREFIX=$(HOST_DIR)/usr -C $(@D) install
-	$(HOST_MAKE_ENV) \
-		$(MAKE) -f Makefile-libbz2_so PREFIX=$(HOST_DIR)/usr -C $(@D) install
-endef
-
 $(eval $(generic-package))
-$(eval $(host-generic-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 21/24] python-markupsafe: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (19 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 20/24] bzip2: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 22/24] sdl: " Julien Floret
                   ` (3 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/python-markupsafe/python-markupsafe.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/python-markupsafe/python-markupsafe.mk b/package/python-markupsafe/python-markupsafe.mk
index c815728cd505..9c7eb14c971c 100644
--- a/package/python-markupsafe/python-markupsafe.mk
+++ b/package/python-markupsafe/python-markupsafe.mk
@@ -12,4 +12,3 @@ PYTHON_MARKUPSAFE_LICENSE = BSD-3c
 PYTHON_MARKUPSAFE_LICENSE_FILES = LICENSE
 
 $(eval $(python-package))
-$(eval $(host-python-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 22/24] sdl: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (20 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 21/24] python-markupsafe: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 23/24] sqlite: " Julien Floret
                   ` (2 subsequent siblings)
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/sdl/sdl.mk | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index 38b4b977525f..c2e791dbbd38 100644
--- a/package/sdl/sdl.mk
+++ b/package/sdl/sdl.mk
@@ -18,10 +18,8 @@ define SDL_RUN_AUTOGEN
 endef
 
 SDL_PRE_CONFIGURE_HOOKS += SDL_RUN_AUTOGEN
-HOST_SDL_PRE_CONFIGURE_HOOKS += SDL_RUN_AUTOGEN
 
 SDL_DEPENDENCIES += host-automake host-autoconf host-libtool
-HOST_SDL_DEPENDENCIES += host-automake host-autoconf host-libtool
 
 ifeq ($(BR2_PACKAGE_SDL_FBCON),y)
 SDL_CONF_OPTS += --enable-video-fbcon=yes
@@ -87,15 +85,6 @@ SDL_CONF_OPTS += \
 	--disable-nasm \
 	--disable-video-ps3
 
-HOST_SDL_CONF_OPTS += \
-	--enable-pulseaudio=no \
-	--enable-video-x11=no \
-	--disable-arts \
-	--disable-esd \
-	--disable-nasm \
-	--disable-video-ps3
-
 SDL_CONFIG_SCRIPTS = sdl-config
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 23/24] sqlite: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (21 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 22/24] sdl: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:46 ` [Buildroot] [PATCH 24/24] ustr: " Julien Floret
  2016-06-29 13:52 ` [Buildroot] [PATCH 00/24] Drop unused host packages Thomas Petazzoni
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/sqlite/sqlite.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk
index 0dadd76516aa..ef009727d663 100644
--- a/package/sqlite/sqlite.mk
+++ b/package/sqlite/sqlite.mk
@@ -56,4 +56,3 @@ SQLITE_CONF_OPTS += --disable-editline --disable-readline
 endif
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 24/24] ustr: drop unused host variant
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (22 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 23/24] sqlite: " Julien Floret
@ 2016-06-29 13:46 ` Julien Floret
  2016-06-29 13:52 ` [Buildroot] [PATCH 00/24] Drop unused host packages Thomas Petazzoni
  24 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-06-29 13:46 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 package/ustr/ustr.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/ustr/ustr.mk b/package/ustr/ustr.mk
index 174f05565aef..5dcd3c460f49 100644
--- a/package/ustr/ustr.mk
+++ b/package/ustr/ustr.mk
@@ -24,4 +24,3 @@ USTR_INSTALL_STAGING = YES
 USTR_MAKE_OPTS = all all-shared
 
 $(eval $(autotools-package))
-$(eval $(host-autotools-package))
-- 
2.1.0

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

* [Buildroot] [PATCH 00/24] Drop unused host packages
  2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
                   ` (23 preceding siblings ...)
  2016-06-29 13:46 ` [Buildroot] [PATCH 24/24] ustr: " Julien Floret
@ 2016-06-29 13:52 ` Thomas Petazzoni
  2016-06-29 14:00   ` Julien Floret
  2016-07-02 10:18   ` Arnout Vandecappelle
  24 siblings, 2 replies; 46+ messages in thread
From: Thomas Petazzoni @ 2016-06-29 13:52 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 29 Jun 2016 15:46:07 +0200, Julien Floret wrote:
> A lot of host packages are never built, because they don't have a
> Config.in option, and are never referenced in other packages'
> dependencies.
> 
> This series removes them to avoid maintaining unneeded code; they
> will still be in git history if some are needed again in the future.
> 
> The other motivation behind this cleanup is that I'm starting to think
> about a new proposal for speeding up the Makefile parsing, similar to
> what Thomas proposed here:
> http://lists.busybox.net/pipermail/buildroot/2014-March/092548.html
> 
> As Thomas explained, this change would imply adding blind Config.in
> options for all host packages. It's quite a big change, so a little
> preliminary cleanup could help.

I haven't looked at the series, but did you take into account that just
grepping for "host-foo" is not sufficient to know if the host-foo
package is used or not?

Indeed, if a package has:

BAR_DEPENDENCIES = foo

then host-bar automatically has a dependency on host-foo, without
host-foo being written anywhere.

Can you confirm this is something you have taken into account?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 02/24] sepolgen: drop unused host package
  2016-06-29 13:46 ` [Buildroot] [PATCH 02/24] sepolgen: drop unused host package Julien Floret
@ 2016-06-29 13:53   ` Thomas Petazzoni
  0 siblings, 0 replies; 46+ messages in thread
From: Thomas Petazzoni @ 2016-06-29 13:53 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 29 Jun 2016 15:46:09 +0200, Julien Floret wrote:
> Signed-off-by: Julien Floret <julien.floret@6wind.com>
> ---
>  package/sepolgen/sepolgen.hash |  2 --
>  package/sepolgen/sepolgen.mk   | 30 ------------------------------
>  2 files changed, 32 deletions(-)
>  delete mode 100644 package/sepolgen/sepolgen.hash
>  delete mode 100644 package/sepolgen/sepolgen.mk

This package is meant to be used in the (near?) future by the refpolicy
stuff needed for SELinux. We should keep it IMO.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 06/24] jsmin: drop unused host variant
  2016-06-29 13:46 ` [Buildroot] [PATCH 06/24] jsmin: " Julien Floret
@ 2016-06-29 13:56   ` Thomas Petazzoni
  2016-06-29 16:14     ` Peter Korsgaard
  0 siblings, 1 reply; 46+ messages in thread
From: Thomas Petazzoni @ 2016-06-29 13:56 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 29 Jun 2016 15:46:13 +0200, Julien Floret wrote:
> Signed-off-by: Julien Floret <julien.floret@6wind.com>
> ---
>  package/jsmin/jsmin.mk | 9 ---------
>  1 file changed, 9 deletions(-)
> 
> diff --git a/package/jsmin/jsmin.mk b/package/jsmin/jsmin.mk
> index a66ba7158245..42344c9c8674 100644
> --- a/package/jsmin/jsmin.mk
> +++ b/package/jsmin/jsmin.mk
> @@ -17,13 +17,4 @@ define JSMIN_INSTALL_TARGET_CMDS
>  	$(INSTALL) -m 0755 -D $(@D)/jsmin $(TARGET_DIR)/usr/bin/jsmin
>  endef
>  
> -define HOST_JSMIN_BUILD_CMDS
> -	$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) jsmin
> -endef
> -
> -define HOST_JSMIN_INSTALL_CMDS
> -	$(INSTALL) -m 0755 -D $(@D)/jsmin $(HOST_DIR)/usr/bin/jsmin
> -endef
> -
>  $(eval $(generic-package))
> -$(eval $(host-generic-package))

This package (and its host variant) was added by Peter Korsgaard. I
guess the JS minimizer is useful on the host, when building other
packages, like web sites and their javascript code. Such packages are
generally not in Buildroot upstream, which is why we don't have a
dependency on host-jsmin anywhere.

Should we add a menuconfig entry, even though it's merely a build
dependency?

Peter?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 00/24] Drop unused host packages
  2016-06-29 13:52 ` [Buildroot] [PATCH 00/24] Drop unused host packages Thomas Petazzoni
@ 2016-06-29 14:00   ` Julien Floret
  2016-06-29 14:11     ` Thomas Petazzoni
  2016-07-02 10:18   ` Arnout Vandecappelle
  1 sibling, 1 reply; 46+ messages in thread
From: Julien Floret @ 2016-06-29 14:00 UTC (permalink / raw)
  To: buildroot

> I haven't looked at the series, but did you take into account that just
> grepping for "host-foo" is not sufficient to know if the host-foo
> package is used or not?
>
> Indeed, if a package has:
>
> BAR_DEPENDENCIES = foo
>
> then host-bar automatically has a dependency on host-foo, without
> host-foo being written anywhere.
>
> Can you confirm this is something you have taken into account?

No, I'm afraid I missed this point, sorry...
I checked only for dependencies on host-foo, or BR2_PACKAGE_HOST_FOO presence.

Julien

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

* [Buildroot] [PATCH 00/24] Drop unused host packages
  2016-06-29 14:00   ` Julien Floret
@ 2016-06-29 14:11     ` Thomas Petazzoni
  2016-06-29 14:30       ` Julien Floret
  0 siblings, 1 reply; 46+ messages in thread
From: Thomas Petazzoni @ 2016-06-29 14:11 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 29 Jun 2016 16:00:13 +0200, Julien Floret wrote:

> > Can you confirm this is something you have taken into account?  
> 
> No, I'm afraid I missed this point, sorry...
> I checked only for dependencies on host-foo, or BR2_PACKAGE_HOST_FOO presence.

Then you might have missed some of the possible uses of those host
packages, I'm afraid :-/

Can you double check this, and see if your series still applies or
whether it should be reworked ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 00/24] Drop unused host packages
  2016-06-29 14:11     ` Thomas Petazzoni
@ 2016-06-29 14:30       ` Julien Floret
  2016-06-29 14:43         ` Thomas Petazzoni
  0 siblings, 1 reply; 46+ messages in thread
From: Julien Floret @ 2016-06-29 14:30 UTC (permalink / raw)
  To: buildroot

>> > Can you confirm this is something you have taken into account?
>>
>> No, I'm afraid I missed this point, sorry...
>> I checked only for dependencies on host-foo, or BR2_PACKAGE_HOST_FOO presence.
>
> Then you might have missed some of the possible uses of those host
> packages, I'm afraid :-/
>
> Can you double check this, and see if your series still applies or
> whether it should be reworked ?

It surely needs some rework, sorry for the noise!
From your comments, I also understand some host packages should be kept
even if they are unused in buildroot upstream (e.g. jsmin), so I guess it's not
trivial for me to know which packages could be removed.

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

* [Buildroot] [PATCH 00/24] Drop unused host packages
  2016-06-29 14:30       ` Julien Floret
@ 2016-06-29 14:43         ` Thomas Petazzoni
  2016-06-29 21:53           ` Ezequiel Garcia
  0 siblings, 1 reply; 46+ messages in thread
From: Thomas Petazzoni @ 2016-06-29 14:43 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 29 Jun 2016 16:30:34 +0200, Julien Floret wrote:

> It surely needs some rework, sorry for the noise!

No problem, this cleanup effort is definitely welcome.

> From your comments, I also understand some host packages should be kept
> even if they are unused in buildroot upstream (e.g. jsmin), so I guess it's not
> trivial for me to know which packages could be removed.

Yes, there are some tricky cases. Normally the rule should indeed be
that a host package should either:

 1/ Be described in a Config.in.host file and therefore visible in
    menuconfig ;

 2/ Be a dependency of another package.

However, there are other situations:

 */ Host packages that we merge, even if they are not *yet* used by
    target packages. We sometimes do this to help people reduce the
    size of their patch series by merging some initial patches, while
    the remaining patches are still under discussion/review. Normally
    this is only a temporary situation (but for sepolgen, it's a
    temporary situation that lasts since many months).

 */ Host packages that are not used by other packages in Buildroot, but
    might be used by private, company/project-specific packages. I
    don't like this situation, because there is really no way these
    host packages will ever be built/tested. But I'm not sure what to
    do about these: adding an entry in menuconfig is a bit weird since
    they are not really needed for anything else but a build dependency.

What do others think?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 06/24] jsmin: drop unused host variant
  2016-06-29 13:56   ` Thomas Petazzoni
@ 2016-06-29 16:14     ` Peter Korsgaard
  0 siblings, 0 replies; 46+ messages in thread
From: Peter Korsgaard @ 2016-06-29 16:14 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

Hi,

 > This package (and its host variant) was added by Peter Korsgaard. I
 > guess the JS minimizer is useful on the host, when building other
 > packages, like web sites and their javascript code. Such packages are
 > generally not in Buildroot upstream, which is why we don't have a
 > dependency on host-jsmin anywhere.

 > Should we add a menuconfig entry, even though it's merely a build
 > dependency?

 > Peter?

Yes, that might be the best solution. That also makes it available for
use in E.G. a post-build script.

-- 
Venlig hilsen,
Peter Korsgaard 

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

* [Buildroot] [PATCH 00/24] Drop unused host packages
  2016-06-29 14:43         ` Thomas Petazzoni
@ 2016-06-29 21:53           ` Ezequiel Garcia
  2016-06-30  1:08             ` Henrique Marks
  2016-06-30 13:01             ` Julien Floret
  0 siblings, 2 replies; 46+ messages in thread
From: Ezequiel Garcia @ 2016-06-29 21:53 UTC (permalink / raw)
  To: buildroot

On 29 June 2016 at 11:43, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
[..]
>
>  */ Host packages that are not used by other packages in Buildroot, but
>     might be used by private, company/project-specific packages. I
>     don't like this situation, because there is really no way these
>     host packages will ever be built/tested. But I'm not sure what to
>     do about these: adding an entry in menuconfig is a bit weird since
>     they are not really needed for anything else but a build dependency.
>

I guess we could argue that if company/project is willing to maintain some
private package(s), then they are willing to maintain its dependencies,
incluing host package(s) and carry the whole bunch out of tree.
-- 
Ezequiel Garc?a, VanguardiaSur
www.vanguardiasur.com.ar

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

* [Buildroot] [PATCH 00/24] Drop unused host packages
  2016-06-29 21:53           ` Ezequiel Garcia
@ 2016-06-30  1:08             ` Henrique Marks
  2016-06-30 13:01             ` Julien Floret
  1 sibling, 0 replies; 46+ messages in thread
From: Henrique Marks @ 2016-06-30  1:08 UTC (permalink / raw)
  To: buildroot



----- Mensagem original -----
> De: "Ezequiel Garcia" <ezequiel@vanguardiasur.com.ar>
> Para: "Thomas Petazzoni" <thomas.petazzoni@free-electrons.com>
> Cc: "buildroot" <buildroot@buildroot.org>
> Enviadas: Quarta-feira, 29 de junho de 2016 18:53:26
> Assunto: Re: [Buildroot] [PATCH 00/24] Drop unused host packages

> On 29 June 2016 at 11:43, Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com> wrote:
> [..]
>>
>>  */ Host packages that are not used by other packages in Buildroot, but
>>     might be used by private, company/project-specific packages. I
>>     don't like this situation, because there is really no way these
>>     host packages will ever be built/tested. But I'm not sure what to
>>     do about these: adding an entry in menuconfig is a bit weird since
>>     they are not really needed for anything else but a build dependency.
>>
> 
> I guess we could argue that if company/project is willing to maintain some
> private package(s), then they are willing to maintain its dependencies,
> incluing host package(s) and carry the whole bunch out of tree.
> --
> Ezequiel Garc?a, VanguardiaSur
> www.vanguardiasur.com.ar
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

I can confirm some of the host packages removed with the patch series are used to build private packages, in private buildroot trees.

Of course, we try to contribute as much as possible, and it seems to me that keep this packages in the tree is good for us, because our private tree based on upstream buildroot tree have no more than 10 patches. Everytime there is an opportunity to send one of this patches to buildroot upstream, we have one less package to maintain internally, and this is good for us and for the project.

We could think of a stronger politics of ownership for these packages, instead of removing them from the upstream tree.

Some host packages, like perl-file-util, would be a little harder to maintain in our buildroot-tree.

-- 
Dr. Henrique Marks
henrique.marks at datacom.ind.br
R. Am?rica, 1000 - Eldorado do Sul - RS
CEP: 92990-000 - Brasil
Fone: +55 51 3933 3000 - Ramal 3466

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

* [Buildroot] [PATCH 05/24] erlang-goldrush: drop unused host variant
  2016-06-29 13:46 ` [Buildroot] [PATCH 05/24] erlang-goldrush: " Julien Floret
@ 2016-06-30  8:12   ` Thomas Petazzoni
  0 siblings, 0 replies; 46+ messages in thread
From: Thomas Petazzoni @ 2016-06-30  8:12 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 29 Jun 2016 15:46:12 +0200, Julien Floret wrote:
> Signed-off-by: Julien Floret <julien.floret@6wind.com>

This one is a good example of what I said yesterday. You have the
following dependency chain:

 ejabberd -> host-erlang-lager -> host-erlang-goldrush

The host-erlang-lager -> host-erlang-goldrush dependency is not visible
by grepping for host-erlang-goldrush because the erlang-lager package
only does:

ERLANG_LAGER_VERSION = 2.2.0
ERLANG_LAGER_SITE = $(call github,basho,lager,$(ERLANG_LAGER_VERSION))
ERLANG_LAGER_LICENSE = Apache-2.0
ERLANG_LAGER_LICENSE_FILES = LICENSE
ERLANG_LAGER_DEPENDENCIES = erlang-goldrush

$(eval $(rebar-package))
$(eval $(host-rebar-package))

And the line:

ERLANG_LAGER_DEPENDENCIES = erlang-goldrush

implies:

HOST_ERLANG_LAGER_DEPENDENCIES = host-erlang-goldrush

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 00/24] Drop unused host packages
  2016-06-29 21:53           ` Ezequiel Garcia
  2016-06-30  1:08             ` Henrique Marks
@ 2016-06-30 13:01             ` Julien Floret
  2016-07-02 10:05               ` Arnout Vandecappelle
  1 sibling, 1 reply; 46+ messages in thread
From: Julien Floret @ 2016-06-30 13:01 UTC (permalink / raw)
  To: buildroot

2016-06-29 23:53 GMT+02:00 Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>:
> On 29 June 2016 at 11:43, Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com> wrote:
> [..]
>>
>>  */ Host packages that are not used by other packages in Buildroot, but
>>     might be used by private, company/project-specific packages. I
>>     don't like this situation, because there is really no way these
>>     host packages will ever be built/tested. But I'm not sure what to
>>     do about these: adding an entry in menuconfig is a bit weird since
>>     they are not really needed for anything else but a build dependency.
>>
>
> I guess we could argue that if company/project is willing to maintain some
> private package(s), then they are willing to maintain its dependencies,
> incluing host package(s) and carry the whole bunch out of tree.
> --
> Ezequiel Garc?a, VanguardiaSur
> www.vanguardiasur.com.ar

Then maybe the best approach would be to add Kconfig options for
all host packages, similarly to target packages - blind options for build
dependencies that get selected automatically by other packages, and
explicit options for host packages that are unreachable in upstream
buildroot - to allow testing their build and keep track of them?

Besides, having Kconfig options for all host packages would open the way
to including only the .mk files of selected packages, to speed up the
makefile parsing.
Maybe it could be handy for other things, too?

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

* [Buildroot] [PATCH 00/24] Drop unused host packages
  2016-06-30 13:01             ` Julien Floret
@ 2016-07-02 10:05               ` Arnout Vandecappelle
  0 siblings, 0 replies; 46+ messages in thread
From: Arnout Vandecappelle @ 2016-07-02 10:05 UTC (permalink / raw)
  To: buildroot

On 30-06-16 15:01, Julien Floret wrote:
> 2016-06-29 23:53 GMT+02:00 Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>:
>> On 29 June 2016 at 11:43, Thomas Petazzoni
>> <thomas.petazzoni@free-electrons.com> wrote:
>> [..]
>>>
>>>  */ Host packages that are not used by other packages in Buildroot, but
>>>     might be used by private, company/project-specific packages. I
>>>     don't like this situation, because there is really no way these
>>>     host packages will ever be built/tested. But I'm not sure what to
>>>     do about these: adding an entry in menuconfig is a bit weird since
>>>     they are not really needed for anything else but a build dependency.
>>>
>>
>> I guess we could argue that if company/project is willing to maintain some
>> private package(s), then they are willing to maintain its dependencies,
>> incluing host package(s) and carry the whole bunch out of tree.

 I would agree with this.

>> --
>> Ezequiel Garc?a, VanguardiaSur
>> www.vanguardiasur.com.ar
> 
> Then maybe the best approach would be to add Kconfig options for
> all host packages, similarly to target packages - blind options for build
> dependencies that get selected automatically by other packages, and
> explicit options for host packages that are unreachable in upstream
> buildroot - to allow testing their build and keep track of them?

 And I agree with this as well.

 That said, I'm less opposed to adding Config.in.host options for random
packages than some other people here.


> 
> Besides, having Kconfig options for all host packages would open the way
> to including only the .mk files of selected packages, to speed up the
> makefile parsing.
> Maybe it could be handy for other things, too?

 IIRC it was also needed to get per-package staging completely correct. And it
would allow to simplify the construction of the list of packages. Things like
ALL_DEPENDENCIES wouldn't be needed anymore.


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
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:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

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

* [Buildroot] [PATCH 00/24] Drop unused host packages
  2016-06-29 13:52 ` [Buildroot] [PATCH 00/24] Drop unused host packages Thomas Petazzoni
  2016-06-29 14:00   ` Julien Floret
@ 2016-07-02 10:18   ` Arnout Vandecappelle
  2016-07-02 10:33     ` Thomas Petazzoni
  1 sibling, 1 reply; 46+ messages in thread
From: Arnout Vandecappelle @ 2016-07-02 10:18 UTC (permalink / raw)
  To: buildroot

On 29-06-16 15:52, Thomas Petazzoni wrote:
> Hello,
> 
> On Wed, 29 Jun 2016 15:46:07 +0200, Julien Floret wrote:
>> A lot of host packages are never built, because they don't have a
>> Config.in option, and are never referenced in other packages'
>> dependencies.
>>
>> This series removes them to avoid maintaining unneeded code; they
>> will still be in git history if some are needed again in the future.
>>
>> The other motivation behind this cleanup is that I'm starting to think
>> about a new proposal for speeding up the Makefile parsing, similar to
>> what Thomas proposed here:
>> http://lists.busybox.net/pipermail/buildroot/2014-March/092548.html
>>
>> As Thomas explained, this change would imply adding blind Config.in
>> options for all host packages. It's quite a big change, so a little
>> preliminary cleanup could help.
> 
> I haven't looked at the series, but did you take into account that just
> grepping for "host-foo" is not sufficient to know if the host-foo
> package is used or not?
> 
> Indeed, if a package has:
> 
> BAR_DEPENDENCIES = foo
> 
> then host-bar automatically has a dependency on host-foo, without
> host-foo being written anywhere.

 That automatic derivation of dependencies of host packages sounded like a good
idea at the time, but it can really bite you. Of the 200 host packages that we
have at the moment, there are just 64 that use the inheritance - and many of
them are in Julien's list here (possibly incorrectly).

 So, as the person who introduced this mis-feature, I'm the first one to vote
for removing it again.

 Regards,
 Arnout


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
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:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

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

* [Buildroot] [PATCH 00/24] Drop unused host packages
  2016-07-02 10:18   ` Arnout Vandecappelle
@ 2016-07-02 10:33     ` Thomas Petazzoni
  2016-07-02 11:30       ` Peter Korsgaard
  0 siblings, 1 reply; 46+ messages in thread
From: Thomas Petazzoni @ 2016-07-02 10:33 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat, 2 Jul 2016 12:18:30 +0200, Arnout Vandecappelle wrote:

>  That automatic derivation of dependencies of host packages sounded like a good
> idea at the time, but it can really bite you. Of the 200 host packages that we
> have at the moment, there are just 64 that use the inheritance - and many of
> them are in Julien's list here (possibly incorrectly).
> 
>  So, as the person who introduced this mis-feature, I'm the first one to vote
> for removing it again.

I agree that this automatic derivation has caused quite a few issues in
the past and in many cases, we need different dependencies for the host
and the target variants. So maybe we should think of removing this
functionality.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 00/24] Drop unused host packages
  2016-07-02 10:33     ` Thomas Petazzoni
@ 2016-07-02 11:30       ` Peter Korsgaard
  2016-07-02 14:08         ` Julien Floret
  0 siblings, 1 reply; 46+ messages in thread
From: Peter Korsgaard @ 2016-07-02 11:30 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

Hi,

 >> So, as the person who introduced this mis-feature, I'm the first one to vote
 >> for removing it again.

 > I agree that this automatic derivation has caused quite a few issues in
 > the past and in many cases, we need different dependencies for the host
 > and the target variants. So maybe we should think of removing this
 > functionality.

+1 from here as well.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 00/24] Drop unused host packages
  2016-07-02 11:30       ` Peter Korsgaard
@ 2016-07-02 14:08         ` Julien Floret
  2016-07-02 14:43           ` Arnout Vandecappelle
  0 siblings, 1 reply; 46+ messages in thread
From: Julien Floret @ 2016-07-02 14:08 UTC (permalink / raw)
  To: buildroot

2016-07-02 13:30 GMT+02:00 Peter Korsgaard <peter@korsgaard.com>:
>>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
>
> Hi,
>
>  >> So, as the person who introduced this mis-feature, I'm the first one to vote
>  >> for removing it again.
>
>  > I agree that this automatic derivation has caused quite a few issues in
>  > the past and in many cases, we need different dependencies for the host
>  > and the target variants. So maybe we should think of removing this
>  > functionality.
>
> +1 from here as well.

Sounds good to me, I can take a look at this.

Julien

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

* [Buildroot] [PATCH 00/24] Drop unused host packages
  2016-07-02 14:08         ` Julien Floret
@ 2016-07-02 14:43           ` Arnout Vandecappelle
  2016-07-02 19:15             ` Julien Floret
  0 siblings, 1 reply; 46+ messages in thread
From: Arnout Vandecappelle @ 2016-07-02 14:43 UTC (permalink / raw)
  To: buildroot

On 02-07-16 16:08, Julien Floret wrote:
> 2016-07-02 13:30 GMT+02:00 Peter Korsgaard <peter@korsgaard.com>:
>>>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
>>
>> Hi,
>>
>>  >> So, as the person who introduced this mis-feature, I'm the first one to vote
>>  >> for removing it again.
>>
>>  > I agree that this automatic derivation has caused quite a few issues in
>>  > the past and in many cases, we need different dependencies for the host
>>  > and the target variants. So maybe we should think of removing this
>>  > functionality.
>>
>> +1 from here as well.
> 
> Sounds good to me, I can take a look at this.

 Since that will be 64 patches, it may be a good idea to already submit just a
subset.

 Regards,
 Arnout


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
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:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

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

* [Buildroot] [PATCH 00/24] Drop unused host packages
  2016-07-02 14:43           ` Arnout Vandecappelle
@ 2016-07-02 19:15             ` Julien Floret
  0 siblings, 0 replies; 46+ messages in thread
From: Julien Floret @ 2016-07-02 19:15 UTC (permalink / raw)
  To: buildroot

>  Since that will be 64 patches, it may be a good idea to already submit just a
> subset.

Ok, done. By the way, I only found 60 packages to modify actually
(4 target packages have a dependency on their host variant only).

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

* [Buildroot] [PATCH 14/24] perl-file-util: drop unused host variant
  2016-06-29 13:46 ` [Buildroot] [PATCH 14/24] perl-file-util: " Julien Floret
@ 2016-07-03 15:22   ` Carlos Santos
  2016-07-03 15:49     ` Thomas Petazzoni
  0 siblings, 1 reply; 46+ messages in thread
From: Carlos Santos @ 2016-07-03 15:22 UTC (permalink / raw)
  To: buildroot

> From: "Julien Floret" <julien.floret@6wind.com>
> To: buildroot at buildroot.org
> Cc: "thomas petazzoni" <thomas.petazzoni@free-electrons.com>
> Sent: Wednesday, June 29, 2016 10:46:21 AM
> Subject: [Buildroot] [PATCH 14/24] perl-file-util: drop unused host variant

> Signed-off-by: Julien Floret <julien.floret@6wind.com>
> ---
> package/perl-file-util/perl-file-util.mk | 2 --
> 1 file changed, 2 deletions(-)
> 
> diff --git a/package/perl-file-util/perl-file-util.mk
> b/package/perl-file-util/perl-file-util.mk
> index 7026515e6649..fe83585f3614 100644
> --- a/package/perl-file-util/perl-file-util.mk
> +++ b/package/perl-file-util/perl-file-util.mk
> @@ -10,7 +10,5 @@ PERL_FILE_UTIL_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TOMMY
> PERL_FILE_UTIL_DEPENDENCIES = host-perl-module-build
> PERL_FILE_UTIL_LICENSE = Artistic or GPLv1+
> PERL_FILE_UTIL_LICENSE_FILES = COPYING LICENSE
> -HOST_PERL_FILE_UTIL_DEPENDENCIES = host-perl-module-build
> 
> $(eval $(perl-package))
> -$(eval $(host-perl-package))
> --
> 2.1.0

Not again, please!

commit 5b7cb94c967549cd59cc692ec2fc843f66974478
Author: Carlos Santos <casantos@datacom.ind.br>
Date:   Tue Nov 17 10:24:06 2015 -0200

    perl-file-util: restore host variant and fix dependencies
    
    The host variant was added by us (DATACOM) because it is useful to
    build some third-party packages that we use in our firmware. We humbly
    request you to keep it alive.
    
    Declare that it requires host-perl-module-build.
    
    Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
    Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

commit 4b33c324809c4928e0da827a3ec88703a73c654a
Author: Yann E. MORIN <yann.morin.1998@free.fr>
Date:   Fri Nov 13 22:48:49 2015 +0100

    package/perl-file-util: remove host variant
    
    It does not build, and no one depends on it.
    
    Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
    Cc: Francois Perrad <fperrad@gmail.com>
    Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
    Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Carlos Santos (Casantos)
DATACOM, P&D

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

* [Buildroot] [PATCH 14/24] perl-file-util: drop unused host variant
  2016-07-03 15:22   ` Carlos Santos
@ 2016-07-03 15:49     ` Thomas Petazzoni
  0 siblings, 0 replies; 46+ messages in thread
From: Thomas Petazzoni @ 2016-07-03 15:49 UTC (permalink / raw)
  To: buildroot

Hello,

On Sun, 3 Jul 2016 12:22:02 -0300 (BRT), Carlos Santos wrote:

> > diff --git a/package/perl-file-util/perl-file-util.mk
> > b/package/perl-file-util/perl-file-util.mk
> > index 7026515e6649..fe83585f3614 100644
> > --- a/package/perl-file-util/perl-file-util.mk
> > +++ b/package/perl-file-util/perl-file-util.mk
> > @@ -10,7 +10,5 @@ PERL_FILE_UTIL_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TOMMY
> > PERL_FILE_UTIL_DEPENDENCIES = host-perl-module-build
> > PERL_FILE_UTIL_LICENSE = Artistic or GPLv1+
> > PERL_FILE_UTIL_LICENSE_FILES = COPYING LICENSE
> > -HOST_PERL_FILE_UTIL_DEPENDENCIES = host-perl-module-build
> > 
> > $(eval $(perl-package))
> > -$(eval $(host-perl-package))
> > --
> > 2.1.0  
> 
> Not again, please!

All those patches have already been marked rejected, so no worries.

We are still wondering how to deal with those "orphan" host packages
though.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2016-07-03 15:49 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-29 13:46 [Buildroot] [PATCH 00/24] Drop unused host packages Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 01/24] x11r7: drop unused host variants Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 02/24] sepolgen: drop unused host package Julien Floret
2016-06-29 13:53   ` Thomas Petazzoni
2016-06-29 13:46 ` [Buildroot] [PATCH 03/24] attr: drop unused host variant Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 04/24] directfb: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 05/24] erlang-goldrush: " Julien Floret
2016-06-30  8:12   ` Thomas Petazzoni
2016-06-29 13:46 ` [Buildroot] [PATCH 06/24] jsmin: " Julien Floret
2016-06-29 13:56   ` Thomas Petazzoni
2016-06-29 16:14     ` Peter Korsgaard
2016-06-29 13:46 ` [Buildroot] [PATCH 07/24] libatomic_ops: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 08/24] libconfuse: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 09/24] libpthread-stubs: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 10/24] libsemanage: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 11/24] libsodium: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 12/24] lzip: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 13/24] pax-utils: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 14/24] perl-file-util: " Julien Floret
2016-07-03 15:22   ` Carlos Santos
2016-07-03 15:49     ` Thomas Petazzoni
2016-06-29 13:46 ` [Buildroot] [PATCH 15/24] python-jinja2: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 16/24] python-mako: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 17/24] sdl_image: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 18/24] setools: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 19/24] xutil_util-macros: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 20/24] bzip2: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 21/24] python-markupsafe: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 22/24] sdl: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 23/24] sqlite: " Julien Floret
2016-06-29 13:46 ` [Buildroot] [PATCH 24/24] ustr: " Julien Floret
2016-06-29 13:52 ` [Buildroot] [PATCH 00/24] Drop unused host packages Thomas Petazzoni
2016-06-29 14:00   ` Julien Floret
2016-06-29 14:11     ` Thomas Petazzoni
2016-06-29 14:30       ` Julien Floret
2016-06-29 14:43         ` Thomas Petazzoni
2016-06-29 21:53           ` Ezequiel Garcia
2016-06-30  1:08             ` Henrique Marks
2016-06-30 13:01             ` Julien Floret
2016-07-02 10:05               ` Arnout Vandecappelle
2016-07-02 10:18   ` Arnout Vandecappelle
2016-07-02 10:33     ` Thomas Petazzoni
2016-07-02 11:30       ` Peter Korsgaard
2016-07-02 14:08         ` Julien Floret
2016-07-02 14:43           ` Arnout Vandecappelle
2016-07-02 19:15             ` Julien Floret

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