diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-08-19 21:17:48 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-08-19 21:17:48 +0000 |
commit | 8a7a669cd59a8f453de1cef63c5fc9d646119803 (patch) | |
tree | e16fae062093f84dedc6f158d7ddf45c5f942232 /package/tcpdump/tcpdump.mk | |
parent | 2a1ee531daf1f92421d60cb74459f6dee3bf2a2e (diff) |
move tcpdump from lib to usr/lib, simplify configure, general cleanup
Diffstat (limited to 'package/tcpdump/tcpdump.mk')
-rw-r--r-- | package/tcpdump/tcpdump.mk | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/package/tcpdump/tcpdump.mk b/package/tcpdump/tcpdump.mk index 969ae6aab..f9c4adc64 100644 --- a/package/tcpdump/tcpdump.mk +++ b/package/tcpdump/tcpdump.mk @@ -34,18 +34,8 @@ $(TCPDUMP_DIR)/.configured: $(TCPDUMP_DIR)/.unpacked --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ --prefix=/usr \ - --exec-prefix=/usr \ - --bindir=/usr/bin \ - --sbindir=/usr/sbin \ - --libdir=/lib \ - --libexecdir=/usr/lib \ - --sysconfdir=/etc \ - --datadir=/usr/share \ - --localstatedir=/var \ - --includedir=/usr/include \ - --mandir=/usr/man \ - --infodir=/usr/info \ - --with-build-cc="$(HOSTCC)" \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ --without-crypto \ --disable-smb \ ) @@ -54,19 +44,19 @@ $(TCPDUMP_DIR)/.configured: $(TCPDUMP_DIR)/.unpacked $(TCPDUMP_DIR)/tcpdump: $(TCPDUMP_DIR)/.configured $(MAKE) CC="$(TARGET_CC)" \ - LDFLAGS="-L$(STAGING_DIR)/lib" \ + LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ LIBS="-lpcap" \ INCLS="-I. -I$(STAGING_DIR)/usr/include" \ -C $(TCPDUMP_DIR) -$(TARGET_DIR)/sbin/tcpdump: $(TCPDUMP_DIR)/tcpdump +$(TARGET_DIR)/usr/sbin/tcpdump: $(TCPDUMP_DIR)/tcpdump cp -f $< $@ - $(STRIP) -s $@ + $(STRIP) $@ -tcpdump: uclibc zlib libpcap $(TARGET_DIR)/sbin/tcpdump +tcpdump: uclibc zlib libpcap $(TARGET_DIR)/usr/sbin/tcpdump tcpdump-clean: - rm -f $(TARGET_DIR)/sbin/tcpdump + rm -f $(TARGET_DIR)/usr/sbin/tcpdump -$(MAKE) -C $(TCPDUMP_DIR) clean tcpdump-dirclean: |