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 2007-07-25 01:08:19 +00:00
parent fba9e3ea54
commit e124ac5b1b
3 changed files with 21 additions and 0 deletions

18
Makefile Normal file
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

Binary file not shown.

3
kernel/Makefile Normal file
View File

@ -0,0 +1,3 @@
all:
@echo Nothing yet