Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2008-03-27 13:00 jacmet at uclibc.org
  0 siblings, 0 replies; 27+ messages in thread
From: jacmet at uclibc.org @ 2008-03-27 13:00 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-03-27 06:00:31 -0700 (Thu, 27 Mar 2008)
New Revision: 21514

Log:
libusb: correctly install into STAGING_DIR/usr

Closes #2494


Modified:
   trunk/buildroot/package/libusb/libusb.mk


Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2008-03-27 10:23:13 UTC (rev 21513)
+++ trunk/buildroot/package/libusb/libusb.mk	2008-03-27 13:00:31 UTC (rev 21514)
@@ -45,17 +45,17 @@
 		--target=$(GNU_TARGET_NAME) \
 		--host=$(GNU_TARGET_NAME) \
 		--build=$(GNU_HOST_NAME) \
-		--prefix=/ \
+		--prefix=$(STAGING_DIR)/usr \
 		--disable-debug \
 		--disable-build-docs \
 	)
 	touch $@
 
-$(STAGING_DIR)/lib/libusb.so: $(LIBUSB_DIR)/.configured
+$(STAGING_DIR)/usr/lib/libusb.so: $(LIBUSB_DIR)/.configured
 	$(MAKE) -C $(LIBUSB_DIR)
-	$(MAKE) -C $(LIBUSB_DIR) DESTDIR=$(STAGING_DIR) install
+	$(MAKE) -C $(LIBUSB_DIR) install
 
