summaryrefslogtreecommitdiff
path: root/openwrt/package/dnsmasq/dnsmasq.mk
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2005-03-06 03:34:52 +0000
committerMike Baker <mbm@openwrt.org>2005-03-06 03:34:52 +0000
commit6b93231c4f64a61103dfc16acebedd18b4c25171 (patch)
treeaad933069e7dedf29eb70dbfd81e9ca95d9b578f /openwrt/package/dnsmasq/dnsmasq.mk
parent14e0fec336fca0766605968fe9dd7eef2448736f (diff)
downloadmtk-20170518-6b93231c4f64a61103dfc16acebedd18b4c25171.zip
mtk-20170518-6b93231c4f64a61103dfc16acebedd18b4c25171.tar.gz
mtk-20170518-6b93231c4f64a61103dfc16acebedd18b4c25171.tar.bz2
nbd's makefile/menuconfig rewrite
SVN-Revision: 307
Diffstat (limited to 'openwrt/package/dnsmasq/dnsmasq.mk')
-rw-r--r--openwrt/package/dnsmasq/dnsmasq.mk13
1 files changed, 6 insertions, 7 deletions
diff --git a/openwrt/package/dnsmasq/dnsmasq.mk b/openwrt/package/dnsmasq/dnsmasq.mk
index e6b50a2..a0289c3 100644
--- a/openwrt/package/dnsmasq/dnsmasq.mk
+++ b/openwrt/package/dnsmasq/dnsmasq.mk
@@ -20,13 +20,12 @@ DNSMASQ_TARGET_BINARY=usr/sbin/dnsmasq
$(DL_DIR)/$(DNSMASQ_SOURCE):
$(WGET) -P $(DL_DIR) $(DNSMASQ_SITE)/$(DNSMASQ_SOURCE)
-$(DNSMASQ_DIR)/.source: $(DL_DIR)/$(DNSMASQ_SOURCE)
+$(DNSMASQ_DIR)/.unpacked: $(DL_DIR)/$(DNSMASQ_SOURCE)
zcat $(DL_DIR)/$(DNSMASQ_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- toolchain/patch-kernel.sh $(DNSMASQ_DIR) package/dnsmasq/ \
- $(DNSMASQ_VER)-\*.patch
- touch $(DNSMASQ_DIR)/.source
+ $(PATCH) $(DNSMASQ_DIR) ./ $(DNSMASQ_VER)-\*.patch
+ touch $(DNSMASQ_DIR)/.unpacked
-$(DNSMASQ_DIR)/src/$(DNSMASQ_BINARY): $(DNSMASQ_DIR)/.source
+$(DNSMASQ_DIR)/src/$(DNSMASQ_BINARY): $(DNSMASQ_DIR)/.unpacked
$(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" \
BINDIR=/usr/sbin MANDIR=/usr/man -C $(DNSMASQ_DIR)
@@ -36,9 +35,9 @@ $(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY): $(DNSMASQ_DIR)/src/$(DNSMASQ_BINARY)
$(STRIP) $(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY)
rm -rf $(TARGET_DIR)/usr/man
-dnsmasq: uclibc $(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY)
+dnsmasq: $(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY)
-dnsmasq1: uclibc $(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY)
+dnsmasq1: $(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY)
dnsmasq-source: $(DL_DIR)/$(DNSMASQ_SOURCE)