forked from hugopeixoto/unixlite-kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.dbg
44 lines (33 loc) · 942 Bytes
/
Makefile.dbg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
DATE=$(shell date +%Y-%m-%d_%H-%M-%S)
back:
@sed -e 's/\(last change time:\).*/\1'$(DATE)'/' ChangeLog > $(DATE)
@mv $(DATE) ChangeLog
@(cd ..; tar zcvf back/kernel_$(DATE).tgz kernel-0.2)
qemu:
dd if=Image of=../image/fd0 conv=notrunc
qemu -fda ../image/fd0 -hda ../image/hd0 -m 16 -boot a &
#sleep 1 && /usr/sbin/tcpdump -i tun0 -v &
bochs: Image
dd if=Image of=../image/fd0 conv=notrunc
(cd ../bochs; ./run)
TESTSUITE:=$(TOPDIR)/../testsuite
LADDR:=172.20.0.1
FADDR:=172.20.0.2
LPORT:=3456
FPORT:=3456
ping:
ping $(FADDR)
ucli:
$(TESTSUITE)/udpecho/client $(FADDR) $(FPORT) helloudp
usrv:
$(TESTSUITE)/udpecho/server $(LADDR) $(LPORT)
tcli:
$(TESTSUITE)/tcpecho/client $(FADDR) $(FPORT) hellotcp
tsrv:
$(TESTSUITE)/tcpecho/server $(LADDR) $(LPORT)
tsnd:
$(TESTSUITE)/tcpsend/tcpsend $(FADDR) $(FPORT) package
trcv:
$(TESTSUITE)/tcpsend/tcprecv $(LADDR) $(LPORT) log
wget:
wget http://$(FADDR)/minix.html