-$(TARGET_DIR)/$(LIBUSB_BINARY): $(STAGING_DIR)/lib/libusb.so
+$(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*
 

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2008-12-05 10:22 jacmet at uclibc.org
  2008-12-05 10:42 ` Gaye Abdoulaye Walsimou
  0 siblings, 1 reply; 27+ messages in thread
From: jacmet at uclibc.org @ 2008-12-05 10:22 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-12-05 02:22:52 -0800 (Fri, 05 Dec 2008)
New Revision: 24282

Log:
libusb: use 0.1.12-10 from snapshot.debian.net

Modified:
   trunk/buildroot/package/libusb/libusb.mk


Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2008-12-05 09:47:16 UTC (rev 24281)
+++ trunk/buildroot/package/libusb/libusb.mk	2008-12-05 10:22:52 UTC (rev 24282)
@@ -4,10 +4,9 @@
 #
 #############################################################
 LIBUSB_VERSION:=0.1.12
-LIBUSB_PATCH_FILE:=libusb_$(LIBUSB_VERSION)-12.diff.gz
+LIBUSB_PATCH_FILE:=libusb_$(LIBUSB_VERSION)-10.diff.gz
 LIBUSB_SOURCE:=libusb_$(LIBUSB_VERSION).orig.tar.gz
-#LIBUSB_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libusb/
-LIBUSB_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/libu/libusb
+LIBUSB_SITE:=http://snapshot.debian.net/archive/2008/04/27/debian/pool/main/libu/libusb
 LIBUSB_DIR:=$(BUILD_DIR)/libusb-$(LIBUSB_VERSION)
 LIBUSB_CAT:=$(ZCAT)
 LIBUSB_BINARY:=usr/lib/libusb.so

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2008-06-13  8:47 jacmet at uclibc.org
  0 siblings, 0 replies; 27+ messages in thread
From: jacmet at uclibc.org @ 2008-06-13  8:47 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-13 01:47:55 -0700 (Fri, 13 Jun 2008)
New Revision: 22313

Log:
libusb: bump patch version


Modified:
   trunk/buildroot/package/libusb/libusb.mk


Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2008-06-13 08:45:35 UTC (rev 22312)
+++ trunk/buildroot/package/libusb/libusb.mk	2008-06-13 08:47:55 UTC (rev 22313)
@@ -4,7 +4,7 @@
 #
 #############################################################
 LIBUSB_VERSION:=0.1.12
-LIBUSB_PATCH_FILE:=libusb_$(LIBUSB_VERSION)-9.diff.gz
+LIBUSB_PATCH_FILE:=libusb_$(LIBUSB_VERSION)-12.diff.gz
 LIBUSB_SOURCE:=libusb_$(LIBUSB_VERSION).orig.tar.gz
 #LIBUSB_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libusb/
 LIBUSB_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/libu/libusb

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2008-06-13  8:45 jacmet at uclibc.org
  2008-06-13 10:02 ` Hamish Moffatt
  0 siblings, 1 reply; 27+ messages in thread
From: jacmet at uclibc.org @ 2008-06-13  8:45 UTC (permalink / raw)
  To: buildroot

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
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2008-06-13 05:53:25 UTC (rev 22311)
+++ trunk/buildroot/package/libusb/libusb.mk	2008-06-13 08:45:35 UTC (rev 22312)
@@ -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)

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2008-06-13  5:53 hamish at uclibc.org
  2008-06-13  6:25 ` Hamish Moffatt
  0 siblings, 1 reply; 27+ messages in thread
From: hamish at uclibc.org @ 2008-06-13  5:53 UTC (permalink / raw)
  To: buildroot

Author: hamish
Date: 2008-06-12 22:53:25 -0700 (Thu, 12 Jun 2008)
New Revision: 22311

Log:
Fix missing libtool when building libusb


Modified:
   trunk/buildroot/package/libusb/libusb.mk


Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2008-06-12 22:28:03 UTC (rev 22310)
+++ trunk/buildroot/package/libusb/libusb.mk	2008-06-13 05:53:25 UTC (rev 22311)
@@ -24,7 +24,7 @@
 libusb-source: $(DL_DIR)/$(LIBUSB_SOURCE) $(LIBUSB_PATCH)
 
 libusb-unpacked: $(LIBUSB_DIR)/.unpacked
-$(LIBUSB_DIR)/.unpacked: $(AUTOCONF) $(AUTOMAKE) $(DL_DIR)/$(LIBUSB_SOURCE)
+$(LIBUSB_DIR)/.unpacked: $(AUTOCONF) $(AUTOMAKE) host-libtool $(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)

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2008-05-28  6:54 hamish at uclibc.org
  0 siblings, 0 replies; 27+ messages in thread
From: hamish at uclibc.org @ 2008-05-28  6:54 UTC (permalink / raw)
  To: buildroot

Author: hamish
Date: 2008-05-27 23:54:02 -0700 (Tue, 27 May 2008)
New Revision: 22098

Log:
Fix dependencies to enable autoreconf, without rebuilding every time

Modified:
   trunk/buildroot/package/libusb/libusb.mk


Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2008-05-28 02:12:52 UTC (rev 22097)
+++ trunk/buildroot/package/libusb/libusb.mk	2008-05-28 06:54:02 UTC (rev 22098)
@@ -24,7 +24,7 @@
 libusb-source: $(DL_DIR)/$(LIBUSB_SOURCE) $(LIBUSB_PATCH)
 
 libusb-unpacked: $(LIBUSB_DIR)/.unpacked
-$(LIBUSB_DIR)/.unpacked: host-autoconf $(DL_DIR)/$(LIBUSB_SOURCE)
+$(LIBUSB_DIR)/.unpacked: $(AUTOCONF) $(AUTOMAKE) $(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)

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2008-05-28  2:12 hamish at uclibc.org
  0 siblings, 0 replies; 27+ messages in thread
From: hamish at uclibc.org @ 2008-05-28  2:12 UTC (permalink / raw)
  To: buildroot

Author: hamish
Date: 2008-05-27 19:12:52 -0700 (Tue, 27 May 2008)
New Revision: 22097

Log:
Fix dependency on host-autoconf


Modified:
   trunk/buildroot/package/libusb/libusb.mk


Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2008-05-28 01:21:45 UTC (rev 22096)
+++ trunk/buildroot/package/libusb/libusb.mk	2008-05-28 02:12:52 UTC (rev 22097)
@@ -23,8 +23,8 @@
 
 libusb-source: $(DL_DIR)/$(LIBUSB_SOURCE) $(LIBUSB_PATCH)
 
-libusb-unpacked: host-automake host-autoconf $(LIBUSB_DIR)/.unpacked
-$(LIBUSB_DIR)/.unpacked: $(DL_DIR)/$(LIBUSB_SOURCE)
+libusb-unpacked: $(LIBUSB_DIR)/.unpacked
+$(LIBUSB_DIR)/.unpacked: host-autoconf $(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)

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2008-02-18 14:30 sjhill at uclibc.org
  0 siblings, 0 replies; 27+ messages in thread
From: sjhill at uclibc.org @ 2008-02-18 14:30 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2008-02-18 06:30:59 -0800 (Mon, 18 Feb 2008)
New Revision: 21052

Log:
Update diff version.


Modified:
   trunk/buildroot/package/libusb/libusb.mk


Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2008-02-18 13:05:38 UTC (rev 21051)
+++ trunk/buildroot/package/libusb/libusb.mk	2008-02-18 14:30:59 UTC (rev 21052)
@@ -4,7 +4,7 @@
 #
 #############################################################
 LIBUSB_VERSION:=0.1.12
-LIBUSB_PATCH_FILE:=libusb_$(LIBUSB_VERSION)-7.diff.gz
+LIBUSB_PATCH_FILE:=libusb_$(LIBUSB_VERSION)-9.diff.gz
 LIBUSB_SOURCE:=libusb_$(LIBUSB_VERSION).orig.tar.gz
 #LIBUSB_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libusb/
 LIBUSB_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/libu/libusb

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2008-02-15 14:06 jacmet at uclibc.org
  0 siblings, 0 replies; 27+ messages in thread
From: jacmet at uclibc.org @ 2008-02-15 14:06 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-02-15 06:06:39 -0800 (Fri, 15 Feb 2008)
New Revision: 21029

Log:
libusb: install into target with cp instead of install to preserve symlinks


Modified:
   trunk/buildroot/package/libusb/libusb.mk


Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2008-02-15 07:19:03 UTC (rev 21028)
+++ trunk/buildroot/package/libusb/libusb.mk	2008-02-15 14:06:39 UTC (rev 21029)
@@ -56,8 +56,7 @@
 	$(MAKE) -C $(LIBUSB_DIR) DESTDIR=$(STAGING_DIR) install
 
 $(TARGET_DIR)/$(LIBUSB_BINARY): $(STAGING_DIR)/lib/libusb.so
-	$(INSTALL) -D $(LIBUSB_DIR)/.libs/libusb*.so* $(STAGING_DIR)/usr/lib/
-	$(INSTALL) -D $(LIBUSB_DIR)/.libs/libusb*.so* $(TARGET_DIR)/usr/lib/
+	cp -dpf $(STAGING_DIR)/usr/lib/libusb*.so* $(TARGET_DIR)/usr/lib/
 	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libusb*.so*
 
 libusb: uclibc $(TARGET_DIR)/$(LIBUSB_BINARY)

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2007-11-09  9:30 vanokuten at uclibc.org
  0 siblings, 0 replies; 27+ messages in thread
From: vanokuten at uclibc.org @ 2007-11-09  9:30 UTC (permalink / raw)
  To: buildroot

Author: vanokuten
Date: 2007-11-09 01:30:08 -0800 (Fri, 09 Nov 2007)
New Revision: 20390

Log:
fix libusb autoconf scripts for armeb

Modified:
   trunk/buildroot/package/libusb/libusb.mk


Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2007-11-09 09:26:37 UTC (rev 20389)
+++ trunk/buildroot/package/libusb/libusb.mk	2007-11-09 09:30:08 UTC (rev 20390)
@@ -23,7 +23,7 @@
 
 libusb-source: $(DL_DIR)/$(LIBUSB_SOURCE) $(LIBUSB_PATCH)
 
-libusb-unpacked: $(LIBUSB_DIR)/.unpacked
+libusb-unpacked: host-automake host-autoconf $(LIBUSB_DIR)/.unpacked
 $(LIBUSB_DIR)/.unpacked: $(DL_DIR)/$(LIBUSB_SOURCE)
 	$(LIBUSB_CAT) $(DL_DIR)/$(LIBUSB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 ifneq ($(LIBUSB_PATCH_FILE),)
@@ -32,6 +32,8 @@
 	toolchain/patch-kernel.sh $(LIBUSB_DIR) package/libusb/ libusb-$(LIBUSB_VERSION)\*.patch*
 	$(SED) 's,^all:.*,all:,g' $(LIBUSB_DIR)/tests/Makefile.in
 	$(SED) 's,^install:.*,install:,g' $(LIBUSB_DIR)/tests/Makefile.in
+	$(CONFIG_UPDATE) $(LIBUSB_DIR)
+	cd $(LIBUSB_DIR) && $(AUTORECONF)
 	touch $@
 
 $(LIBUSB_DIR)/.configured: $(LIBUSB_DIR)/.unpacked

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2007-11-09  9:26 vanokuten at uclibc.org
  0 siblings, 0 replies; 27+ messages in thread
From: vanokuten at uclibc.org @ 2007-11-09  9:26 UTC (permalink / raw)
  To: buildroot

Author: vanokuten
Date: 2007-11-09 01:26:37 -0800 (Fri, 09 Nov 2007)
New Revision: 20389

Log:
remove g++ dependency from libusb

Added:
   trunk/buildroot/package/libusb/libusb-0.1.12-nocpp.patch


Changeset:
Added: trunk/buildroot/package/libusb/libusb-0.1.12-nocpp.patch
===================================================================
--- trunk/buildroot/package/libusb/libusb-0.1.12-nocpp.patch	                        (rev 0)
+++ trunk/buildroot/package/libusb/libusb-0.1.12-nocpp.patch	2007-11-09 09:26:37 UTC (rev 20389)
@@ -0,0 +1,20 @@
+--- libusb-0.1.12/Makefile.am	2006-03-04 13:52:46.000000000 +1100
++++ libusb-0.1.12/Makefile.am.new	2007-11-08 16:25:38.000000000 +1100
+@@ -4,7 +4,7 @@
+ # gnu strictness chokes on README being autogenerated
+ AUTOMAKE_OPTIONS = 1.4 foreign
+ 
+-SUBDIRS = . tests doc
++SUBDIRS = . doc
+ 
+ AM_CFLAGS = -Werror
+ 
+@@ -19,7 +19,7 @@
+              apidocs/footer.html apidocs/doxygen.css apidocs/doxygen.png libusb.pc.in
+ EXTRA_libusb_la_SOURCE = linux.c linux.h bsd.c darwin.c
+ 
+-lib_LTLIBRARIES = libusb.la libusbpp.la
++lib_LTLIBRARIES = libusb.la
+ 
+ pkgconfig_DATA = libusb.pc
+ 

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2007-09-25 12:54 ulf at uclibc.org
  0 siblings, 0 replies; 27+ messages in thread
From: ulf at uclibc.org @ 2007-09-25 12:54 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-25 05:54:48 -0700 (Tue, 25 Sep 2007)
New Revision: 20017

Log:
Build libusb without annoying tests, breaking the build

Modified:
   trunk/buildroot/package/libusb/libusb.mk


Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2007-09-25 12:34:09 UTC (rev 20016)
+++ trunk/buildroot/package/libusb/libusb.mk	2007-09-25 12:54:48 UTC (rev 20017)
@@ -29,6 +29,9 @@
 ifneq ($(LIBUSB_PATCH_FILE),)
 	(cd $(LIBUSB_DIR) && $(LIBUSB_CAT) $(LIBUSB_PATCH) | patch -p1)
 endif
+	toolchain/patch-kernel.sh $(LIBUSB_DIR) package/libusb/ libusb-$(LIBUSB_VERSION)\*.patch*
+	$(SED) 's,^all:.*,all:,g' $(LIBUSB_DIR)/tests/Makefile.in
+	$(SED) 's,^install:.*,install:,g' $(LIBUSB_DIR)/tests/Makefile.in
 	touch $@
 
 $(LIBUSB_DIR)/.configured: $(LIBUSB_DIR)/.unpacked

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2007-09-20  9:35 aldot at uclibc.org
  0 siblings, 0 replies; 27+ messages in thread
From: aldot at uclibc.org @ 2007-09-20  9:35 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-20 02:35:33 -0700 (Thu, 20 Sep 2007)
New Revision: 19905

Log:
- fix source location of libusb libs


Modified:
   trunk/buildroot/package/libusb/libusb.mk


Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2007-09-20 09:25:57 UTC (rev 19904)
+++ trunk/buildroot/package/libusb/libusb.mk	2007-09-20 09:35:33 UTC (rev 19905)
@@ -51,9 +51,9 @@
 	$(MAKE) -C $(LIBUSB_DIR) DESTDIR=$(STAGING_DIR) install
 
 $(TARGET_DIR)/$(LIBUSB_BINARY): $(STAGING_DIR)/lib/libusb.so
-	mkdir -p $(TARGET_DIR)/usr/lib
-	cp -dpf $(STAGING_DIR)/lib/libusb* $(TARGET_DIR)/usr/lib
-	rm -f $(TARGET_DIR)/usr/lib/*.a $(TARGET_DIR)/usr/lib/*.la
+	$(INSTALL) -D $(LIBUSB_DIR)/.libs/libusb*.so* $(STAGING_DIR)/usr/lib/
+	$(INSTALL) -D $(LIBUSB_DIR)/.libs/libusb*.so* $(TARGET_DIR)/usr/lib/
+	$(STRIP) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libusb*.so*
 
 libusb: uclibc $(TARGET_DIR)/$(LIBUSB_BINARY)
 

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2007-08-31 12:04 aldot at uclibc.org
  0 siblings, 0 replies; 27+ messages in thread
From: aldot at uclibc.org @ 2007-08-31 12:04 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-08-31 05:04:00 -0700 (Fri, 31 Aug 2007)
New Revision: 19739

Log:
- need to touch the tarball


Modified:
   trunk/buildroot/package/libusb/libusb.mk


Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2007-08-30 22:40:22 UTC (rev 19738)
+++ trunk/buildroot/package/libusb/libusb.mk	2007-08-31 12:04:00 UTC (rev 19739)
@@ -19,6 +19,7 @@
 endif
 $(DL_DIR)/$(LIBUSB_SOURCE): $(LIBUSB_PATCH)
 	$(WGET) -P $(DL_DIR) $(LIBUSB_SITE)/$(LIBUSB_SOURCE)
+	touch -c $@
 
 libusb-source: $(DL_DIR)/$(LIBUSB_SOURCE) $(LIBUSB_PATCH)
 

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2007-08-21 18:30 aldot at uclibc.org
  0 siblings, 0 replies; 27+ messages in thread
From: aldot at uclibc.org @ 2007-08-21 18:30 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-08-21 11:30:54 -0700 (Tue, 21 Aug 2007)
New Revision: 19625

Log:
- pull in patches from debian.


Modified:
   trunk/buildroot/package/libusb/libusb.mk


Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2007-08-21 17:56:47 UTC (rev 19624)
+++ trunk/buildroot/package/libusb/libusb.mk	2007-08-21 18:30:54 UTC (rev 19625)
@@ -4,21 +4,31 @@
 #
 #############################################################
 LIBUSB_VERSION:=0.1.12
-LIBUSB_SOURCE:=libusb-$(LIBUSB_VERSION).tar.gz
-LIBUSB_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libusb/
+LIBUSB_PATCH_FILE:=libusb_$(LIBUSB_VERSION)-7.diff.gz
+LIBUSB_SOURCE:=libusb_$(LIBUSB_VERSION).orig.tar.gz
+#LIBUSB_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libusb/
+LIBUSB_SITE:=http://ftp.debian.org/debian/pool/main/libu/libusb
 LIBUSB_DIR:=$(BUILD_DIR)/libusb-$(LIBUSB_VERSION)
 LIBUSB_CAT:=$(ZCAT)
 LIBUSB_BINARY:=usr/lib/libusb.so
 
-$(DL_DIR)/$(LIBUSB_SOURCE):
+ifneq ($(LIBUSB_PATCH_FILE),)
+LIBUSB_PATCH=$(DL_DIR)/$(LIBUSB_PATCH_FILE)
+$(LIBUSB_PATCH):
+	$(WGET) -P $(DL_DIR) $(LIBUSB_SITE)/$(LIBUSB_PATCH_FILE)
+endif
+$(DL_DIR)/$(LIBUSB_SOURCE): $(LIBUSB_PATCH)
 	$(WGET) -P $(DL_DIR) $(LIBUSB_SITE)/$(LIBUSB_SOURCE)
 
-libusb-source: $(DL_DIR)/$(LIBUSB_SOURCE)
+libusb-source: $(DL_DIR)/$(LIBUSB_SOURCE) $(LIBUSB_PATCH)
 
 libusb-unpacked: $(LIBUSB_DIR)/.unpacked
 $(LIBUSB_DIR)/.unpacked: $(DL_DIR)/$(LIBUSB_SOURCE)
 	$(LIBUSB_CAT) $(DL_DIR)/$(LIBUSB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	touch $(LIBUSB_DIR)/.unpacked
+ifneq ($(LIBUSB_PATCH_FILE),)
+	(cd $(LIBUSB_DIR) && $(LIBUSB_CAT) $(LIBUSB_PATCH) | patch -p1)
+endif
+	touch $@
 
 $(LIBUSB_DIR)/.configured: $(LIBUSB_DIR)/.unpacked
 	(cd $(LIBUSB_DIR); rm -rf config.cache; \
@@ -33,15 +43,15 @@
 		--disable-debug \
 		--disable-build-docs \
 	);
-	touch $(LIBUSB_DIR)/.configured
+	touch $@
 
 $(STAGING_DIR)/lib/libusb.so: $(LIBUSB_DIR)/.configured
-	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(LIBUSB_DIR)
+	$(MAKE) -C $(LIBUSB_DIR)
 	$(MAKE) -C $(LIBUSB_DIR) DESTDIR=$(STAGING_DIR) install
 
 $(TARGET_DIR)/$(LIBUSB_BINARY): $(STAGING_DIR)/lib/libusb.so
 	mkdir -p $(TARGET_DIR)/usr/lib
-	cp -a $(STAGING_DIR)/lib/libusb* $(TARGET_DIR)/usr/lib
+	cp -dpf $(STAGING_DIR)/lib/libusb* $(TARGET_DIR)/usr/lib
 	rm -f $(TARGET_DIR)/usr/lib/*.a $(TARGET_DIR)/usr/lib/*.la
 
 libusb: uclibc $(TARGET_DIR)/$(LIBUSB_BINARY)
@@ -57,8 +67,6 @@
 libusb-dirclean:
 	rm -rf $(LIBUSB_DIR)
 
-.PHONY: libusb
-
 #############################################################
 #
 # Toplevel Makefile options

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2007-07-16  9:45 ulf at uclibc.org
  0 siblings, 0 replies; 27+ messages in thread
From: ulf at uclibc.org @ 2007-07-16  9:45 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-16 02:45:39 -0700 (Mon, 16 Jul 2007)
New Revision: 19108

Log:
Avoid repeated rebuild of libusb

Modified:
   trunk/buildroot/package/libusb/libusb.mk


Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2007-07-16 09:32:07 UTC (rev 19107)
+++ trunk/buildroot/package/libusb/libusb.mk	2007-07-16 09:45:39 UTC (rev 19108)
@@ -35,11 +35,11 @@
 	);
 	touch $(LIBUSB_DIR)/.configured
 
-$(STAGING_DIR)/$(LIBUSB_BINARY): $(LIBUSB_DIR)/.configured
+$(STAGING_DIR)/lib/libusb.so: $(LIBUSB_DIR)/.configured
 	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(LIBUSB_DIR)
 	$(MAKE) -C $(LIBUSB_DIR) DESTDIR=$(STAGING_DIR) install
 
-$(TARGET_DIR)/$(LIBUSB_BINARY): $(STAGING_DIR)/$(LIBUSB_BINARY)
+$(TARGET_DIR)/$(LIBUSB_BINARY): $(STAGING_DIR)/lib/libusb.so
 	-mkdir -p $(TARGET_DIR)/usr/lib
 	cp -a $(STAGING_DIR)/lib/libusb* $(TARGET_DIR)/usr/lib
 	rm -f $(TARGET_DIR)/usr/lib/*.a $(TARGET_DIR)/usr/lib/*.la
@@ -56,6 +56,9 @@
 
 libusb-dirclean:
 	rm -rf $(LIBUSB_DIR)
+
+.PHONY:	libusb
+
 #############################################################
 #
 # Toplevel Makefile options

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/libusb
@ 2007-05-07  4:00 sjhill at uclibc.org
  2007-05-07  9:41 ` Assen Stoyanov
  0 siblings, 1 reply; 27+ messages in thread
