From: Bernhard Reutner-Fischer Date: Wed, 27 Jun 2007 09:40:25 +0000 (-0000) Subject: - use correct installation path X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=732beaf4d943c5ba6ef6b552d80a6a092009df4b;p=buildroot.git - use correct installation path --- diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk index 6165c962e0..46ed81cd1a 100644 --- a/package/libpcap/libpcap.mk +++ b/package/libpcap/libpcap.mk @@ -37,14 +37,13 @@ $(LIBPCAP_DIR)/.unpacked: $(DL_DIR)/$(LIBPCAP_SOURCE) 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 @@ $(LIBPCAP_DIR)/.configured: $(LIBPCAP_DIR)/.unpacked --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: