[Buildroot] [PATCH 29/39] libusb: convert to autotools infrastructure for host package

Peter Korsgaard jacmet at uclibc.org
Wed Dec 16 15:38:07 UTC 2009


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

Hi,

 Thomas> +++ b/package/libusb/libusb.mk
 Thomas> @@ -23,7 +23,7 @@ $(DL_DIR)/$(LIBUSB_SOURCE): $(LIBUSB_PATCH)
 Thomas>  libusb-source: $(DL_DIR)/$(LIBUSB_SOURCE) $(LIBUSB_PATCH)
 
 Thomas>  libusb-unpacked: $(LIBUSB_DIR)/.unpacked
 Thomas> -$(LIBUSB_DIR)/.unpacked: $(STAMP_DIR)/host_autoconf_installed $(STAMP_DIR)/host_automake_installed $(STAMP_DIR)/host_libtool_installed $(DL_DIR)/$(LIBUSB_SOURCE)
 Thomas> +$(LIBUSB_DIR)/.unpacked: host-autoconf host-automake host-libtool $(DL_DIR)/$(LIBUSB_SOURCE)

This causes the unpack (and in terms configure, build and install) steps
to always be considered out of date and hence rerun.

We should probably just add those dependencies to the the toplevel
libusb target (or even better, convert to AUTOTARGETS).

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list