From: sjhill at uclibc.org @ 2007-05-07  4:00 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-05-06 21:00:11 -0700 (Sun, 06 May 2007)
New Revision: 18574

Log:
Major clean-up.


Modified:
   trunk/buildroot/package/libusb/libusb.mk


Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================
--- trunk/buildroot/package/libusb/libusb.mk	2007-05-07 03:59:35 UTC (rev 18573)
+++ trunk/buildroot/package/libusb/libusb.mk	2007-05-07 04:00:11 UTC (rev 18574)
@@ -8,8 +8,7 @@
 LIBUSB_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libusb/
 LIBUSB_DIR:=$(BUILD_DIR)/libusb-$(LIBUSB_VER)
 LIBUSB_CAT:=$(ZCAT)
-LIBUSB_BINARY:=libusb.la
-LIBUSB_TARGET_BINARY:=usr/lib/libusb.so
+LIBUSB_BINARY:=usr/lib/libusb.so
 
 ifeq ($(BR2_ENDIAN),"BIG")
 LIBUSB_BE:=yes
@@ -38,23 +37,29 @@
 		--target=$(GNU_TARGET_NAME) \
 		--host=$(GNU_TARGET_NAME) \
 		--build=$(GNU_HOST_NAME) \
-		--prefix=/usr \
+		--prefix=/ \
 		--disable-debug \
 		--disable-build-docs \
 	);
 	touch $(LIBUSB_DIR)/.configured
 
