-#
-#TCPSTACK, uIP is used currently
-#
-TCPSTACK=UIP
#
#TCPSTACK, uIP is used currently
all : $(ALL_TARGETS)
+force_lwip:
+ (cd ../src/lwip/build; make clean; make)
+
+
#geekos/vmx_lowlevel.o: $(PROJECT_ROOT)/src/geekos/vmx_lowlevel.asm
# $(NASM) -O99 \
# -f elf \
$(PAD) $@ 512
# The kernel executable and symbol map.
-geekos/kernel.exe : $(KERNEL_OBJS) $(COMMON_C_OBJS) $(TCPSTACK_OBJS)
+geekos/kernel.exe : $(KERNEL_OBJS) $(COMMON_C_OBJS) force_lwip $(TCPSTACK_OBJS)
$(TARGET_LD) -o geekos/kernel.exe -Ttext $(KERNEL_BASE_ADDR) -e $(KERNEL_ENTRY) \
$(V3_LD_FLAGS) \
$(KERNEL_OBJS) $(COMMON_C_OBJS) $(TCPSTACK_OBJS) $(V3_LIBS) -b binary ./palacios/vm_kernel