svn commit: trunk/buildroot/package/libusb
Author: jacmet
Date: 2008-06-13 01:45:35 -0700 (Fri, 13 Jun 2008) New Revision: 22312
Log:
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.
Modified:
trunk/buildroot/package/libusb/libusb.mk
Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
buildroot/package/libusb/libusb.mk +1 -1
@@ -24,7 +24,7 @@ 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)
Quoted 7 lines · jacmet at uclibc.org
Author: jacmet
Date: 2008-06-13 01:45:35 -0700 (Fri, 13 Jun 2008) New Revision: 22312Log:
libusb: depend on actual host-libtool binary
Quoted 6 lines
We need to depend on the actual host-libtool binary instead of the phony host-libtool as libusb otherwise will get recompiled every time.
Modified:
trunk/buildroot/package/libusb/libusb.mk
Thanks, I fixed this already in my local copy but hadn't checked it in yet.
Quoted 3 lines
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)
I added a $(LIBTOOL) in libtool/libtool.mk similar to $(AUTOMAKE) and used that instead, so that we can hide details of the libtool package.
Hamish
Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Hamish" == Hamish Moffatt <[email protected]> writes:
hi,
Hamish> Thanks, I fixed this already in my local copy but hadn't Hamish> checked it in yet.
Ah ok, that's what happens when you do parallel development. I fixed the host-libtool issue myself before I saw your commit as well ;)
Signature · 1 line
Bye, Peter Korsgaard