9a0c03bca4
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22011 3c298f89-4303-0410-b956-a3cf2f4a3e73
24 lines
653 B
Diff
24 lines
653 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -18,7 +18,10 @@ CFLAGS=$(CCOPT) $(GLIBCFIX) $(DEFINES)
|
|
|
|
IPV4_TARGETS=tracepath ping clockdiff arping tftpd
|
|
IPV6_TARGETS=tracepath6 traceroute6 ping6
|
|
-TARGETS=$(IPV4_TARGETS) $(IPV6_TARGETS)
|
|
+TARGETS=$(IPV4_TARGETS)
|
|
+ifeq ($(CONFIG_IPV6),y)
|
|
+ TARGETS=$(IPV4_TARGETS) $(IPV6_TARGETS)
|
|
+endif
|
|
|
|
LASTTAG:=`git-describe HEAD | sed -e 's/-.*//'`
|
|
TAG:=`date +s%Y%m%d`
|
|
@@ -29,7 +32,7 @@ all: $(TARGETS)
|
|
tftpd: tftpd.o tftpsubs.o
|
|
ping: ping.o ping_common.o
|
|
ping6: ping6.o ping_common.o
|
|
-ping.o ping6.o ping_common.o: ping_common.h
|
|
+ping.o ping_common.o: ping_common.h
|
|
tftpd.o tftpsubs.o: tftp.h
|
|
|
|
rdisc_srv: rdisc_srv.o
|