Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Assen Stoyanov <softa@ttechgroup.com>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/libusb
Date: Mon, 7 May 2007 12:41:49 +0300	[thread overview]
Message-ID: <006501c7908b$efb41980$6614a8c0@lap> (raw)
In-Reply-To: 20070507040012.216F04855E@busybox.net

Hi All,

I Think that "libusb-clean" target of this package is bad in this line:

> + rm -rf $(STAGING_DIR)/lib/pkgconfig

I have a lot of packages (X11R7 related), that uses this directory to put 
their ".pc" files! Please use concrette file (for example libusb.pc) when 
'clean'.
Also I think that the libusbpp lib is created with the HOST CPP compiler if 
there is no selected TARGET CPP compiler in the toolchain.

Best Regards,
Assen Stoyanov

----- Original Message ----- 
From: <sjhill@uclibc.org>
To: <buildroot@uclibc.org>
Sent: Monday, May 07, 2007 7:00
Subject: [Buildroot] svn commit: trunk/buildroot/package/libusb


> 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:
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.467 / Virus Database: 269.6.5/792 - Release Date: 5/6/2007 
> 9:01 PM
>
> 



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.6.5/792 - Release Date: 5/6/2007 9:01 PM

  reply	other threads:[~2007-05-07  9:41 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-07  4:00 [Buildroot] svn commit: trunk/buildroot/package/libusb sjhill at uclibc.org
2007-05-07  9:41 ` Assen Stoyanov [this message]
  -- 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='006501c7908b$efb41980$6614a8c0@lap' \
    --to=softa@ttechgroup.com \
    --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