Skip to contentSkip to conversation

Remove automatic derivation of host dependencies

PATCH New Julien Floret 3 participants 147 messages Jul 2, 2016 – Jul 3, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

cover Remove automatic derivation of host dependencies

The automatic derivation of host dependencies feature consists in automatically deducing dependencies of a package host variant from the dependencies of the target variant.

However, it causes some issues, and most host packages need different dependencies than their target variants.

This series removes this feature in 3 steps:

1) patches 1 to 54 set explicit dependencies for all host packages that relied on automatic derivation (patches 1 to 54)
2) patch 55 removes the feature itself from buildroot infrastructure
3) patches 56 to 69 remove the empty dependencies definitions that had been added to avoid the automatic inheritance
(as spotted by Arnout Vandecappelle)

Julien Floret (69):
am335x-pru-package: add explicit dependencies for host variant
axfsutils: add explicit dependencies for host variant
bdwgc: add explicit dependencies for host variant
cdrkit: add explicit dependencies for host variant
cloog: add explicit dependencies for host variant
cramfs: add explicit dependencies for host variant
doxygen: add explicit dependencies for host variant
dtc: add explicit dependencies for host variant
e2tools: add explicit dependencies for host variant
erlang-lager: add explicit dependencies for host variant
expat: add explicit dependencies for host variant
file: add explicit dependencies for host variant
fontconfig: add explicit dependencies for host variant
fwup: add explicit dependencies for host variant
genimage: add explicit dependencies for host variant
gmp: add explicit dependencies for host variant
heimdal: add explicit dependencies for host variant
imx-usb-loader: add explicit dependencies for host variant
isl: add explicit dependencies for host variant
libconfuse: add explicit dependencies for host variant
libcroco: add explicit dependencies for host variant
libftdi: add explicit dependencies for host variant
libpng: add explicit dependencies for host variant
libsepol: add explicit dependencies for host variant
libtool: add explicit dependencies for host variant
libusb-compat: add explicit dependencies for host variant
libxml-parser-perl: add explicit dependencies for host variant
lttng-babeltrace: add explicit dependencies for host variant
lzop: add explicit dependencies for host variant
mpc: add explicit dependencies for host variant
mpfr: add explicit dependencies for host variant
pixman: add explicit dependencies for host variant
python-pycrypto: add explicit dependencies for host variant
swig: add explicit dependencies for host variant
wayland: add explicit dependencies for host variant
libxcb: add explicit dependencies for host variant
xapp_bdftopcf: add explicit dependencies for host variant
xapp_mkfontdir: add explicit dependencies for host variant
xapp_mkfontscale: add explicit dependencies for host variant
xapp_xcursorgen: add explicit dependencies for host variant
xapp_xkbcomp: add explicit dependencies for host variant
xcb-proto: add explicit dependencies for host variant
xfont_encodings: add explicit dependencies for host variant
xfont_font-util: add explicit dependencies for host variant
xlib_libX11: add explicit dependencies for host variant
xlib_libXau: add explicit dependencies for host variant
xlib_libXcursor: add explicit dependencies for host variant
xlib_libXdmcp: add explicit dependencies for host variant
xlib_libXfixes: add explicit dependencies for host variant
xlib_libXfont: add explicit dependencies for host variant
xlib_libXrender: add explicit dependencies for host variant
xlib_libfontenc: add explicit dependencies for host variant
xlib_libxkbfile: add explicit dependencies for host variant
xutil_makedepend: add explicit dependencies for host variant
infra: remove auto derivation of host dependencies
xorriso: remove empty host dependencies definition
tcl: remove empty host dependencies definition
binutils: remove empty host dependencies definition
boost: remove empty host dependencies definition
dos2unix: remove empty host dependencies definition
dosfstools: remove empty host dependencies definition
gawk: remove empty host dependencies definition
lua: remove empty host dependencies definition
mtools: remove empty host dependencies definition
ncurses: remove empty host dependencies definition
pax-utils: remove empty host dependencies definition
perl: remove empty host dependencies definition
rpi-firmware: remove empty host dependencies definition
tar: remove empty host dependencies definition

 package/am335x-pru-package/am335x-pru-package.mk   |  1 +
 package/axfsutils/axfsutils.mk                     |  2 +-
 package/bdwgc/bdwgc.mk                             |  1 +
 package/binutils/binutils.mk                       |  1 -
 package/boost/boost.mk                             |  2 --
 package/cdrkit/cdrkit.mk                           |  1 +
 package/cloog/cloog.mk                             |  2 +-
 package/cramfs/cramfs.mk                           |  1 +
 package/dos2unix/dos2unix.mk                       |  1 -
 package/dosfstools/dosfstools.mk                   |  3 ---
 package/doxygen/doxygen.mk                         |  2 +-
 package/dtc/dtc.mk                                 |  1 +
 package/e2tools/e2tools.mk                         |  1 +
 package/erlang-lager/erlang-lager.mk               |  1 +
 package/expat/expat.mk                             |  1 +
 package/file/file.mk                               |  1 +
 package/fontconfig/fontconfig.mk                   |  1 +
 package/fwup/fwup.mk                               |  1 +
 package/gawk/gawk.mk                               |  3 ---
 package/genimage/genimage.mk                       |  2 +-
 package/gmp/gmp.mk                                 |  1 +
 package/heimdal/heimdal.mk                         |  2 +-
 package/imx-usb-loader/imx-usb-loader.mk           |  2 +-
 package/isl/isl.mk                                 |  2 +-
 package/libconfuse/libconfuse.mk                   |  1 +
 package/libcroco/libcroco.mk                       |  1 +
 package/libftdi/libftdi.mk                         |  1 +
 package/libpng/libpng.mk                           |  1 +
 package/libsepol/libsepol.mk                       |  1 +
 package/libtool/libtool.mk                         |  1 +
 package/libusb-compat/libusb-compat.mk             |  1 +
 package/libxml-parser-perl/libxml-parser-perl.mk   |  2 +-
 package/lttng-babeltrace/lttng-babeltrace.mk       |  3 +++
 package/lua/lua.mk                                 |  3 ---
 package/lzop/lzop.mk                               |  1 +
 package/mpc/mpc.mk                                 |  1 +
 package/mpfr/mpfr.mk                               |  1 +
 package/mtools/mtools.mk                           |  4 +---
 package/ncurses/ncurses.mk                         |  1 -
 package/pax-utils/pax-utils.mk                     |  3 ---
 package/perl/perl.mk                               |  4 ----
 package/pixman/pixman.mk                           |  1 +
 package/pkg-autotools.mk                           |  9 ---------
 package/pkg-cmake.mk                               |  7 -------
 package/pkg-generic.mk                             |  4 ----
 package/pkg-python.mk                              | 15 ---------------
 package/pkg-rebar.mk                               | 14 --------------
 package/pkg-virtual.mk                             |  7 -------
 package/python-pycrypto/python-pycrypto.mk         |  1 +
 package/rpi-firmware/rpi-firmware.mk               |  1 -
 package/swig/swig.mk                               |  2 +-
 package/tar/tar.mk                                 |  1 -
 package/tcl/tcl.mk                                 |  1 -
 package/wayland/wayland.mk                         |  1 +
 package/x11r7/libxcb/libxcb.mk                     |  3 +++
 package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk       |  1 +
 package/x11r7/xapp_mkfontdir/xapp_mkfontdir.mk     |  1 +
 package/x11r7/xapp_mkfontscale/xapp_mkfontscale.mk |  2 ++
 package/x11r7/xapp_xcursorgen/xapp_xcursorgen.mk   |  2 ++
 package/x11r7/xapp_xkbcomp/xapp_xkbcomp.mk         |  1 +
 package/x11r7/xcb-proto/xcb-proto.mk               |  1 +
 package/x11r7/xfont_encodings/xfont_encodings.mk   |  2 ++
 package/x11r7/xfont_font-util/xfont_font-util.mk   |  1 +
 package/x11r7/xlib_libX11/xlib_libX11.mk           | 12 ++++++++++++
 package/x11r7/xlib_libXau/xlib_libXau.mk           |  2 ++
 package/x11r7/xlib_libXcursor/xlib_libXcursor.mk   |  3 +++
 package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk       |  1 +
 package/x11r7/xlib_libXfixes/xlib_libXfixes.mk     |  3 +++
 package/x11r7/xlib_libXfont/xlib_libXfont.mk       |  7 ++++++-
 package/x11r7/xlib_libXrender/xlib_libXrender.mk   |  3 +++
 package/x11r7/xlib_libfontenc/xlib_libfontenc.mk   |  1 +
 package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk   |  1 +
 package/x11r7/xutil_makedepend/xutil_makedepend.mk |  1 +
 package/xorriso/xorriso.mk                         |  5 ++---
 74 files changed, 87 insertions(+), 96 deletions(-)
Signature · 1 line
2.1.0
#1 lore raw

PATCH 1/69 am335x-pru-package: add explicit dependencies for host variant

---
 package/am335x-pru-package/am335x-pru-package.mk | 1 +
 1 file changed, 1 insertion(+)
package/am335x-pru-package/am335x-pru-package.mk +1 -0
index a97e8a49eacb..8b33eb3d6cbf 100644
@@ -9,6 +9,7 @@ AM335X_PRU_PACKAGE_SITE = $(call github,beagleboard,am335x_pru_package,$(AM335X_
 AM335X_PRU_PACKAGE_LICENSE = BSD-3c
 AM335X_PRU_PACKAGE_LICENSE_FILES = pru_sw/utils/LICENCE.txt
 AM335X_PRU_PACKAGE_DEPENDENCIES = host-am335x-pru-package
+HOST_AM335X_PRU_PACKAGE_DEPENDENCIES = host-am335x-pru-package
 AM335X_PRU_PACKAGE_INSTALL_STAGING = YES
 
 # The default 'all' rule builds everything, when we just need the library
Signature · 1 line
2.1.0
#2 lore raw

PATCH 1/69 am335x-pru-package: add explicit dependencies for host variant

Hello,

Quoted 10 lines · Julien Floret
---
 package/am335x-pru-package/am335x-pru-package.mk | 1 +
 1 file changed, 1 insertion(+)
package/am335x-pru-package/am335x-pru-package.mk +0 -0
index a97e8a49eacb..8b33eb3d6cbf 100644

package/am335x-pru-package/am335x-pru-package.mk AM335X_PRU_PACKAGE_SITE = $(call github,beagleboard,am335x_pru_package,$(AM335X_ · line 12

Quoted 4 lines
package/am335x-pru-package/am335x-pru-package.mk +1 -0
@@ -9,6 +9,7 @@ AM335X_PRU_PACKAGE_SITE = $(call github,beagleboard,am335x_pru_package,$(AM335X_
 AM335X_PRU_PACKAGE_LICENSE = BSD-3c
 AM335X_PRU_PACKAGE_LICENSE_FILES = pru_sw/utils/LICENCE.txt
 AM335X_PRU_PACKAGE_DEPENDENCIES = host-am335x-pru-package
+HOST_AM335X_PRU_PACKAGE_DEPENDENCIES = host-am335x-pru-package

With this addition, host-am335x-pru-package now depends on host-am335x-pru-package, which introduces a circular dependency.

Having:

AM335X_PRU_PACKAGE_DEPENDENCIES = host-am335x-pru-package

does *not* imply:

HOST_AM335X_PRU_PACKAGE_DEPENDENCIES = host-am335x-pru-package

Because in the logic to derive host dependencies from target dependencies, we filter out if the package would depend on itself:

$(2)_DEPENDENCIES ?= $$(filter-out host-skeleton host-toolchain $(1),\
        $$(patsubst host-host-%,host-%,$$(addprefix host-,$$($(3)_DEPENDENCIES))))

See the $(1) in the call of filter-out ?

I'll mark this patch as Rejected then.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 1/69 am335x-pru-package: add explicit dependencies for host variant

Hello Thomas,

2016-07-03 8:32 GMT+02:00 Thomas Petazzoni
<[email protected]>:

Quoted 32 lines

Hello,

Quoted 10 lines · Julien Floret
---
 package/am335x-pru-package/am335x-pru-package.mk | 1 +
 1 file changed, 1 insertion(+)
package/am335x-pru-package/am335x-pru-package.mk +0 -0
index a97e8a49eacb..8b33eb3d6cbf 100644

package/am335x-pru-package/am335x-pru-package.mk AM335X_PRU_PACKAGE_SITE = $(call github,beagleboard,am335x_pru_package,$(AM335X_ · line 12

Quoted 4 lines
package/am335x-pru-package/am335x-pru-package.mk +1 -0
@@ -9,6 +9,7 @@ AM335X_PRU_PACKAGE_SITE = $(call github,beagleboard,am335x_pru_package,$(AM335X_
 AM335X_PRU_PACKAGE_LICENSE = BSD-3c
 AM335X_PRU_PACKAGE_LICENSE_FILES = pru_sw/utils/LICENCE.txt
 AM335X_PRU_PACKAGE_DEPENDENCIES = host-am335x-pru-package
+HOST_AM335X_PRU_PACKAGE_DEPENDENCIES = host-am335x-pru-package

With this addition, host-am335x-pru-package now depends on host-am335x-pru-package, which introduces a circular dependency.

Having:

AM335X_PRU_PACKAGE_DEPENDENCIES = host-am335x-pru-package

does *not* imply:

HOST_AM335X_PRU_PACKAGE_DEPENDENCIES = host-am335x-pru-package

Because in the logic to derive host dependencies from target dependencies, we filter out if the package would depend on itself:

Quoted 6 lines
$(2)_DEPENDENCIES ?= $$(filter-out host-skeleton host-toolchain $(1),\
        $$(patsubst host-host-%,host-%,$$(addprefix host-,$$($(3)_DEPENDENCIES))))

See the $(1) in the call of filter-out ?

I'll mark this patch as Rejected then.

Of course. I stupidly missed this one, as well as in the "file" package. Thanks,

Julien

#4 lore raw

PATCH 2/69 axfsutils: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/axfsutils/axfsutils.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/axfsutils/axfsutils.mk +1 -1
index 6c9c58bbf340..1bd62809af92 100644
@@ -8,7 +8,7 @@ AXFSUTILS_VERSION = 64886703fdff6cfc64eb20fbe7d7295bbeec867b
 AXFSUTILS_SITE = $(call github,jaredeh,axfs,$(AXFSUTILS_VERSION))
 AXFSUTILS_LICENSE = GPLv2
 AXFSUTILS_LICENSE_FILES = mkfs.axfs-legacy/COPYING
-AXFSUTILS_DEPENDENCIES = host-zlib
+HOST_AXFSUTILS_DEPENDENCIES = host-zlib
 
 # The 'new' mkfs.axfs version requires GNUstep which is not a buildroot
 # prerequisite. The 'legacy' one works just as well without that requirement.
Signature · 1 line
2.1.0
#6 lore raw

PATCH 2/69 axfsutils: add explicit dependencies for host variant

In reply to Julien Floret

Hello,

Quoted 4 lines · Julien Floret
---
 package/axfsutils/axfsutils.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#7 lore raw

PATCH 3/69 bdwgc: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/bdwgc/bdwgc.mk | 1 +
 1 file changed, 1 insertion(+)
package/bdwgc/bdwgc.mk +1 -0
index 4603151166fd..0e9054df3c69 100644
@@ -11,6 +11,7 @@ BDWGC_INSTALL_STAGING = YES
 BDWGC_LICENSE = bdwgc license
 BDWGC_LICENSE_FILES = README.QUICK
 BDWGC_DEPENDENCIES = libatomic_ops host-pkgconf
+HOST_BDWGC_DEPENDENCIES = host-libatomic_ops host-pkgconf
 
 # The libtool shipped with the package is bogus and generates some
 # -L/usr/lib flags. It uses a version not supported by Buildroot
Signature · 1 line
2.1.0
#8 lore raw

PATCH 3/69 bdwgc: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/bdwgc/bdwgc.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#9 lore raw

PATCH 4/69 cdrkit: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/cdrkit/cdrkit.mk | 1 +
 1 file changed, 1 insertion(+)
package/cdrkit/cdrkit.mk +1 -0
index 2e4bb1fafef3..10d118c46a3e 100644
@@ -8,6 +8,7 @@ CDRKIT_VERSION = 1.1.11
 CDRKIT_SOURCE = cdrkit_$(CDRKIT_VERSION).orig.tar.gz
 CDRKIT_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/c/cdrkit
 CDRKIT_DEPENDENCIES = libcap bzip2 zlib
+HOST_CDRKIT_DEPENDENCIES = host-libcap host-bzip2 host-zlib
 CDRKIT_LICENSE = GPLv2
 CDRKIT_LICENSE_FILES = COPYING
 
Signature · 1 line
2.1.0
#10 lore raw

PATCH 4/69 cdrkit: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/cdrkit/cdrkit.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#11 lore raw

PATCH 4/69 cdrkit: add explicit dependencies for host variant

Hello Thomas,

2016-07-03 8:36 GMT+02:00 Thomas Petazzoni
<[email protected]>:

Quoted 9 lines

Hello,

Quoted 4 lines · Julien Floret
---
 package/cdrkit/cdrkit.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Hm, this commit seems be missing in buildroot upstream, I don't see it amongst the others.
Thanks a lot!

Julien

#12 lore raw

PATCH 4/69 cdrkit: add explicit dependencies for host variant

Quoted 11 lines
Quoted 7 lines · Julien Floret
Quoted 4 lines
---
 package/cdrkit/cdrkit.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Hm, this commit seems be missing in buildroot upstream, I don't see it amongst the others.
Thanks a lot!

I mean, "[PATCH 04/69] cdrkit: add explicit dependencies for host variant" was marked as applied, but there was no associate git commit, so unless I missed something, the modification doesn't seem to be in buildroot upstream git tree.

Julien

#13 lore raw

PATCH 4/69 cdrkit: add explicit dependencies for host variant

Hello,

Quoted 8 lines · Julien Floret
Quoted 3 lines

Hm, this commit seems be missing in buildroot upstream, I don't see it amongst the others.
Thanks a lot!

I mean, "[PATCH 04/69] cdrkit: add explicit dependencies for host variant" was marked as applied, but there was no associate git commit, so unless I missed something, the modification doesn't seem to be in buildroot upstream git tree.

Ah, yes, you're right. This series was so long that I messed up on this patch (even though it was at the beginning of the series). I hope it doesn't indicate that I messed things up even more with the rest of the series :-/

Thanks for noticing!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#14 lore raw

PATCH 5/69 cloog: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/cloog/cloog.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/cloog/cloog.mk +1 -1
index 4c8b4c11e79b..ef666d0cac54 100644
@@ -7,7 +7,7 @@
 CLOOG_VERSION = 0.18.4
 CLOOG_SITE = http://www.bastoul.net/cloog/pages/download
 CLOOG_LICENSE = LGPLv2.1+
-CLOOG_DEPENDENCIES = gmp isl
+HOST_CLOOG_DEPENDENCIES = host-gmp host-isl
 # Our libtool patch doesn't apply, and since this package is only
 # built for the host, we don't really care about it.
 CLOOG_LIBTOOL_PATCH = NO
Signature · 1 line
2.1.0
#15 lore raw

PATCH 5/69 cloog: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/cloog/cloog.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#16 lore raw

PATCH 6/69 cramfs: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/cramfs/cramfs.mk | 1 +
 1 file changed, 1 insertion(+)
package/cramfs/cramfs.mk +1 -0
index 72860b6b7a5d..3cbe2744e6e3 100644
@@ -10,6 +10,7 @@ CRAMFS_LICENSE = GPLv2+
 CRAMFS_LICENSE_FILES = COPYING
 
 CRAMFS_DEPENDENCIES = zlib
+HOST_CRAMFS_DEPENDENCIES = host-zlib
 
 define CRAMFS_BUILD_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D)
Signature · 1 line
2.1.0
#17 lore raw

PATCH 6/69 cramfs: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/cramfs/cramfs.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#18 lore raw

PATCH 7/69 doxygen: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/doxygen/doxygen.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/doxygen/doxygen.mk +1 -1
index 14dd0905961d..cf7dfee2a545 100644
@@ -9,7 +9,7 @@ DOXYGEN_SOURCE = doxygen-$(DOXYGEN_VERSION).src.tar.gz
 DOXYGEN_SITE = http://ftp.stack.nl/pub/users/dimitri
 DOXYGEN_LICENSE = GPLv2
 DOXYGEN_LICENSE_FILES = LICENSE
-DOXYGEN_DEPENDENCIES = host-flex host-bison
+HOST_DOXYGEN_DEPENDENCIES = host-flex host-bison
 
 define HOST_DOXYGEN_CONFIGURE_CMDS
 	(cd $(@D); $(HOST_MAKE_ENV) ./configure --shared --prefix=$(HOST_DIR)/usr)
Signature · 1 line
2.1.0
#19 lore raw

PATCH 7/69 doxygen: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/doxygen/doxygen.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#20 lore raw

PATCH 8/69 dtc: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/dtc/dtc.mk | 1 +
 1 file changed, 1 insertion(+)
package/dtc/dtc.mk +1 -0
index f3b6f3b543fc..8fdcdbed7766 100644
@@ -11,6 +11,7 @@ DTC_LICENSE = GPLv2+/BSD-2c
 DTC_LICENSE_FILES = README.license GPL
 DTC_INSTALL_STAGING = YES
 DTC_DEPENDENCIES = host-bison host-flex
+HOST_DTC_DEPENDENCIES = host-bison host-flex
 
 define DTC_POST_INSTALL_TARGET_RM_DTDIFF
 	rm -f $(TARGET_DIR)/usr/bin/dtdiff
Signature · 1 line
2.1.0
#21 lore raw

PATCH 8/69 dtc: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/dtc/dtc.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#22 lore raw

PATCH 9/69 e2tools: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/e2tools/e2tools.mk | 1 +
 1 file changed, 1 insertion(+)
package/e2tools/e2tools.mk +1 -0
index 789519fe8d4f..24d91be91a3b 100644
@@ -12,6 +12,7 @@ E2TOOLS_AUTORECONF = YES
 E2TOOLS_LICENSE = GPLv2
 E2TOOLS_LICENSE_FILES = COPYING
 E2TOOLS_DEPENDENCIES = e2fsprogs
+HOST_E2TOOLS_DEPENDENCIES = host-e2fsprogs
 E2TOOLS_CONF_ENV = LIBS="-lpthread"
 HOST_E2TOOLS_CONF_ENV = LIBS="-lpthread"
 
Signature · 1 line
2.1.0
#23 lore raw

PATCH 9/69 e2tools: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/e2tools/e2tools.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#24 lore raw

PATCH 10/69 erlang-lager: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/erlang-lager/erlang-lager.mk | 1 +
 1 file changed, 1 insertion(+)
package/erlang-lager/erlang-lager.mk +1 -0
index 19940a97514a..b55b6f7b7897 100644
@@ -9,6 +9,7 @@ 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
+HOST_ERLANG_LAGER_DEPENDENCIES = host-erlang-goldrush
 
 $(eval $(rebar-package))
 $(eval $(host-rebar-package))
Signature · 1 line
2.1.0
#25 lore raw

PATCH 10/69 erlang-lager: add explicit dependencies for host variant

Hello,

Quoted 5 lines · Julien Floret
---
 package/erlang-lager/erlang-lager.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#26 lore raw

PATCH 11/69 expat: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/expat/expat.mk | 1 +
 1 file changed, 1 insertion(+)
package/expat/expat.mk +1 -0
index 5c1a444c7a31..e7bb74a966cd 100644
@@ -11,6 +11,7 @@ EXPAT_INSTALL_STAGING = YES
 EXPAT_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) installlib
 EXPAT_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) installlib
 EXPAT_DEPENDENCIES = host-pkgconf
+HOST_EXPAT_DEPENDENCIES = host-pkgconf
 EXPAT_LICENSE = MIT
 EXPAT_LICENSE_FILES = COPYING
 
Signature · 1 line
2.1.0
#27 lore raw

PATCH 11/69 expat: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/expat/expat.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#28 lore raw

PATCH 12/69 file: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/file/file.mk | 1 +
 1 file changed, 1 insertion(+)
package/file/file.mk +1 -0
index 5fb3e9c6e8e4..16c8ca42180b 100644
@@ -7,6 +7,7 @@
 FILE_VERSION = 5.28
 FILE_SITE = ftp://ftp.astron.com/pub/file
 FILE_DEPENDENCIES = host-file zlib
+HOST_FILE_DEPENDENCIES = host-file host-zlib
 FILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
 FILE_INSTALL_STAGING = YES
 FILE_LICENSE = BSD-2c, one file BSD-4c, one file BSD-3c
Signature · 1 line
2.1.0
#29 lore raw

PATCH 12/69 file: add explicit dependencies for host variant

Hello,

Quoted 1 line · Julien Floret

+HOST_FILE_DEPENDENCIES = host-file host-zlib

With this, host-file would depend on host-file: circular dependency. So I've dropped host-file here, and applied.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#30 lore raw

PATCH 13/69 fontconfig: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/fontconfig/fontconfig.mk | 1 +
 1 file changed, 1 insertion(+)
package/fontconfig/fontconfig.mk +1 -0
index caf997bac71b..f3bf0d405df9 100644
@@ -8,6 +8,7 @@ FONTCONFIG_VERSION = 2.11.1
 FONTCONFIG_SITE = http://fontconfig.org/release
 FONTCONFIG_INSTALL_STAGING = YES
 FONTCONFIG_DEPENDENCIES = freetype expat host-pkgconf
+HOST_FONTCONFIG_DEPENDENCIES = host-freetype host-expat host-pkgconf
 FONTCONFIG_LICENSE = fontconfig license
 FONTCONFIG_LICENSE_FILES = COPYING
 
Signature · 1 line
2.1.0
#31 lore raw

PATCH 13/69 fontconfig: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/fontconfig/fontconfig.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#32 lore raw

PATCH 14/69 fwup: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/fwup/fwup.mk | 1 +
 1 file changed, 1 insertion(+)
package/fwup/fwup.mk +1 -0
index 0a23856048b3..ae8571690d9b 100644
@@ -9,6 +9,7 @@ FWUP_SITE = $(call github,fhunleth,fwup,$(FWUP_VERSION))
 FWUP_LICENSE = Apache-2.0
 FWUP_LICENSE_FILES = LICENSE
 FWUP_DEPENDENCIES = libconfuse libarchive libsodium
+HOST_FWUP_DEPENDENCIES = host-libconfuse host-libarchive host-libsodium
 FWUP_AUTORECONF = YES
 FWUP_CONF_ENV = ac_cv_path_HELP2MAN=""
 
Signature · 1 line
2.1.0
#33 lore raw

PATCH 14/69 fwup: add explicit dependencies for host variant

Hello,

Quoted 10 lines · Julien Floret
---
 package/fwup/fwup.mk | 1 +
 1 file changed, 1 insertion(+)
package/fwup/fwup.mk +0 -0
index 0a23856048b3..ae8571690d9b 100644

package/fwup/fwup.mk FWUP_SITE = $(call github,fhunleth,fwup,$(FWUP_VERSION)) · line 14

Quoted 6 lines
package/fwup/fwup.mk +1 -0
@@ -9,6 +9,7 @@ FWUP_SITE = $(call github,fhunleth,fwup,$(FWUP_VERSION))
 FWUP_LICENSE = Apache-2.0
 FWUP_LICENSE_FILES = LICENSE
 FWUP_DEPENDENCIES = libconfuse libarchive libsodium
+HOST_FWUP_DEPENDENCIES = host-libconfuse host-libarchive host-libsodium
 FWUP_AUTORECONF = YES
 FWUP_CONF_ENV = ac_cv_path_HELP2MAN=""

Unrelated to your patch, but I'm wondering why we pass ac_cv_path_HELP2MAN="" for the target variant (which was needed to fix some build failures), and not to the host variant. I'm adding Baruch in Cc since he fixed this problem.

I've applied your patch, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#34 lore raw

PATCH 14/69 fwup: add explicit dependencies for host variant

Hi Thomas,

Quoted 7 lines · Thomas Petazzoni
Quoted 1 line · Julien Floret

FWUP_CONF_ENV = ac_cv_path_HELP2MAN=""

Unrelated to your patch, but I'm wondering why we pass ac_cv_path_HELP2MAN="" for the target variant (which was needed to fix some build failures), and not to the host variant. I'm adding Baruch in Cc since he fixed this problem.

The simple answer is that since help2man works just fine for the host binary of fwup by definition, there is no build breakage. We may add it to the host variant as well to shorten build time somewhat, though I'm not sure it's worth the trouble.

Have fun at Toulouse.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
#35 lore raw

PATCH 14/69 fwup: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Baruch Siach

The simple answer is that since help2man works just fine for the host binary of fwup by definition, there is no build breakage. We may add it to the host variant as well to shorten build time somewhat, though I'm not sure it's worth the trouble.

Ah, ok, I should have looked at the build failure. The build failure was not about help2man being unavailable on the host system, but about help2man failing to work building the target variant for some reason.

OK, makes sense then. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#36 lore raw

PATCH 15/69 genimage: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/genimage/genimage.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/genimage/genimage.mk +1 -1
index 2dffbc55cfd3..489e8d013a8d 100644
@@ -7,7 +7,7 @@
 GENIMAGE_VERSION = 8
 GENIMAGE_SOURCE = genimage-$(GENIMAGE_VERSION).tar.xz
 GENIMAGE_SITE = http://www.pengutronix.de/software/genimage/download
-GENIMAGE_DEPENDENCIES = host-pkgconf libconfuse
+HOST_GENIMAGE_DEPENDENCIES = host-pkgconf host-libconfuse
 GENIMAGE_LICENSE = GPLv2
 
 $(eval $(host-autotools-package))
Signature · 1 line
2.1.0
#37 lore raw

PATCH 15/69 genimage: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/genimage/genimage.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#38 lore raw

PATCH 16/69 gmp: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/gmp/gmp.mk | 1 +
 1 file changed, 1 insertion(+)
package/gmp/gmp.mk +1 -0
index 09753a016bdd..45571900cd99 100644
@@ -11,6 +11,7 @@ GMP_INSTALL_STAGING = YES
 GMP_LICENSE = LGPLv3+
 GMP_LICENSE_FILES = COPYING.LESSERv3
 GMP_DEPENDENCIES = host-m4
+HOST_GMP_DEPENDENCIES = host-m4
 
 # GMP doesn't support assembly for coldfire or mips r6 ISA yet
 ifeq ($(BR2_m68k_cf)$(BR2_mips_32r6)$(BR2_mips_64r6),y)
Signature · 1 line
2.1.0
#39 lore raw

PATCH 16/69 gmp: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/gmp/gmp.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#40 lore raw

PATCH 17/69 heimdal: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/heimdal/heimdal.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/heimdal/heimdal.mk +1 -1
index 626e68e9469b..8199229c727d 100644
@@ -6,7 +6,7 @@
 
 HEIMDAL_VERSION = 1.6rc2
 HEIMDAL_SITE = http://www.h5l.org/dist/src
-HEIMDAL_DEPENDENCIES = host-e2fsprogs host-ncurses host-pkgconf
+HOST_HEIMDAL_DEPENDENCIES = host-e2fsprogs host-ncurses host-pkgconf
 HEIMDAL_INSTALL_STAGING = YES
 # static because of -fPIC issues with e2fsprogs on x86_64 host
 HOST_HEIMDAL_CONF_OPTS = \
Signature · 1 line
2.1.0
#41 lore raw

PATCH 17/69 heimdal: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/heimdal/heimdal.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#42 lore raw

PATCH 18/69 imx-usb-loader: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/imx-usb-loader/imx-usb-loader.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/imx-usb-loader/imx-usb-loader.mk +1 -1
index 280ffc04012a..c85562578eab 100644
@@ -8,7 +8,7 @@ IMX_USB_LOADER_VERSION = f96aee286ea17c832b7ec922dd76842deb5ce299
 IMX_USB_LOADER_SITE = $(call github,boundarydevices,imx_usb_loader,$(IMX_USB_LOADER_VERSION))
 IMX_USB_LOADER_LICENSE = LGPLv2.1+
 IMX_USB_LOADER_LICENSE_FILES = COPYING
-IMX_USB_LOADER_DEPENDENCIES = host-libusb host-pkgconf
+HOST_IMX_USB_LOADER_DEPENDENCIES = host-libusb host-pkgconf
 
 define HOST_IMX_USB_LOADER_BUILD_CMDS
 	$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
Signature · 1 line
2.1.0
#43 lore raw

PATCH 18/69 imx-usb-loader: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/imx-usb-loader/imx-usb-loader.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#44 lore raw

PATCH 19/69 isl: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/isl/isl.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/isl/isl.mk +1 -1
index bb79039e883a..74de125b609a 100644
@@ -12,7 +12,7 @@ ISL_SOURCE = isl-$(ISL_VERSION).tar.xz
 ISL_SITE = http://isl.gforge.inria.fr
 ISL_LICENSE = MIT
 ISL_LICENSE_FILES = LICENSE
-ISL_DEPENDENCIES = gmp
+HOST_ISL_DEPENDENCIES = host-gmp
 
 # Our libtool patch doesn't apply, and since this package is only
 # built for the host, we don't really care about it.
Signature · 1 line
2.1.0
#45 lore raw

PATCH 19/69 isl: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/isl/isl.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#46 lore raw

PATCH 20/69 libconfuse: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/libconfuse/libconfuse.mk | 1 +
 1 file changed, 1 insertion(+)
package/libconfuse/libconfuse.mk +1 -0
index 089e12cdb52c..fea90f1b09d7 100644
@@ -10,6 +10,7 @@ LIBCONFUSE_SITE = https://github.com/martinh/libconfuse/releases/download/v$(LIB
 LIBCONFUSE_INSTALL_STAGING = YES
 LIBCONFUSE_CONF_OPTS = --disable-rpath
 LIBCONFUSE_DEPENDENCIES = host-flex
+HOST_LIBCONFUSE_DEPENDENCIES = host-flex
 LIBCONFUSE_LICENSE = ISC
 LIBCONFUSE_LICENSE_FILES = LICENSE
 
Signature · 1 line
2.1.0
#47 lore raw

PATCH 20/69 libconfuse: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/libconfuse/libconfuse.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#48 lore raw

PATCH 21/69 libcroco: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/libcroco/libcroco.mk | 1 +
 1 file changed, 1 insertion(+)
package/libcroco/libcroco.mk +1 -0
index c4cb6762d83c..39dd52795e32 100644
@@ -10,6 +10,7 @@ LIBCROCO_SITE = http://ftp.gnome.org/pub/gnome/sources/libcroco/$(LIBCROCO_VERSI
 LIBCROCO_SOURCE = libcroco-$(LIBCROCO_VERSION).tar.xz
 LIBCROCO_INSTALL_STAGING = YES
 LIBCROCO_DEPENDENCIES = host-pkgconf libglib2 libxml2
+HOST_LIBCROCO_DEPENDENCIES = host-pkgconf host-libglib2 host-libxml2
 LIBCROCO_CONFIG_SCRIPTS = croco-$(LIBCROCO_VERSION_MAJOR)-config
 # NEWS states that it's only LGPL
 # Source code says v2.1+ even though COPYING.LIB is v2
Signature · 1 line
2.1.0
#49 lore raw

PATCH 21/69 libcroco: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/libcroco/libcroco.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#50 lore raw

PATCH 22/69 libftdi: add explicit dependencies for host variant

In reply to Julien Floret

This patch also removes an incorrect dependency between host-libftdi and host-boost when BR2_PACKAGE_LIBTFDI_CPP is set.

---
 package/libftdi/libftdi.mk | 1 +
 1 file changed, 1 insertion(+)
package/libftdi/libftdi.mk +1 -0
index 28f20e354731..2364c4625f2e 100644
@@ -7,6 +7,7 @@
 LIBFTDI_VERSION = 0.20
 LIBFTDI_SITE = http://www.intra2net.com/en/developer/libftdi/download
 LIBFTDI_DEPENDENCIES = libusb-compat libusb
+HOST_LIBFTDI_DEPENDENCIES = host-libusb-compat host-libusb
 LIBFTDI_INSTALL_STAGING = YES
 LIBFTDI_CONFIG_SCRIPTS = libftdi-config
 LIBFTDI_AUTORECONF = YES
Signature · 1 line
2.1.0
#51 lore raw

PATCH 22/69 libftdi: add explicit dependencies for host variant

Hello,

Quoted 2 lines · Julien Floret

This patch also removes an incorrect dependency between host-libftdi and host-boost when BR2_PACKAGE_LIBTFDI_CPP is set.

Nice find!

Applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#52 lore raw

PATCH 23/69 libpng: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/libpng/libpng.mk | 1 +
 1 file changed, 1 insertion(+)
package/libpng/libpng.mk +1 -0
index 5f469af1659a..0dfc53590fac 100644
@@ -12,6 +12,7 @@ LIBPNG_LICENSE = libpng license
 LIBPNG_LICENSE_FILES = LICENSE
 LIBPNG_INSTALL_STAGING = YES
 LIBPNG_DEPENDENCIES = host-pkgconf zlib
+HOST_LIBPNG_DEPENDENCIES = host-pkgconf host-zlib
 LIBPNG_CONFIG_SCRIPTS = libpng$(LIBPNG_SERIES)-config libpng-config
 LIBPNG_CONF_OPTS = $(if $(BR2_ARM_CPU_HAS_NEON),--enable-arm-neon=yes,--enable-arm-neon=no)
 
Signature · 1 line
2.1.0
#53 lore raw

PATCH 24/69 libsepol: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/libsepol/libsepol.mk | 1 +
 1 file changed, 1 insertion(+)
package/libsepol/libsepol.mk +1 -0
index c53707a161cc..3b02175f7905 100644
@@ -11,6 +11,7 @@ LIBSEPOL_LICENSE_FILES = COPYING
 
 LIBSEPOL_INSTALL_STAGING = YES
 LIBSEPOL_DEPENDENCIES = host-flex
+HOST_LIBSEPOL_DEPENDENCIES = host-flex
 
 LIBSEPOL_MAKE_FLAGS = $(TARGET_CONFIGURE_OPTS)
 
Signature · 1 line
2.1.0
#54 lore raw

PATCH 24/69 libsepol: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/libsepol/libsepol.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#55 lore raw

PATCH 25/69 libtool: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/libtool/libtool.mk | 1 +
 1 file changed, 1 insertion(+)
package/libtool/libtool.mk +1 -0
index 8688f8b20cc4..1d066bd1ec06 100644
@@ -10,6 +10,7 @@ LIBTOOL_SITE = $(BR2_GNU_MIRROR)/libtool
 LIBTOOL_INSTALL_STAGING = YES
 LIBTOOL_CONF_ENV = HELP2MAN=true
 LIBTOOL_DEPENDENCIES = host-m4
+HOST_LIBTOOL_DEPENDENCIES = host-m4
 LIBTOOL_LICENSE = GPLv2+
 LIBTOOL_LICENSE_FILES = COPYING
 
Signature · 1 line
2.1.0
#56 lore raw

PATCH 25/69 libtool: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/libtool/libtool.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#57 lore raw

PATCH 26/69 libusb-compat: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/libusb-compat/libusb-compat.mk | 1 +
 1 file changed, 1 insertion(+)
package/libusb-compat/libusb-compat.mk +1 -0
index a98eb0924f72..26107be86192 100644
@@ -9,6 +9,7 @@ LIBUSB_COMPAT_VERSION = $(LIBUSB_COMPAT_VERSION_MAJOR).5
 LIBUSB_COMPAT_SOURCE = libusb-compat-$(LIBUSB_COMPAT_VERSION).tar.bz2
 LIBUSB_COMPAT_SITE = http://downloads.sourceforge.net/project/libusb/libusb-compat-$(LIBUSB_COMPAT_VERSION_MAJOR)/libusb-compat-$(LIBUSB_COMPAT_VERSION)
 LIBUSB_COMPAT_DEPENDENCIES = host-pkgconf libusb
+HOST_LIBUSB_COMPAT_DEPENDENCIES = host-pkgconf host-libusb
 LIBUSB_COMPAT_INSTALL_STAGING = YES
 LIBUSB_COMPAT_CONFIG_SCRIPTS = libusb-config
 LIBUSB_COMPAT_LICENSE = LGPLv2.1+
Signature · 1 line
2.1.0
#58 lore raw

PATCH 26/69 libusb-compat: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/libusb-compat/libusb-compat.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#59 lore raw

PATCH 27/69 libxml-parser-perl: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/libxml-parser-perl/libxml-parser-perl.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/libxml-parser-perl/libxml-parser-perl.mk +1 -1
index 5c2ac546b48a..9e5325c863e1 100644
@@ -7,7 +7,7 @@
 LIBXML_PARSER_PERL_VERSION = 2.41
 LIBXML_PARSER_PERL_SOURCE = XML-Parser-$(LIBXML_PARSER_PERL_VERSION).tar.gz
 LIBXML_PARSER_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TODDR
-LIBXML_PARSER_PERL_DEPENDENCIES = expat
+HOST_LIBXML_PARSER_PERL_DEPENDENCIES = host-expat
 LIBXML_PARSER_PERL_LICENSE = Artistic or GPLv1+
 LIBXML_PARSER_PERL_RUN_PERL = `which perl`
 
Signature · 1 line
2.1.0
#60 lore raw

PATCH 27/69 libxml-parser-perl: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/libxml-parser-perl/libxml-parser-perl.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#61 lore raw

PATCH 28/69 lttng-babeltrace: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/lttng-babeltrace/lttng-babeltrace.mk | 3 +++
 1 file changed, 3 insertions(+)
package/lttng-babeltrace/lttng-babeltrace.mk +3 -0
index fdc647e8dadc..b2e03a9952a1 100644
@@ -11,6 +11,9 @@ LTTNG_BABELTRACE_LICENSE = MIT, LGPLv2.1 (include/babeltrace/list.h), GPLv2 (tes
 LTTNG_BABELTRACE_LICENSE_FILES = mit-license.txt gpl-2.0.txt LICENSE
 
 LTTNG_BABELTRACE_DEPENDENCIES = popt util-linux libglib2 host-pkgconf
+HOST_LTTNG_BABELTRACE_DEPENDENCIES = \
+	host-popt host-util-linux host-libglib2 host-pkgconf
+
 # for 0002-configure-fix-uuid-support-detection-on-static-build.patch
 LTTNG_BABELTRACE_AUTORECONF = YES
 
Signature · 1 line
2.1.0
#62 lore raw

PATCH 28/69 lttng-babeltrace: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/lttng-babeltrace/lttng-babeltrace.mk | 3 +++
 1 file changed, 3 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#63 lore raw

PATCH 29/69 lzop: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/lzop/lzop.mk | 1 +
 1 file changed, 1 insertion(+)
package/lzop/lzop.mk +1 -0
index 1b6a7e177c19..43c162840139 100644
@@ -9,6 +9,7 @@ LZOP_SITE = http://www.lzop.org/download
 LZOP_LICENSE = GPLv2+
 LZOP_LICENSE_FILES = COPYING
 LZOP_DEPENDENCIES = lzo
+HOST_LZOP_DEPENDENCIES = host-lzo
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.1.0
#64 lore raw

PATCH 29/69 lzop: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/lzop/lzop.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#65 lore raw

PATCH 30/69 mpc: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/mpc/mpc.mk | 1 +
 1 file changed, 1 insertion(+)
package/mpc/mpc.mk +1 -0
index bc26599520fc..579e2ccc1012 100644
@@ -10,6 +10,7 @@ MPC_LICENSE = LGPLv3+
 MPC_LICENSE_FILES = COPYING.LESSER
 MPC_INSTALL_STAGING = YES
 MPC_DEPENDENCIES = gmp mpfr
+HOST_MPC_DEPENDENCIES = host-gmp host-mpfr
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.1.0
#66 lore raw

PATCH 30/69 mpc: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/mpc/mpc.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#67 lore raw

PATCH 31/69 mpfr: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/mpfr/mpfr.mk | 1 +
 1 file changed, 1 insertion(+)
package/mpfr/mpfr.mk +1 -0
index 5c3a6ef54fef..cc1034c10324 100644
@@ -11,6 +11,7 @@ MPFR_LICENSE = LGPLv3+
 MPFR_LICENSE_FILES = COPYING.LESSER
 MPFR_INSTALL_STAGING = YES
 MPFR_DEPENDENCIES = gmp
+HOST_MPFR_DEPENDENCIES = host-gmp
 MPFR_MAKE_OPTS = RANLIB=$(TARGET_RANLIB)
 
 $(eval $(autotools-package))
Signature · 1 line
2.1.0
#68 lore raw

PATCH 31/69 mpfr: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/mpfr/mpfr.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#69 lore raw

PATCH 32/69 pixman: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/pixman/pixman.mk | 1 +
 1 file changed, 1 insertion(+)
package/pixman/pixman.mk +1 -0
index ae8d62c589bb..38524e63c450 100644
@@ -12,6 +12,7 @@ PIXMAN_LICENSE_FILES = COPYING
 
 PIXMAN_INSTALL_STAGING = YES
 PIXMAN_DEPENDENCIES = host-pkgconf
+HOST_PIXMAN_DEPENDENCIES = host-pkgconf
 
 # For 0001-Disable-tests.patch
 PIXMAN_AUTORECONF = YES
Signature · 1 line
2.1.0
#70 lore raw

PATCH 32/69 pixman: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/pixman/pixman.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#71 lore raw

PATCH 33/69 python-pycrypto: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/python-pycrypto/python-pycrypto.mk | 1 +
 1 file changed, 1 insertion(+)
package/python-pycrypto/python-pycrypto.mk +1 -0
index 71943fa2cdb1..927ba918ae19 100644
@@ -26,6 +26,7 @@ HOST_PYTHON_PYCRYPTO_POST_EXTRACT_HOOKS += PYTHON_PYCRYPTO_RENAME_LICENSE
 PYTHON_PYCRYPTO_LICENSE_FILES += LEGAL/copy/LICENSE.original
 
 PYTHON_PYCRYPTO_DEPENDENCIES = gmp
+HOST_PYTHON_PYCRYPTO_DEPENDENCIES = host-gmp
 
 # The configure step needs to be run outside of the setup.py since it isn't
 # run correctly for cross-compiling
Signature · 1 line
2.1.0
#72 lore raw

PATCH 33/69 python-pycrypto: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/python-pycrypto/python-pycrypto.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#73 lore raw

PATCH 34/69 swig: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/swig/swig.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/swig/swig.mk +1 -1
index 5329d1bb7149..8fed8dabc4fc 100644
@@ -7,7 +7,7 @@
 SWIG_VERSION_MAJOR = 3.0
 SWIG_VERSION = $(SWIG_VERSION_MAJOR).10
 SWIG_SITE = http://downloads.sourceforge.net/project/swig/swig/swig-$(SWIG_VERSION)
-SWIG_DEPENDENCIES = host-bison
+HOST_SWIG_DEPENDENCIES = host-bison
 HOST_SWIG_CONF_OPTS = \
 	--without-pcre \
 	--disable-ccache \
Signature · 1 line
2.1.0
#74 lore raw

PATCH 34/69 swig: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/swig/swig.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#75 lore raw

PATCH 35/69 wayland: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/wayland/wayland.mk | 1 +
 1 file changed, 1 insertion(+)
package/wayland/wayland.mk +1 -0
index e219624687be..d4b4664ff861 100644
@@ -11,6 +11,7 @@ WAYLAND_LICENSE = MIT
 WAYLAND_LICENSE_FILES = COPYING
 WAYLAND_INSTALL_STAGING = YES
 WAYLAND_DEPENDENCIES = host-pkgconf host-wayland expat libffi libxml2
+HOST_WAYLAND_DEPENDENCIES = host-pkgconf host-expat host-libffi host-libxml2
 
 # wayland-scanner is only needed for building, not on the target
 WAYLAND_CONF_OPTS = --disable-scanner --with-host-scanner
Signature · 1 line
2.1.0
#76 lore raw

PATCH 35/69 wayland: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/wayland/wayland.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#77 lore raw

PATCH 36/69 libxcb: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/libxcb/libxcb.mk | 3 +++
 1 file changed, 3 insertions(+)
package/x11r7/libxcb/libxcb.mk +3 -0
index 7f7823bf5303..ba424186335b 100644
@@ -15,6 +15,9 @@ LIBXCB_INSTALL_STAGING = YES
 LIBXCB_DEPENDENCIES = \
 	host-libxslt libpthread-stubs xcb-proto xlib_libXdmcp xlib_libXau \
 	host-xcb-proto host-python host-pkgconf
+HOST_LIBXCB_DEPENDENCIES = \
+	host-libxslt host-libpthread-stubs host-xcb-proto host-xlib_libXdmcp \
+	host-xlib_libXau host-python host-pkgconf
 
 LIBXCB_CONF_OPTS = --with-doxygen=no
 HOST_LIBXCB_CONF_OPTS = --with-doxygen=no
Signature · 1 line
2.1.0
#78 lore raw

PATCH 36/69 libxcb: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/libxcb/libxcb.mk | 3 +++
 1 file changed, 3 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#79 lore raw

PATCH 37/69 xapp_bdftopcf: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk | 1 +
 1 file changed, 1 insertion(+)
package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk +1 -0
index ebdcda5756bd..489bbba4be25 100644
@@ -10,6 +10,7 @@ XAPP_BDFTOPCF_SITE = http://xorg.freedesktop.org/releases/individual/app
 XAPP_BDFTOPCF_LICENSE = MIT
 XAPP_BDFTOPCF_LICENSE_FILES = COPYING
 XAPP_BDFTOPCF_DEPENDENCIES = xlib_libXfont
+HOST_XAPP_BDFTOPCF_DEPENDENCIES = host-xlib_libXfont
 
 # needed for linking against libXfont
 XAPP_BDFTOPCF_MAKE_OPTS += LIBS=-ldl
Signature · 1 line
2.1.0
#80 lore raw

PATCH 37/69 xapp_bdftopcf: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#81 lore raw

PATCH 38/69 xapp_mkfontdir: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xapp_mkfontdir/xapp_mkfontdir.mk | 1 +
 1 file changed, 1 insertion(+)
package/x11r7/xapp_mkfontdir/xapp_mkfontdir.mk +1 -0
index b74f9939ce6f..f2227bdfdddf 100644
@@ -10,6 +10,7 @@ XAPP_MKFONTDIR_SITE = http://xorg.freedesktop.org/releases/individual/app
 XAPP_MKFONTDIR_LICENSE = MIT
 XAPP_MKFONTDIR_LICENSE_FILES = COPYING
 XAPP_MKFONTDIR_DEPENDENCIES = xapp_mkfontscale
+HOST_XAPP_MKFONTDIR_DEPENDENCIES = host-xapp_mkfontscale
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.1.0
#82 lore raw

PATCH 38/69 xapp_mkfontdir: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xapp_mkfontdir/xapp_mkfontdir.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#83 lore raw

PATCH 39/69 xapp_mkfontscale: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xapp_mkfontscale/xapp_mkfontscale.mk | 2 ++
 1 file changed, 2 insertions(+)
package/x11r7/xapp_mkfontscale/xapp_mkfontscale.mk +2 -0
index b99a64604473..d7abf6c5bbe4 100644
@@ -10,6 +10,8 @@ XAPP_MKFONTSCALE_SITE = http://xorg.freedesktop.org/releases/individual/app
 XAPP_MKFONTSCALE_LICENSE = MIT
 XAPP_MKFONTSCALE_LICENSE_FILES = COPYING
 XAPP_MKFONTSCALE_DEPENDENCIES = zlib freetype xlib_libfontenc xproto_xproto
+HOST_XAPP_MKFONTSCALE_DEPENDENCIES = \
+	host-zlib host-freetype host-xlib_libfontenc host-xproto_xproto
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.1.0
#84 lore raw

PATCH 39/69 xapp_mkfontscale: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xapp_mkfontscale/xapp_mkfontscale.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#85 lore raw

PATCH 40/69 xapp_xcursorgen: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xapp_xcursorgen/xapp_xcursorgen.mk | 2 ++
 1 file changed, 2 insertions(+)
package/x11r7/xapp_xcursorgen/xapp_xcursorgen.mk +2 -0
index f9ca39d2e71d..4bee26b5dcda 100644
@@ -10,6 +10,8 @@ XAPP_XCURSORGEN_SITE = http://xorg.freedesktop.org/releases/individual/app
 XAPP_XCURSORGEN_LICENSE = MIT
 XAPP_XCURSORGEN_LICENSE_FILES = COPYING
 XAPP_XCURSORGEN_DEPENDENCIES = libpng xlib_libX11 xlib_libXcursor
+HOST_XAPP_XCURSORGEN_DEPENDENCIES = \
+	host-libpng host-xlib_libX11 host-xlib_libXcursor
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.1.0
#86 lore raw

PATCH 40/69 xapp_xcursorgen: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xapp_xcursorgen/xapp_xcursorgen.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#87 lore raw

PATCH 41/69 xapp_xkbcomp: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xapp_xkbcomp/xapp_xkbcomp.mk | 1 +
 1 file changed, 1 insertion(+)
package/x11r7/xapp_xkbcomp/xapp_xkbcomp.mk +1 -0
index fea7fa8e8c45..4fc4372fefa4 100644
@@ -10,6 +10,7 @@ XAPP_XKBCOMP_SITE = http://xorg.freedesktop.org/releases/individual/app
 XAPP_XKBCOMP_LICENSE = MIT
 XAPP_XKBCOMP_LICENSE_FILES = COPYING
 XAPP_XKBCOMP_DEPENDENCIES = xlib_libX11 xlib_libxkbfile
+HOST_XAPP_XKBCOMP_DEPENDENCIES = host-xlib_libX11 host-xlib_libxkbfile
 XAPP_XKBCOMP_CONF_ENV = ac_cv_file___xkbparse_c=yes
 
 $(eval $(autotools-package))
Signature · 1 line
2.1.0
#88 lore raw

PATCH 41/69 xapp_xkbcomp: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xapp_xkbcomp/xapp_xkbcomp.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#89 lore raw

PATCH 42/69 xcb-proto: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xcb-proto/xcb-proto.mk | 1 +
 1 file changed, 1 insertion(+)
package/x11r7/xcb-proto/xcb-proto.mk +1 -0
index 1c847ebc8556..84555d07f0f3 100644
@@ -13,6 +13,7 @@ XCB_PROTO_LICENSE_FILES = COPYING
 XCB_PROTO_INSTALL_STAGING = YES
 
 XCB_PROTO_DEPENDENCIES = host-python
+HOST_XCB_PROTO_DEPENDENCIES = host-python
 
 # xcbincludedir/pythondir is used by E.G. libxcb at build time to find the
 # xml / python files, so ensure these expand to their full (host) paths
Signature · 1 line
2.1.0
#90 lore raw

PATCH 42/69 xcb-proto: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xcb-proto/xcb-proto.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#91 lore raw

PATCH 43/69 xfont_encodings: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xfont_encodings/xfont_encodings.mk | 2 ++
 1 file changed, 2 insertions(+)
package/x11r7/xfont_encodings/xfont_encodings.mk +2 -0
index 568dbcbde81f..9c5c9f30bf8b 100644
@@ -11,6 +11,8 @@ XFONT_ENCODINGS_LICENSE = Public Domain
 XFONT_ENCODINGS_LICENSE_FILES = COPYING
 
 XFONT_ENCODINGS_DEPENDENCIES = host-xapp_mkfontscale host-pkgconf xutil_util-macros
+HOST_XFONT_ENCODINGS_DEPENDENCIES = \
+	host-xapp_mkfontscale host-pkgconf host-xutil_util-macros
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.1.0
#92 lore raw

PATCH 43/69 xfont_encodings: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xfont_encodings/xfont_encodings.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#93 lore raw

PATCH 44/69 xfont_font-util: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xfont_font-util/xfont_font-util.mk | 1 +
 1 file changed, 1 insertion(+)
package/x11r7/xfont_font-util/xfont_font-util.mk +1 -0
index 1c43d6a70666..36853770ef14 100644
@@ -11,6 +11,7 @@ XFONT_FONT_UTIL_LICENSE = MIT/BSD-2c
 XFONT_FONT_UTIL_LICENSE_FILES = COPYING
 
 XFONT_FONT_UTIL_DEPENDENCIES = host-pkgconf
+HOST_XFONT_FONT_UTIL_DEPENDENCIES = host-pkgconf
 XFONT_FONT_UTIL_INSTALL_STAGING = YES
 XFONT_FONT_UTIL_INSTALL_TARGET = NO
 
Signature · 1 line
2.1.0
#94 lore raw

PATCH 44/69 xfont_font-util: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xfont_font-util/xfont_font-util.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#95 lore raw

PATCH 45/69 xlib_libX11: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xlib_libX11/xlib_libX11.mk | 12 ++++++++++++
 1 file changed, 12 insertions(+)
package/x11r7/xlib_libX11/xlib_libX11.mk +12 -0
index fc19aa1d2814..259592413b89 100644
@@ -23,6 +23,18 @@ XLIB_LIBX11_DEPENDENCIES = \
 	xproto_xf86bigfontproto \
 	host-xproto_xproto
 
+HOST_XLIB_LIBX11_DEPENDENCIES = \
+	host-libxcb \
+	host-xutil_util-macros \
+	host-xlib_xtrans \
+	host-xlib_libXau \
+	host-xlib_libXdmcp \
+	host-xproto_kbproto \
+	host-xproto_xproto \
+	host-xproto_xextproto \
+	host-xproto_inputproto \
+	host-xproto_xf86bigfontproto
+
 XLIB_LIBX11_CONF_OPTS = \
 	--disable-malloc0returnsnull \
 	--with-xcb \
Signature · 1 line
2.1.0
#96 lore raw

PATCH 45/69 xlib_libX11: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xlib_libX11/xlib_libX11.mk | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#97 lore raw

PATCH 46/69 xlib_libXau: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xlib_libXau/xlib_libXau.mk | 2 ++
 1 file changed, 2 insertions(+)
package/x11r7/xlib_libXau/xlib_libXau.mk +2 -0
index 8ef48e4a7b30..1c50cb2e4e56 100644
@@ -11,6 +11,8 @@ XLIB_LIBXAU_LICENSE = MIT
 XLIB_LIBXAU_LICENSE_FILES = COPYING
 XLIB_LIBXAU_INSTALL_STAGING = YES
 XLIB_LIBXAU_DEPENDENCIES = host-pkgconf xutil_util-macros xproto_xproto
+HOST_XLIB_LIBXAU_DEPENDENCIES = \
+	host-pkgconf host-xutil_util-macros host-xproto_xproto
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.1.0
#98 lore raw

PATCH 46/69 xlib_libXau: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xlib_libXau/xlib_libXau.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#99 lore raw

PATCH 46/69 xlib_libXau: add explicit dependencies for host variant

In reply to Julien Floret

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xlib_libXau/xlib_libXau.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#100 lore raw

PATCH 47/69 xlib_libXcursor: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xlib_libXcursor/xlib_libXcursor.mk | 3 +++
 1 file changed, 3 insertions(+)
package/x11r7/xlib_libXcursor/xlib_libXcursor.mk +3 -0
index 508b5e21c522..c59c01a51f77 100644
@@ -11,6 +11,9 @@ XLIB_LIBXCURSOR_LICENSE = MIT
 XLIB_LIBXCURSOR_LICENSE_FILES = COPYING
 XLIB_LIBXCURSOR_INSTALL_STAGING = YES
 XLIB_LIBXCURSOR_DEPENDENCIES = xlib_libX11 xlib_libXfixes xlib_libXrender xproto_xproto
+HOST_XLIB_LIBXCURSOR_DEPENDENCIES = \
+	host-xlib_libX11 host-xlib_libXfixes host-xlib_libXrender \
+	host-xproto_xproto
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.1.0
#101 lore raw

PATCH 47/69 xlib_libXcursor: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xlib_libXcursor/xlib_libXcursor.mk | 3 +++
 1 file changed, 3 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#102 lore raw

PATCH 48/69 xlib_libXdmcp: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk | 1 +
 1 file changed, 1 insertion(+)
package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk +1 -0
index 119c01813713..ec1b861b9250 100644
@@ -11,6 +11,7 @@ XLIB_LIBXDMCP_LICENSE = MIT
 XLIB_LIBXDMCP_LICENSE_FILES = COPYING
 XLIB_LIBXDMCP_INSTALL_STAGING = YES
 XLIB_LIBXDMCP_DEPENDENCIES = xutil_util-macros xproto_xproto
+HOST_XLIB_LIBXDMCP_DEPENDENCIES = host-xutil_util-macros host-xproto_xproto
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.1.0
#103 lore raw

PATCH 48/69 xlib_libXdmcp: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#104 lore raw

PATCH 49/69 xlib_libXfixes: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xlib_libXfixes/xlib_libXfixes.mk | 3 +++
 1 file changed, 3 insertions(+)
package/x11r7/xlib_libXfixes/xlib_libXfixes.mk +3 -0
index 2a10d49eb15c..82799a3827ec 100644
@@ -11,6 +11,9 @@ XLIB_LIBXFIXES_LICENSE = MIT
 XLIB_LIBXFIXES_LICENSE_FILES = COPYING
 XLIB_LIBXFIXES_INSTALL_STAGING = YES
 XLIB_LIBXFIXES_DEPENDENCIES = xproto_fixesproto xlib_libX11 xproto_xextproto xproto_xproto
+HOST_XLIB_LIBXFIXES_DEPENDENCIES = \
+	host-xproto_fixesproto host-xlib_libX11 host-xproto_xextproto \
+	host-xproto_xproto
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.1.0
#105 lore raw

PATCH 49/69 xlib_libXfixes: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xlib_libXfixes/xlib_libXfixes.mk | 3 +++
 1 file changed, 3 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#106 lore raw

PATCH 50/69 xlib_libXfont: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xlib_libXfont/xlib_libXfont.mk | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
package/x11r7/xlib_libXfont/xlib_libXfont.mk +6 -1
index adc22b4df7b2..d7acab44c94e 100644
@@ -11,9 +11,14 @@ XLIB_LIBXFONT_LICENSE = MIT
 XLIB_LIBXFONT_LICENSE_FILES = COPYING
 XLIB_LIBXFONT_AUTORECONF = YES
 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_DEPENDENCIES = \
+	host-freetype host-xlib_libfontenc host-xlib_xtrans \
+	host-xproto_fontsproto host-xproto_xproto host-xfont_encodings
+
+XLIB_LIBXFONT_CONF_OPTS = --disable-devel-docs
 HOST_XLIB_LIBXFONT_CONF_OPTS = --disable-devel-docs
 
 ifeq ($(BR2_microblaze),y)
Signature · 1 line
2.1.0
#107 lore raw

PATCH 50/69 xlib_libXfont: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xlib_libXfont/xlib_libXfont.mk | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#108 lore raw

PATCH 51/69 xlib_libXrender: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xlib_libXrender/xlib_libXrender.mk | 3 +++
 1 file changed, 3 insertions(+)
package/x11r7/xlib_libXrender/xlib_libXrender.mk +3 -0
index 949dea3f146c..72626cf98dd8 100644
@@ -11,6 +11,9 @@ XLIB_LIBXRENDER_LICENSE = MIT
 XLIB_LIBXRENDER_LICENSE_FILES = COPYING
 XLIB_LIBXRENDER_INSTALL_STAGING = YES
 XLIB_LIBXRENDER_DEPENDENCIES = xlib_libX11 xproto_renderproto xproto_xproto
+HOST_XLIB_LIBXRENDER_DEPENDENCIES = \
+	host-xlib_libX11 host-xproto_renderproto host-xproto_xproto
+
 XLIB_LIBXRENDER_CONF_OPTS = --disable-malloc0returnsnull
 
 $(eval $(autotools-package))
Signature · 1 line
2.1.0
#109 lore raw

PATCH 51/69 xlib_libXrender: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xlib_libXrender/xlib_libXrender.mk | 3 +++
 1 file changed, 3 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#110 lore raw

PATCH 52/69 xlib_libfontenc: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xlib_libfontenc/xlib_libfontenc.mk | 1 +
 1 file changed, 1 insertion(+)
package/x11r7/xlib_libfontenc/xlib_libfontenc.mk +1 -0
index aff1f1a5d954..e2c4c6e8d901 100644
@@ -11,6 +11,7 @@ XLIB_LIBFONTENC_LICENSE = MIT
 XLIB_LIBFONTENC_LICENSE_FILES = COPYING
 XLIB_LIBFONTENC_INSTALL_STAGING = YES
 XLIB_LIBFONTENC_DEPENDENCIES = zlib xproto_xproto
+HOST_XLIB_LIBFONTENC_DEPENDENCIES = host-zlib host-xproto_xproto
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.1.0
#111 lore raw

PATCH 52/69 xlib_libfontenc: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xlib_libfontenc/xlib_libfontenc.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#112 lore raw

PATCH 53/69 xlib_libxkbfile: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk | 1 +
 1 file changed, 1 insertion(+)
package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk +1 -0
index 51c58c04a0da..c69d73118fe4 100644
@@ -11,6 +11,7 @@ XLIB_LIBXKBFILE_LICENSE = MIT
 XLIB_LIBXKBFILE_LICENSE_FILES = COPYING
 XLIB_LIBXKBFILE_INSTALL_STAGING = YES
 XLIB_LIBXKBFILE_DEPENDENCIES = xlib_libX11 xproto_kbproto
+HOST_XLIB_LIBXKBFILE_DEPENDENCIES = host-xlib_libX11 host-xproto_kbproto
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.1.0
#113 lore raw

PATCH 53/69 xlib_libxkbfile: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#114 lore raw

PATCH 54/69 xutil_makedepend: add explicit dependencies for host variant

In reply to Julien Floret
---
 package/x11r7/xutil_makedepend/xutil_makedepend.mk | 1 +
 1 file changed, 1 insertion(+)
package/x11r7/xutil_makedepend/xutil_makedepend.mk +1 -0
index 81e348ed9645..6fd3c1ae36bf 100644
@@ -11,6 +11,7 @@ XUTIL_MAKEDEPEND_LICENSE = MIT
 XUTIL_MAKEDEPEND_LICENSE_FILES = COPYING
 
 XUTIL_MAKEDEPEND_DEPENDENCIES = xproto_xproto
+HOST_XUTIL_MAKEDEPEND_DEPENDENCIES = host-xproto_xproto
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.1.0
#115 lore raw

PATCH 54/69 xutil_makedepend: add explicit dependencies for host variant

Hello,

Quoted 4 lines · Julien Floret
---
 package/x11r7/xutil_makedepend/xutil_makedepend.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#116 lore raw

PATCH 55/69 infra: remove auto derivation of host dependencies

In reply to Julien Floret

This feature consists in automatically deducing dependencies of a host package from the dependencies of the target variant.

However, it causes some issues, and many host packages need different dependencies than their target variants.

Now that host dependencies are explicitly set for all packages, we can remove it.

---
 package/pkg-autotools.mk |  9 ---------
 package/pkg-cmake.mk     |  7 -------
 package/pkg-generic.mk   |  4 ----
 package/pkg-python.mk    | 15 ---------------
 package/pkg-rebar.mk     | 14 --------------
 package/pkg-virtual.mk   |  7 -------
 6 files changed, 56 deletions(-)
package/pkg-autotools.mk +0 -9
index 502eeea6aa29..75e2df001f78 100644
@@ -159,15 +159,6 @@ $(2)_INSTALL_OPTS                ?= install
 $(2)_INSTALL_STAGING_OPTS	?= DESTDIR=$$(STAGING_DIR) install
 $(2)_INSTALL_TARGET_OPTS		?= DESTDIR=$$(TARGET_DIR) install
 
-# This must be repeated from inner-generic-package, otherwise we get an empty
-# _DEPENDENCIES if _AUTORECONF is YES.  Also filter the result of _AUTORECONF
-# and _GETTEXTIZE away from the non-host rule
-ifeq ($(4),host)
-$(2)_DEPENDENCIES ?= $$(filter-out host-automake host-autoconf host-libtool \
-				host-gettext host-skeleton host-toolchain $(1),\
-    $$(patsubst host-host-%,host-%,$$(addprefix host-,$$($(3)_DEPENDENCIES))))
-endif
-
 #
 # Configure step. Only define it if not already defined by the package
 # .mk file. And take care of the differences between host and target
package/pkg-cmake.mk +0 -7
index bca360332b3c..6f0ecf9f726b 100644
@@ -142,13 +142,6 @@ endef
 endif
 endif
 
-# This must be repeated from inner-generic-package, otherwise we only get
-# host-cmake in _DEPENDENCIES because of the following line
-ifeq ($(4),host)
-$(2)_DEPENDENCIES ?= $$(filter-out host-skeleton host-toolchain $(1),\
-	$$(patsubst host-host-%,host-%,$$(addprefix host-,$$($(3)_DEPENDENCIES))))
-endif
-
 $(2)_DEPENDENCIES += host-cmake
 
 #
package/pkg-generic.mk +0 -4
index b712c3175ff0..299672c79d25 100644
@@ -503,10 +503,6 @@ $(2)_REDIST_SOURCES_DIR = $$(REDIST_SOURCES_DIR_$$(call UPPERCASE,$(4)))/$$($(2)
 # dependency
 $(2)_ADD_TOOLCHAIN_DEPENDENCY	?= YES
 
-ifeq ($(4),host)
-$(2)_DEPENDENCIES ?= $$(filter-out host-skeleton host-toolchain $(1),\
-	$$(patsubst host-host-%,host-%,$$(addprefix host-,$$($(3)_DEPENDENCIES))))
-endif
 ifeq ($(4),target)
 ifneq ($(1),skeleton)
 $(2)_DEPENDENCIES += skeleton
package/pkg-python.mk +0 -15
index 9725d24f983f..38bc45ffa33f 100644
@@ -138,21 +138,6 @@ else
 $$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils' or 'setuptools'")
 endif
 
-# The below statement intends to calculate the dependencies of host
-# packages by derivating them from the dependencies of the
-# corresponding target package, after adding the 'host-' prefix in
-# front of the dependencies.
-#
-# However it must be repeated from inner-generic-package, as we need
-# to exclude the python, host-python and host-python-setuptools
-# packages, which are added below in the list of dependencies
-# depending on the package characteristics, and shouldn't be derived
-# automatically from the dependencies of the corresponding target
-# package.
-ifeq ($(4),host)
-$(2)_DEPENDENCIES ?= $$(filter-out host-python host-python3 host-python-setuptools host-skeleton host-toolchain $(1),$$(patsubst host-host-%,host-%,$$(addprefix host-,$$($(3)_DEPENDENCIES))))
-endif
-
 # Target packages need both the python interpreter on the target (for
 # runtime) and the python interpreter on the host (for
 # compilation). However, host packages only need the python
package/pkg-rebar.mk +0 -14
index 44c6d6c8d23a..7605a64aded4 100644
@@ -188,20 +188,6 @@ endif
 
 else # !target
 
-ifeq ($$($(2)_USE_AUTOCONF),YES)
-# This must be repeated from inner-autotools-package, otherwise we get
-# an empty _DEPENDENCIES if _AUTORECONF is YES or _USE_BUNDLED_REBAR
-# is NO.  Also filter the result of _AUTORECONF and _GETTEXTIZE away
-# from the non-host rule
-$(2)_DEPENDENCIES ?= $$(filter-out host-automake host-autoconf host-libtool \
-				host-gettext host-skeleton host-toolchain host-erlang-rebar $(1),\
-    $$(patsubst host-host-%,host-%,$$(addprefix host-,$$($(3)_DEPENDENCIES))))
-else
-# Same deal, if _USE_BUNDLED_REBAR is NO.
-$(2)_DEPENDENCIES ?= $$(filter-out  host-skeleton host-toolchain host-erlang-rebar $(1),\
-	$$(patsubst host-host-%,host-%,$$(addprefix host-,$$($(3)_DEPENDENCIES))))
-endif
-
 # Host packages need the erlang interpreter on the host
 $(2)_DEPENDENCIES += host-erlang
 
package/pkg-virtual.mk +0 -7
index 244c1d042033..3fbe0a31daad 100644
@@ -49,13 +49,6 @@ $(2)_SOURCE =
 # Fake a version string, so it looks nicer in the build log
 $(2)_VERSION = virtual
 
-# This must be repeated from inner-generic-package, otherwise we get an empty
-# _DEPENDENCIES
-ifeq ($(4),host)
-$(2)_DEPENDENCIES ?= $$(filter-out host-skeleton host-toolchain $(1),\
-	$$(patsubst host-host-%,host-%,$$(addprefix host-,$$($(3)_DEPENDENCIES))))
-endif
-
 # Add dependency against the provider
 $(2)_DEPENDENCIES += $$(call qstrip,$$(BR2_PACKAGE_PROVIDES_$(2)))
 
Signature · 1 line
2.1.0
#117 lore raw

PATCH 55/69 infra: remove auto derivation of host dependencies

Hello,

Quoted 11 lines · Julien Floret

This feature consists in automatically deducing dependencies of a host package from the dependencies of the target variant.

However, it causes some issues, and many host packages need different dependencies than their target variants.

Now that host dependencies are explicitly set for all packages, we can remove it.

Quoted 8 lines
---
 package/pkg-autotools.mk |  9 ---------
 package/pkg-cmake.mk     |  7 -------
 package/pkg-generic.mk   |  4 ----
 package/pkg-python.mk    | 15 ---------------
 package/pkg-rebar.mk     | 14 --------------
 package/pkg-virtual.mk   |  7 -------
 6 files changed, 56 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#118 lore raw

PATCH 56/69 xorriso: remove empty host dependencies definition

In reply to Julien Floret

While there, fix some typos.

---
 package/xorriso/xorriso.mk | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
package/xorriso/xorriso.mk +2 -3
index 396eeaee1913..be193221ec9a 100644
@@ -8,9 +8,8 @@ XORRISO_VERSION = 1.4.2
 XORRISO_SITE = $(BR2_GNU_MIRROR)/xorriso
 XORRISO_LICENSE = GPLv3+
 XORRISO_LICENSE_FILES = COPYING COPYRIGHT
-HOST_XORRISO_DEPENDENCIES =
-# Disable everything until we actually need those feature, and add the correct
-# host-libraries
+# Disable everything until we actually need those features, and add the correct
+# host libraries
 HOST_XORRISO_CONF_OPTS = \
 	--disable-zlib \
 	--disable-bzip2 \
Signature · 1 line
2.1.0
#119 lore raw

PATCH 56/69 xorriso: remove empty host dependencies definition

Hello,

Quoted 6 lines · Julien Floret

While there, fix some typos.

---
 package/xorriso/xorriso.mk | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#120 lore raw

PATCH 57/69 tcl: remove empty host dependencies definition

In reply to Julien Floret
---
 package/tcl/tcl.mk | 1 -
 1 file changed, 1 deletion(-)
package/tcl/tcl.mk +0 -1
index a1153c72314c..a2ac8e6c83ca 100644
@@ -75,7 +75,6 @@ TCL_POST_INSTALL_TARGET_HOOKS += TCL_REMOVE_EXTRA
 TCL_DEPENDENCIES = $(if $(BR2_PACKAGE_SQLITE),sqlite) \
 	$(if $(BR2_PACKAGE_MYSQL),mysql) \
 	$(if $(BR2_PACKAGE_POSTGRESQL),postgresql)
-HOST_TCL_DEPENDENCIES =
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.1.0
#121 lore raw

PATCH 57/69 tcl: remove empty host dependencies definition

Hello,

Quoted 4 lines · Julien Floret
---
 package/tcl/tcl.mk | 1 -
 1 file changed, 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#122 lore raw

PATCH 58/69 binutils: remove empty host dependencies definition

In reply to Julien Floret
---
 package/binutils/binutils.mk | 1 -
 1 file changed, 1 deletion(-)
package/binutils/binutils.mk +0 -1
index 2fd91ba0f74c..60aa87b768d1 100644
@@ -25,7 +25,6 @@ BINUTILS_SOURCE ?= binutils-$(BINUTILS_VERSION).tar.bz2
 BINUTILS_EXTRA_CONFIG_OPTIONS = $(call qstrip,$(BR2_BINUTILS_EXTRA_CONFIG_OPTIONS))
 BINUTILS_INSTALL_STAGING = YES
 BINUTILS_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
-HOST_BINUTILS_DEPENDENCIES =
 BINUTILS_LICENSE = GPLv3+, libiberty LGPLv2.1+
 BINUTILS_LICENSE_FILES = COPYING3 COPYING.LIB
 
Signature · 1 line
2.1.0
#123 lore raw

PATCH 58/69 binutils: remove empty host dependencies definition

Hello,

Quoted 4 lines · Julien Floret
---
 package/binutils/binutils.mk | 1 -
 1 file changed, 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#124 lore raw

PATCH 59/69 boost: remove empty host dependencies definition

In reply to Julien Floret
---
 package/boost/boost.mk | 2 --
 1 file changed, 2 deletions(-)
package/boost/boost.mk +0 -2
index 1d42f6c2a7b0..1bed6b250f98 100644
@@ -11,8 +11,6 @@ BOOST_INSTALL_STAGING = YES
 BOOST_LICENSE = Boost Software License 1.0
 BOOST_LICENSE_FILES = LICENSE_1_0.txt
 
-HOST_BOOST_DEPENDENCIES =
-
 # keep host variant as minimal as possible
 HOST_BOOST_FLAGS = --without-icu \
 	--without-libraries=$(subst $(space),$(comma),atomic chrono context \
Signature · 1 line
2.1.0
#125 lore raw

PATCH 59/69 boost: remove empty host dependencies definition

Hello,

Quoted 4 lines · Julien Floret
---
 package/boost/boost.mk | 2 --
 1 file changed, 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#126 lore raw

PATCH 60/69 dos2unix: remove empty host dependencies definition

In reply to Julien Floret
---
 package/dos2unix/dos2unix.mk | 1 -
 1 file changed, 1 deletion(-)
package/dos2unix/dos2unix.mk +0 -1
index 82fa26f01307..df2094e4a564 100644
@@ -9,7 +9,6 @@ DOS2UNIX_SITE = http://waterlan.home.xs4all.nl/dos2unix
 DOS2UNIX_LICENSE = BSD-2c
 DOS2UNIX_LICENSE_FILES = COPYING.txt
 DOS2UNIX_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
-HOST_DOS2UNIX_DEPENDENCIES =
 
 ifeq ($(BR2_ENABLE_LOCALE),y)
 DOS2UNIX_DEPENDENCIES += host-gettext
Signature · 1 line
2.1.0
#127 lore raw

PATCH 60/69 dos2unix: remove empty host dependencies definition

Hello,

Quoted 4 lines · Julien Floret
---
 package/dos2unix/dos2unix.mk | 1 -
 1 file changed, 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#128 lore raw

PATCH 61/69 dosfstools: remove empty host dependencies definition

In reply to Julien Floret
---
 package/dosfstools/dosfstools.mk | 3 ---
 1 file changed, 3 deletions(-)
package/dosfstools/dosfstools.mk +0 -3
index 28a7b421c227..67c6f7310319 100644
@@ -12,9 +12,6 @@ DOSFSTOOLS_LICENSE_FILES = COPYING
 DOSFSTOOLS_CONF_OPTS = --enable-compat-symlinks --exec-prefix=/
 HOST_DOSFSTOOLS_CONF_OPTS = --enable-compat-symlinks
 
-# Avoid target dosfstools dependencies, no host-libiconv
-HOST_DOSFSTOOLS_DEPENDENCIES =
-
 ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
 DOSFSTOOLS_CONF_OPTS += --with-udev
 DOSFSTOOLS_DEPENDENCIES += udev
Signature · 1 line
2.1.0
#129 lore raw

PATCH 61/69 dosfstools: remove empty host dependencies definition

Hello,

Quoted 4 lines · Julien Floret
---
 package/dosfstools/dosfstools.mk | 3 ---
 1 file changed, 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#130 lore raw

PATCH 62/69 gawk: remove empty host dependencies definition

In reply to Julien Floret
---
 package/gawk/gawk.mk | 3 ---
 1 file changed, 3 deletions(-)
package/gawk/gawk.mk +0 -3
index da9be95cd07f..b5b0f8d562af 100644
@@ -36,9 +36,6 @@ else
 GAWK_CONF_OPTS += --without-readline
 endif
 
-# We don't have a host-busybox, and we don't want to use readline or mpfr
-HOST_GAWK_DEPENDENCIES =
-
 HOST_GAWK_CONF_OPTS = --without-readline --without-mpfr
 
 define GAWK_CREATE_SYMLINK
Signature · 1 line
2.1.0
#131 lore raw

PATCH 62/69 gawk: remove empty host dependencies definition

Hello,

Quoted 4 lines · Julien Floret
---
 package/gawk/gawk.mk | 3 ---
 1 file changed, 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#132 lore raw

PATCH 63/69 lua: remove empty host dependencies definition

In reply to Julien Floret
---
 package/lua/lua.mk | 3 ---
 1 file changed, 3 deletions(-)
package/lua/lua.mk +0 -3
index b2dab3937c45..be3328434b3b 100644
@@ -62,9 +62,6 @@ endef
 LUA_POST_PATCH_HOOKS += LUA_32BITS_LUACONF
 endif
 
-# We never want to have host-readline and host-ncurses as dependencies
-# of host-lua.
-HOST_LUA_DEPENDENCIES =
 HOST_LUA_CFLAGS = -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX
 HOST_LUA_MYLIBS = -ldl
 
Signature · 1 line
2.1.0
#133 lore raw

PATCH 63/69 lua: remove empty host dependencies definition

Hello,

Quoted 4 lines · Julien Floret
---
 package/lua/lua.mk | 3 ---
 1 file changed, 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#134 lore raw

PATCH 64/69 mtools: remove empty host dependencies definition

In reply to Julien Floret
---
 package/mtools/mtools.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
package/mtools/mtools.mk +1 -3
index fc145c083206..adba1fc47376 100644
@@ -22,11 +22,9 @@ HOST_MTOOLS_CONF_ENV = \
 ifeq ($(BR2_PACKAGE_LIBICONV),y)
 MTOOLS_DEPENDENCIES += libiconv
 MTOOLS_CONF_ENV += LIBS=-liconv
-# We have no host dependencies
-HOST_MTOOLS_DEPENDENCIES =
 endif
 
-#?Package does not build in parallel due to improper make rules
+# Package does not build in parallel due to improper make rules
 MTOOLS_MAKE = $(MAKE1)
 
 $(eval $(autotools-package))
Signature · 1 line
2.1.0
#135 lore raw

PATCH 64/69 mtools: remove empty host dependencies definition

Hello,

Quoted 4 lines · Julien Floret
---
 package/mtools/mtools.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#136 lore raw

PATCH 65/69 ncurses: remove empty host dependencies definition

In reply to Julien Floret
---
 package/ncurses/ncurses.mk | 1 -
 1 file changed, 1 deletion(-)
package/ncurses/ncurses.mk +0 -1
index 8368c690b606..bef57c5f08f5 100644
@@ -8,7 +8,6 @@ NCURSES_VERSION = 5.9
 NCURSES_SITE = $(BR2_GNU_MIRROR)/ncurses
 NCURSES_INSTALL_STAGING = YES
 NCURSES_DEPENDENCIES = host-ncurses
-HOST_NCURSES_DEPENDENCIES =
 NCURSES_PROGS = clear infocmp tabs tic toe tput tset
 NCURSES_LICENSE = MIT with advertising clause
 NCURSES_LICENSE_FILES = README
Signature · 1 line
2.1.0
#137 lore raw

PATCH 65/69 ncurses: remove empty host dependencies definition

Hello,

Quoted 4 lines · Julien Floret
---
 package/ncurses/ncurses.mk | 1 -
 1 file changed, 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#138 lore raw

PATCH 66/69 pax-utils: remove empty host dependencies definition

In reply to Julien Floret
---
 package/pax-utils/pax-utils.mk | 3 ---
 1 file changed, 3 deletions(-)
package/pax-utils/pax-utils.mk +0 -3
index 747c2bb1145b..8d5f3eea73c7 100644
@@ -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
Signature · 1 line
2.1.0
#139 lore raw

PATCH 66/69 pax-utils: remove empty host dependencies definition

Hello,

Quoted 4 lines · Julien Floret
---
 package/pax-utils/pax-utils.mk | 3 ---
 1 file changed, 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#140 lore raw

PATCH 67/69 perl: remove empty host dependencies definition

In reply to Julien Floret
---
 package/perl/perl.mk | 4 ----
 1 file changed, 4 deletions(-)
package/perl/perl.mk +0 -4
index 11b10ff5e480..d66e4487c1f7 100644
@@ -90,10 +90,6 @@ define PERL_INSTALL_TARGET_CMDS
 	$(MAKE1) -C $(@D) DESTDIR="$(TARGET_DIR)" install.perl
 endef
 
-# We never want to have host-berkeleydb or host-gdbm as dependencies
-# of host-perl.
-HOST_PERL_DEPENDENCIES =
-
 HOST_PERL_CONF_OPTS = \
 	-des \
 	-Dprefix="$(HOST_DIR)/usr" \
Signature · 1 line
2.1.0
#141 lore raw

PATCH 67/69 perl: remove empty host dependencies definition

Hello,

Quoted 4 lines · Julien Floret
---
 package/perl/perl.mk | 4 ----
 1 file changed, 4 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#142 lore raw

PATCH 68/69 rpi-firmware: remove empty host dependencies definition

In reply to Julien Floret
---
 package/rpi-firmware/rpi-firmware.mk | 1 -
 1 file changed, 1 deletion(-)
package/rpi-firmware/rpi-firmware.mk +0 -1
index e170780789c7..0587802b5144 100644
@@ -49,7 +49,6 @@ endef
 # We have no host sources to get, since we already
 # bundle the script we want to install.
 HOST_RPI_FIRMWARE_SOURCE =
-HOST_RPI_FIRMWARE_DEPENDENCIES =
 
 define HOST_RPI_FIRMWARE_INSTALL_CMDS
 	$(INSTALL) -D -m 0755 package/rpi-firmware/mkknlimg $(HOST_DIR)/usr/bin/mkknlimg
Signature · 1 line
2.1.0
#143 lore raw

PATCH 68/69 rpi-firmware: remove empty host dependencies definition

Hello,

Quoted 4 lines · Julien Floret
---
 package/rpi-firmware/rpi-firmware.mk | 1 -
 1 file changed, 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#144 lore raw

PATCH 69/69 tar: remove empty host dependencies definition

In reply to Julien Floret

Note that host-tar dependencies were broken with automatic derivation of host dependencies:
host-tar could depend (or not) on host-attr (and even on non-existing host-acl!), depending on BR2_PACKAGE_BUSYBOX.

Now, host-tar has no dependency.

---
 package/tar/tar.mk | 1 -
 1 file changed, 1 deletion(-)
package/tar/tar.mk +0 -1
index 767c02f9f990..26f113a4d2ab 100644
@@ -16,7 +16,6 @@ TAR_LICENSE_FILES = COPYING
 # Prefer full-blown tar over buybox's version
 ifeq ($(BR2_PACKAGE_BUSYBOX),y)
 TAR_DEPENDENCIES += busybox
-HOST_TAR_DEPENDENCIES =
 endif
 
 ifeq ($(BR2_PACKAGE_ACL),y)
Signature · 1 line
2.1.0
#145 lore raw

PATCH 69/69 tar: remove empty host dependencies definition

Hello,

Quoted 11 lines · Julien Floret

Note that host-tar dependencies were broken with automatic derivation of host dependencies:
host-tar could depend (or not) on host-attr (and even on non-existing host-acl!), depending on BR2_PACKAGE_BUSYBOX.

Now, host-tar has no dependency.

---
 package/tar/tar.mk | 1 -
 1 file changed, 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#146 lore raw

cover Remove automatic derivation of host dependencies

In reply to Julien Floret

Hello,

Quoted 3 lines · Julien Floret

The automatic derivation of host dependencies feature consists in automatically deducing dependencies of a package host variant from the dependencies of the target variant.

Thanks for this series. However, there are still a number of issues (I'll reply to the patches independently).

But most importantly, I think it's a topic I would prefer to not have to handle right now. We are in the middle of a Buildroot Summer Camp, trying to reduce significantly the backlog of patches, so a 69 patches series is kind of going against this goal. While this objective is desirable, it's also not a super high priority, so I would have preferred to defer this work a bit and concentrate on other topics.

Best regards,

Thomas

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