From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/libpcap
Date: Wed, 27 Jun 2007 02:40:26 -0700 (PDT) [thread overview]
Message-ID: <20070627094026.30D14A4649@busybox.net> (raw)
Author: aldot
Date: 2007-06-27 02:40:25 -0700 (Wed, 27 Jun 2007)
New Revision: 18950
Log:
- use correct installation path
Modified:
trunk/buildroot/package/libpcap/libpcap.mk
Changeset:
Modified: trunk/buildroot/package/libpcap/libpcap.mk
===================================================================
--- trunk/buildroot/package/libpcap/libpcap.mk 2007-06-27 09:18:58 UTC (rev 18949)
+++ trunk/buildroot/package/libpcap/libpcap.mk 2007-06-27 09:40:25 UTC (rev 18950)
@@ -37,14 +37,13 @@
toolchain/patch-kernel.sh $(LIBPCAP_DIR) package/libpcap/ \*.patch
touch $@
+# XXX: FIXME: put the argus ac_cv_lbl_unaligned_fail setting to som commonly
+# seen place and introduce TARGET_CONFIGURE_HINTS or the like!
$(LIBPCAP_DIR)/.configured: $(LIBPCAP_DIR)/.unpacked
- ( \
- cd $(LIBPCAP_DIR) ; \
+ (cd $(LIBPCAP_DIR) ; rm -rf config.cache ; \
ac_cv_linux_vers=$(BR2_DEFAULT_KERNEL_HEADERS) \
BUILD_CC=$(TARGET_CC) HOSTCC="$(HOSTCC)" \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
@@ -53,33 +52,33 @@
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
- --libdir=/lib \
+ --libdir=/usr/lib \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--datadir=/usr/share \
--localstatedir=/var \
- --includedir=/include \
+ --includedir=/usr/include \
--mandir=/usr/man \
--infodir=/usr/info \
--with-build-cc="$(HOSTCC)" \
--disable-yydebug \
--prefix=/usr \
--with-pcap=linux \
+ $(DISABLE_IPV6) \
)
touch $@
$(LIBPCAP_DIR)/libpcap.a: $(LIBPCAP_DIR)/.configured
- $(MAKE) CC="$(TARGET_CC)" \
- AR="$(TARGET_CROSS)ar" \
- -C $(LIBPCAP_DIR)
+ $(MAKE) AR=$(TARGET_CROSS)ar -C $(LIBPCAP_DIR)
-$(STAGING_DIR)/lib/libpcap.a: $(LIBPCAP_DIR)/libpcap.a
+$(STAGING_DIR)/usr/lib/libpcap.a: $(LIBPCAP_DIR)/libpcap.a
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBPCAP_DIR) install
-libpcap: uclibc zlib $(STAGING_DIR)/lib/libpcap.a
+libpcap: uclibc zlib $(STAGING_DIR)/usr/lib/libpcap.a
libpcap-clean:
- rm -f $(STAGING_DIR)/include/pcap*.h $(STAGING_DIR)/lib/libpcap.a
+ rm -f $(STAGING_DIR)/usr/include/pcap*.h \
+ $(STAGING_DIR)/usr/lib/libpcap.a
-$(MAKE) -C $(LIBPCAP_DIR) clean
libpcap-dirclean:
next reply other threads:[~2007-06-27 9:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-27 9:40 aldot at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-08-19 21:11 [Buildroot] svn commit: trunk/buildroot/package/libpcap ulf at uclibc.org
2007-10-13 23:08 ulf at uclibc.org
2008-10-07 7:24 egtvedt at uclibc.org
2008-11-10 23:50 hamish at uclibc.org
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=20070627094026.30D14A4649@busybox.net \
--to=aldot@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