Makefiles created, added initial iso directory

git-svn-id: svn://anubis/hos/trunk@3 5b3e749e-e535-0410-8002-a9bb6afbdfca
This commit is contained in:
josh committed 2007-07-25 01:08:19 +00:00
1 parent fba9e3ea54
commit e124ac5b1b
3 files changed
+21

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
HOS = hos
MKISOFS = genisoimage
ISO = $(HOS).iso
.PHONY: kernel iso
# default target: build the kernel and ISO image
all: kernel iso
# build the kernel
kernel:
make -C kernel
# build the ISO image
iso: kernel
$(MKISOFS) -R -b boot/grub/stage2_eltorito -no-emul-boot \
-boot-load-size 4 -boot-info-table -o $(ISO) iso