From f8ba68f28bd10ae9f992fcd228bd7649a7a84efb Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 13 Jun 2008 08:45:35 +0000 Subject: [PATCH] libusb: depend on actual host-libtool binary We need to depend on the actual host-libtool binary instead of the phony host-libtool as libusb otherwise will get recompiled every time. --- package/libusb/libusb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk index 0a3d951ad5..459b42c51d 100644 --- a/package/libusb/libusb.mk +++ b/package/libusb/libusb.mk @@ -24,7 +24,7 @@ $(DL_DIR)/$(LIBUSB_SOURCE): $(LIBUSB_PATCH) libusb-source: $(DL_DIR)/$(LIBUSB_SOURCE) $(LIBUSB_PATCH) libusb-unpacked: $(LIBUSB_DIR)/.unpacked -$(LIBUSB_DIR)/.unpacked: $(AUTOCONF) $(AUTOMAKE) host-libtool $(DL_DIR)/$(LIBUSB_SOURCE) +$(LIBUSB_DIR)/.unpacked: $(AUTOCONF) $(AUTOMAKE) $(STAGING_DIR)/$(LIBTOOL_TARGET_BINARY) $(DL_DIR)/$(LIBUSB_SOURCE) $(LIBUSB_CAT) $(DL_DIR)/$(LIBUSB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - ifneq ($(LIBUSB_PATCH_FILE),) (cd $(LIBUSB_DIR) && $(LIBUSB_CAT) $(LIBUSB_PATCH) | patch -p1)