aboutsummaryrefslogtreecommitdiff
path: root/package/tcpdump/dhcpdump.mk
diff options
context:
space:
mode:
authorGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-08-19 21:17:48 +0000
committerGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-08-19 21:17:48 +0000
commit8a7a669cd59a8f453de1cef63c5fc9d646119803 (patch)
treee16fae062093f84dedc6f158d7ddf45c5f942232 /package/tcpdump/dhcpdump.mk
parent2a1ee531daf1f92421d60cb74459f6dee3bf2a2e (diff)
downloadbuildroot-8a7a669cd59a8f453de1cef63c5fc9d646119803.tar.gz
buildroot-8a7a669cd59a8f453de1cef63c5fc9d646119803.tar.bz2
move tcpdump from lib to usr/lib, simplify configure, general cleanup
Diffstat (limited to 'package/tcpdump/dhcpdump.mk')
-rw-r--r--package/tcpdump/dhcpdump.mk22
1 files changed, 7 insertions, 15 deletions
diff --git a/package/tcpdump/dhcpdump.mk b/package/tcpdump/dhcpdump.mk
index e205f0eb19..07453c0cfd 100644
--- a/package/tcpdump/dhcpdump.mk
+++ b/package/tcpdump/dhcpdump.mk
@@ -19,7 +19,7 @@ dhcpdump-source: $(DL_DIR)/$(DHCPDUMP_SOURCE)
$(DHCPDUMP_DIR)/.unpacked: $(DL_DIR)/$(DHCPDUMP_SOURCE)
$(DHCPDUMP_CAT) $(DL_DIR)/$(DHCPDUMP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- touch $(DHCPDUMP_DIR)/.unpacked
+ touch $@
$(DHCPDUMP_DIR)/.configured: $(DHCPDUMP_DIR)/.unpacked
( \
@@ -32,31 +32,23 @@ $(DHCPDUMP_DIR)/.configured: $(DHCPDUMP_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=/include \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --with-build-cc="$(HOSTCC)" \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
)
- touch $(DHCPDUMP_DIR)/.configured
+ touch $@
$(DHCPDUMP_DIR)/dhcpdump: $(DHCPDUMP_DIR)/.configured
$(MAKE) CC="$(TARGET_CC)" -C $(DHCPDUMP_DIR)
-$(TARGET_DIR)/sbin/dhcpdump: $(DHCPDUMP_DIR)/dhcpdump
+$(TARGET_DIR)/usr/sbin/dhcpdump: $(DHCPDUMP_DIR)/dhcpdump
cp -af $< $@
-dhcpdump: uclibc zlib libpcap $(TARGET_DIR)/sbin/dhcpdump
+dhcpdump: uclibc zlib libpcap $(TARGET_DIR)/usr/sbin/dhcpdump
dhcpdump-clean:
- rm -f $(TARGET_DIR)/sbin/dhcpdump
+ rm -f $(TARGET_DIR)/usr/sbin/dhcpdump
-$(MAKE) -C $(DHCPDUMP_DIR) clean
dhcpdump-dirclean: