Makefiles created, added initial iso directory
git-svn-id: svn://anubis/hos/trunk@3 5b3e749e-e535-0410-8002-a9bb6afbdfca
This commit is contained in:
1 parent
fba9e3ea54
commit
e124ac5b1b
3 files changed
+21
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user