X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fbuild%2FMakefile;h=734062b3d36334129cd23ba5c8a95f1dbc55387f;hb=20ddb33d7c999c03239f76e76e202c50b4740f8c;hp=9f0f862b5400b971fdc5eddad706536443b8cddf;hpb=eb7dda8d4a92a2e8d0c8f867c65317d756ca6c11;p=palacios.git diff --git a/palacios/build/Makefile b/palacios/build/Makefile index 9f0f862..734062b 100644 --- a/palacios/build/Makefile +++ b/palacios/build/Makefile @@ -1,6 +1,15 @@ # Makefile for GeekOS kernel, userspace, and tools +# +# Northwestern University +# (c) 2008, Jack Lange +# (c) 2008, Peter Dinda +# (c) 2008, Lei Xia +# (c) 2008, The V3VEE Project +# +# Based on GeekOS Makefile: # Copyright (c) 2004,2005 David H. Hovemeyer -# $Revision: 1.70 $ +# $Revision: 1.71 $ + # This is free software. You are permitted to use, # redistribute, and modify it as specified in the file "COPYING". @@ -230,9 +239,9 @@ KERNEL_C_SRCS := idt.c int.c trap.c irq.c io.c \ serial.c reboot.c \ paging.c \ debug.c vmm_stubs.c vm.c pci.c\ - queue.c ring_buffer.c \ + queue.c socket.c net.c ring_buffer.c \ main.c - #socket.c + # Kernel object files built from C source files KERNEL_C_OBJS := $(KERNEL_C_SRCS:%.c=geekos/%.o) @@ -430,7 +439,7 @@ devices/%.o : devices/%.asm $(NASM) $(NASM_VMM_OPTS) $< -o devices/$*.o net/%.o : net/%.c - $(TARGET_CC) -c $(CC_GENERAL_OPTS) $(CC_VMM_OPTS) $(CC_USER_OPTS) $< -o net/$*.o + $(TARGET_CC) -c $(CC_GENERAL_OPTS) $(CC_USER_OPTS) $< -o net/$*.o # ---------------------------------------------------------------------- # Targets - @@ -462,10 +471,16 @@ vmm.img : fd.img cp fd.img vmm.img $(PAD) vmm.img 1474560 -force_rombios: +rombios_link: + ln -s -f ../src/vmboot/rombios/BIOS-bochs-latest rombios + +vgabios_link: + ln -s -f ../src/vmboot/vgabios/VGABIOS-lgpl-latest.bin vgabios + +force_rombios: rombios_link (cd ../src/vmboot/rombios; make clean; make) -force_vgabios: +force_vgabios: vgabios_link (cd ../src/vmboot/vgabios; make clean; make) force_payload: force_rombios force_vgabios