1 #############################################################
5 #############################################################
7 DNSMASQ_SITE
=http
://thekelleys.org.uk
/dnsmasq
8 ifeq ($(filter $(TARGETS
),dnsmasq1
),)
9 DNSMASQ_SOURCE
=dnsmasq-2.15.
tar.gz
10 DNSMASQ_DIR
=$(BUILD_DIR
)/dnsmasq-2.15
13 DNSMASQ_SOURCE
=dnsmasq-1.18.
tar.gz
14 DNSMASQ_DIR
=$(BUILD_DIR
)/dnsmasq-1.18
17 DNSMASQ_BINARY
=dnsmasq
18 DNSMASQ_TARGET_BINARY
=usr
/sbin
/dnsmasq
20 $(DL_DIR
)/$(DNSMASQ_SOURCE
):
21 $(WGET
) -P
$(DL_DIR
) $(DNSMASQ_SITE
)/$(DNSMASQ_SOURCE
)
23 $(DNSMASQ_DIR
)/.source
: $(DL_DIR
)/$(DNSMASQ_SOURCE
)
24 zcat
$(DL_DIR
)/$(DNSMASQ_SOURCE
) |
tar -C
$(BUILD_DIR
) $(TAR_OPTIONS
) -
25 toolchain
/patch-kernel.sh
$(DNSMASQ_DIR
) package
/dnsmasq
/ \
26 $(DNSMASQ_VER
)-\
*.patch
27 touch
$(DNSMASQ_DIR
)/.source
29 $(DNSMASQ_DIR
)/src
/$(DNSMASQ_BINARY
): $(DNSMASQ_DIR
)/.source
30 $(MAKE
) CC
=$(TARGET_CC
) CFLAGS
="$(TARGET_CFLAGS)" \
31 BINDIR
=/usr
/sbin MANDIR
=/usr
/man
-C
$(DNSMASQ_DIR
)
33 $(TARGET_DIR
)/$(DNSMASQ_TARGET_BINARY
): $(DNSMASQ_DIR
)/src
/$(DNSMASQ_BINARY
)
34 $(MAKE
) BINDIR
=/usr
/sbin MANDIR
=/usr
/man \
35 DESTDIR
=$(TARGET_DIR
) -C
$(DNSMASQ_DIR
) install
36 $(STRIP
) $(TARGET_DIR
)/$(DNSMASQ_TARGET_BINARY
)
37 rm -rf
$(TARGET_DIR
)/usr
/man
39 dnsmasq
: uclibc
$(TARGET_DIR
)/$(DNSMASQ_TARGET_BINARY
)
41 dnsmasq1
: uclibc
$(TARGET_DIR
)/$(DNSMASQ_TARGET_BINARY
)
43 dnsmasq-source
: $(DL_DIR
)/$(DNSMASQ_SOURCE
)
46 #$(MAKE) prefix=$(TARGET_DIR)/usr -C $(DNSMASQ_DIR) uninstall
47 -$(MAKE
) -C
$(DNSMASQ_DIR
) clean
This page took 0.068948 seconds and 5 git commands to generate.