-$(LIBUSB_DIR)/$(LIBUSB_BINARY): $(LIBUSB_DIR)/.configured
+$(STAGING_DIR)/$(LIBUSB_BINARY): $(LIBUSB_DIR)/.configured
 	$(TARGET_CONFIGURE_OPTS) $(MAKE) CC=$(TARGET_CC) -C $(LIBUSB_DIR)
+	$(MAKE) -C $(LIBUSB_DIR) DESTDIR=$(STAGING_DIR) install
 
-$(TARGET_DIR)/$(LIBUSB_TARGET_BINARY): $(LIBUSB_DIR)/$(LIBUSB_BINARY)
-	$(MAKE) -C $(LIBUSB_DIR) DESTDIR=$(TARGET_DIR) install
-	rm -f $(TARGET_DIR)/usr/lib/libusb*.a $(TARGET_DIR)/usr/lib/libusb*.la
+$(TARGET_DIR)/$(LIBUSB_BINARY): $(STAGING_DIR)/$(LIBUSB_BINARY)
+	-mkdir -p $(TARGET_DIR)/usr/lib
+	cp -a $(STAGING_DIR)/lib/libusb* $(TARGET_DIR)/usr/lib
+	rm -f $(TARGET_DIR)/usr/lib/*.a $(TARGET_DIR)/usr/lib/*.la
 
-libusb: uclibc $(TARGET_DIR)/$(LIBUSB_TARGET_BINARY)
+libusb: uclibc $(TARGET_DIR)/$(LIBUSB_BINARY)
 
 libusb-clean:
-	rm -f $(TARGET_DIR)/$(LIBUSB_TARGET_BINARY)
+	rm -f $(STAGING_DIR)/bin/libusb-config
+	rm -f $(STAGING_DIR)/includes/usb*.h
+	rm -f $(STAGING_DIR)/lib/libusb*
+	rm -rf $(STAGING_DIR)/lib/pkgconfig
+	rm -f $(TARGET_DIR)/usr/lib/libusb*
 	-$(MAKE) -C $(LIBUSB_DIR) clean
 
 libusb-dirclean:

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2008-12-09  0:46 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-27 13:00 [Buildroot] svn commit: trunk/buildroot/package/libusb jacmet at uclibc.org
  -- strict thread matches above, loose matches on Subject: below --
2008-12-05 10:22 jacmet at uclibc.org
2008-12-05 10:42 ` Gaye Abdoulaye Walsimou
2008-12-08 21:08   ` Peter Korsgaard
2008-12-09  0:46     ` Hamish Moffatt
2008-06-13  8:47 jacmet at uclibc.org
2008-06-13  8:45 jacmet at uclibc.org
2008-06-13 10:02 ` Hamish Moffatt
2008-06-13 10:18   ` Peter Korsgaard
2008-06-13  5:53 hamish at uclibc.org
2008-06-13  6:25 ` Hamish Moffatt
2008-06-13  8:07   ` Matthew Dombroski
2008-06-13  9:58     ` Hamish Moffatt
2008-06-13 10:11       ` Matthew Dombroski
2008-05-28  6:54 hamish at uclibc.org
2008-05-28  2:12 hamish at uclibc.org
2008-02-18 14:30 sjhill at uclibc.org
2008-02-15 14:06 jacmet at uclibc.org
2007-11-09  9:30 vanokuten at uclibc.org
2007-11-09  9:26 vanokuten at uclibc.org
2007-09-25 12:54 ulf at uclibc.org
2007-09-20  9:35 aldot at uclibc.org
2007-08-31 12:04 aldot at uclibc.org
2007-08-21 18:30 aldot at uclibc.org
2007-07-16  9:45 ulf at uclibc.org
2007-05-07  4:00 sjhill at uclibc.org
2007-05-07  9:41 ` Assen Stoyanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox