summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-04-04 02:40:36 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-04-04 02:40:36 +0000
commitc83d41f0864b92081ba4006381c007d9f313e3aa (patch)
treeb0b687ee1591fd55527a7354a7363049088da05d
parent1169162ab76e63dad6f186bd0c65596f3d8765e4 (diff)
dnsmasq.mk handles both 1.18 and 2.x, where 2.x is selected unless TARGETS
contains dnsmasq1.
-rw-r--r--make/dnsmasq1.mk41
1 files changed, 0 insertions, 41 deletions
diff --git a/make/dnsmasq1.mk b/make/dnsmasq1.mk
deleted file mode 100644
index b6160b1a6..000000000
--- a/make/dnsmasq1.mk
+++ /dev/null
@@ -1,41 +0,0 @@
-#############################################################
-#
-# dnsmasq1
-#
-#############################################################
-
-DNSMASQ1_SOURCE=dnsmasq-1.18.tar.gz
-DNSMASQ1_SITE=http://thekelleys.org.uk/dnsmasq
-DNSMASQ1_DIR=$(BUILD_DIR)/dnsmasq-1.18
-DNSMASQ1_BINARY=dnsmasq
-DNSMASQ1_TARGET_BINARY=usr/sbin/dnsmasq
-
-$(DL_DIR)/$(DNSMASQ1_SOURCE):
- $(WGET) -P $(DL_DIR) $(DNSMASQ1_SITE)/$(DNSMASQ1_SOURCE)
-
-$(DNSMASQ1_DIR)/.source: $(DL_DIR)/$(DNSMASQ1_SOURCE)
- zcat $(DL_DIR)/$(DNSMASQ1_SOURCE) | tar -C $(BUILD_DIR) -xvf -
- $(SOURCE_DIR)/patch-kernel.sh $(DNSMASQ1_DIR) $(SOURCE_DIR) dnsmasq1-*.patch
- touch $(DNSMASQ1_DIR)/.source
-
-$(DNSMASQ1_DIR)/$(DNSMASQ1_BINARY): $(DNSMASQ1_DIR)/.source
- $(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" \
- BINDIR=/usr/sbin MANDIR=/usr/man -C $(DNSMASQ1_DIR)
-
-$(TARGET_DIR)/$(DNSMASQ1_TARGET_BINARY): $(DNSMASQ1_DIR)/$(DNSMASQ1_BINARY)
- $(MAKE) BINDIR=/usr/sbin MANDIR=/usr/man \
- DESTDIR=$(TARGET_DIR) -C $(DNSMASQ1_DIR) install
- $(STRIP) $(TARGET_DIR)/$(DNSMASQ1_TARGET_BINARY)
- rm -Rf $(TARGET_DIR)/usr/man
-
-dnsmasq1: uclibc $(TARGET_DIR)/$(DNSMASQ1_TARGET_BINARY)
-
-dnsmasq1-source: $(DL_DIR)/$(DNSMASQ1_SOURCE)
-
-dnsmasq1-clean:
- #$(MAKE) prefix=$(TARGET_DIR)/usr -C $(DNSMASQ1_DIR) uninstall
- -$(MAKE) -C $(DNSMASQ1_DIR) clean
-
-dnsmasq1-dirclean:
- rm -rf $(DNSMASQ1_DIR)
-