summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-12-20 21:22:46 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2009-12-20 21:27:20 (GMT)
commit20788aef4d8a7c6ca9774bb01c8226f30f0b403a (patch)
tree4300f578d92d2313b5a91c1d4ed43ca38f12559c
parent3f4575e66fbd515f6f31864dd708ea27732cae26 (diff)
downloadbuildroot-20788aef4d8a7c6ca9774bb01c8226f30f0b403a.tar.gz
buildroot-20788aef4d8a7c6ca9774bb01c8226f30f0b403a.tar.bz2
libusb: move phony dependencies to toplevel libusb target
Real targets shouldn't have phony dependencies, as make otherwise always consider them out of date. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/libusb/libusb.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk
index 618d36b..adf3e20 100644
--- a/package/libusb/libusb.mk
+++ b/package/libusb/libusb.mk
@@ -23,7 +23,7 @@ $(DL_DIR)/$(LIBUSB_SOURCE): $(LIBUSB_PATCH)
libusb-source: $(DL_DIR)/$(LIBUSB_SOURCE) $(LIBUSB_PATCH)
libusb-unpacked: $(LIBUSB_DIR)/.unpacked
-$(LIBUSB_DIR)/.unpacked: host-autoconf host-automake host-libtool $(DL_DIR)/$(LIBUSB_SOURCE)
+$(LIBUSB_DIR)/.unpacked: $(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)
@@ -58,7 +58,7 @@ $(TARGET_DIR)/$(LIBUSB_BINARY): $(STAGING_DIR)/usr/lib/libusb.so
cp -dpf $(STAGING_DIR)/usr/lib/libusb*.so* $(TARGET_DIR)/usr/lib/
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libusb*.so*
-libusb: host-pkg-config $(TARGET_DIR)/$(LIBUSB_BINARY)
+libusb: host-pkg-config host-autoconf host-automake host-libtool $(TARGET_DIR)/$(LIBUSB_BINARY)
libusb-clean:
rm -f $(STAGING_DIR)/bin/libusb-config