You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
466 B
18 lines
466 B
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -30,9 +30,13 @@ all: $(TARGETS)
|
|
|
|
|
|
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
|
|
+ping6: ping6.o ping_common.o
|
|
+ifneq ($(CONFIG_USE_UCLIBC),y)
|
|
+ $(CC) $(CFLAGS) -o $@ ping6.o ping_common.o -lresolv -lcrypto
|
|
+endif
|
|
ping.o ping6.o ping_common.o: ping_common.h
|
|
tftpd.o tftpsubs.o: tftp.h
|
|
|
|
|