From: sjhill at uclibc.org <sjhill@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/libusb
Date: Sun, 6 May 2007 21:00:12 -0700 (PDT) [thread overview]
Message-ID: <20070507040012.216F04855E@busybox.net> (raw)
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:
next reply other threads:[~2007-05-07 4:00 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-07 4:00 sjhill at uclibc.org [this message]
2007-05-07 9:41 ` [Buildroot] svn commit: trunk/buildroot/package/libusb Assen Stoyanov
-- strict thread matches above, loose matches on Subject: below --
2007-07-16 9:45 ulf at uclibc.org
2007-08-21 18:30 aldot at uclibc.org
2007-08-31 12:04 aldot at uclibc.org
2007-09-20 9:35 aldot at uclibc.org
2007-09-25 12:54 ulf at uclibc.org
2007-11-09 9:26 vanokuten at uclibc.org
2007-11-09 9:30 vanokuten at uclibc.org
2008-02-15 14:06 jacmet at uclibc.org
2008-02-18 14:30 sjhill at uclibc.org
2008-03-27 13:00 jacmet at uclibc.org
2008-05-28 2:12 hamish at uclibc.org
2008-05-28 6:54 hamish at uclibc.org
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-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 8:47 jacmet at uclibc.org
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070507040012.216F04855E@busybox.net \
--to=sjhill@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox