2 -include ../hardware/ich2/config.mk
5 CFLAGS+=-I../include -I../net -I../include/raw \
6 -I../lwip/src/include -I../lwip/src/include/ipv4 \
7 -nostdlib -nostdinc -fno-builtin -D__RAW__ \
8 -Wall -Werror -std=gnu99 -Wstrict-aliasing=2 \
9 -O1 -fno-merge-constants -fno-strict-aliasing
11 STUBOBJS=entry.o pagingstub-asm.o pagingstub.o
14 ../lwip/src/core/dhcp.o \
15 ../lwip/src/core/dns.o \
16 ../lwip/src/core/init.o \
17 ../lwip/src/core/ipv4/autoip.o \
18 ../lwip/src/core/ipv4/icmp.o \
19 ../lwip/src/core/ipv4/igmp.o \
20 ../lwip/src/core/ipv4/inet.o \
21 ../lwip/src/core/ipv4/inet_chksum.o \
22 ../lwip/src/core/ipv4/ip.o \
23 ../lwip/src/core/ipv4/ip_addr.o \
24 ../lwip/src/core/ipv4/ip_frag.o \
25 ../lwip/src/core/mem.o \
26 ../lwip/src/core/memp.o \
27 ../lwip/src/core/netif.o \
28 ../lwip/src/core/pbuf.o \
29 ../lwip/src/core/raw.o \
30 ../lwip/src/core/stats.o \
31 ../lwip/src/core/sys.o \
32 ../lwip/src/core/tcp.o \
33 ../lwip/src/core/tcp_in.o \
34 ../lwip/src/core/tcp_out.o \
35 ../lwip/src/core/udp.o \
36 ../lwip/src/netif/etharp.o \
37 ../lwip/src/netif/ethernetif.o
47 ../hardware/net/3c90x.o \
49 ../hardware/video/tnt2.o \
50 ../hardware/video/fb.o \
51 ../hardware/video/generic.o \
52 ../hardware/video/text.o \
75 aseg.elf: netwatch-large.lds $(STUBOBJS) $(OBJS)
76 $(CROSS)ld -o aseg.elf -T netwatch-large.lds $(STUBOBJS) $(OBJS)
79 rm -f $(OBJS) aseg.elf entry.bin entry.o
83 $(CROSS)objcopy -I binary -B i386 -O elf32-i386 $@.bin $@