2010-07-07 09:59:54 +00:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2011-05-24 09:46:46 +00:00
|
|
|
@@ -30,9 +30,13 @@ all: $(TARGETS)
|
2010-07-07 09:59:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
tftpd: tftpd.o tftpsubs.o
|
|
|
|
-arping: arping.o -lsysfs
|
|
|
|
+arping: arping.o
|
|
|
|
+ $(CC) $(CFLAGS) -o $@ arping.o -lsysfs
|
|
|
|
ping: ping.o ping_common.o
|
|
|
|
-ping6: ping6.o ping_common.o -lresolv -lcrypto
|
2011-05-24 09:46:46 +00:00
|
|
|
+ping6: ping6.o ping_common.o
|
|
|
|
+ifneq ($(CONFIG_USE_UCLIBC),y)
|
|
|
|
+ $(CC) $(CFLAGS) -o $@ ping6.o ping_common.o -lresolv -lcrypto
|
|
|
|
+endif
|
2010-07-07 09:59:54 +00:00
|
|
|
ping.o ping6.o ping_common.o: ping_common.h
|
|
|
|
tftpd.o tftpsubs.o: tftp.h
|
|
|
|
|