|
@@ -53,7 +53,7 @@ BUILD_LIBS="lib9p libString libauth libauthsrv libavl libbin libbio libcomplete
|
|
|
BUILD_KLIBS="libc libip"
|
|
|
|
|
|
### CMD ###
|
|
|
-BUILD_CMD="rc bind mount cat cp echo ls ipconfig ps mkdir pwd chmod rio date dd vga"
|
|
|
+BUILD_CMD="rc bind mount cat cp echo ls ipconfig ps mkdir pwd chmod rio date dd vga ping telnet dhcpclient"
|
|
|
|
|
|
|
|
|
|
|
@@ -148,6 +148,35 @@ cmd_vga()
|
|
|
LIBS_TO_LINK="ndb bio libc"
|
|
|
LDFLAGS_EXTRA="-static -e_main"
|
|
|
}
|
|
|
+
|
|
|
+cmd_dhcpclient()
|
|
|
+{
|
|
|
+ BUILD_DIR=${CMD_DIR}/ip
|
|
|
+ BUILD_IN="dhcpclient.c"
|
|
|
+ BUILD_OUT="dhcpclient.elf.out"
|
|
|
+ CLEAN_COM="rm -f *.o"
|
|
|
+ LIBS_TO_LINK="bio ip libc"
|
|
|
+ LDFLAGS_EXTRA="-static -e_main"
|
|
|
+}
|
|
|
+
|
|
|
+cmd_telnet()
|
|
|
+{
|
|
|
+ BUILD_DIR=${CMD_DIR}/ip
|
|
|
+ BUILD_IN="telnet.c"
|
|
|
+ BUILD_OUT="telnet.elf.out"
|
|
|
+ CLEAN_COM="rm -f *.o"
|
|
|
+ LIBS_TO_LINK="bio ip libc"
|
|
|
+ LDFLAGS_EXTRA="-static -e_main"
|
|
|
+}
|
|
|
+cmd_ping()
|
|
|
+{
|
|
|
+ BUILD_DIR=${CMD_DIR}/ip
|
|
|
+ BUILD_IN="ping.c"
|
|
|
+ BUILD_OUT="ping.elf.out"
|
|
|
+ CLEAN_COM="rm -f *.o"
|
|
|
+ LIBS_TO_LINK="ndb bio ip libc"
|
|
|
+ LDFLAGS_EXTRA="-static -e_main"
|
|
|
+}
|
|
|
cmd_ipconfig()
|
|
|
{
|
|
|
BUILD_DIR=${CMD_DIR}/ip/ipconfig
|