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>
This commit is contained in:
parent
3f4575e66f
commit
20788aef4d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user