Makefiles created, added initial iso directory
git-svn-id: svn://anubis/hos/trunk@3 5b3e749e-e535-0410-8002-a9bb6afbdfca
This commit is contained in:
parent
fba9e3ea54
commit
e124ac5b1b
18
Makefile
Normal file
18
Makefile
Normal 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
|
BIN
iso/boot/grub/stage2_eltorito
Normal file
BIN
iso/boot/grub/stage2_eltorito
Normal file
Binary file not shown.
3
kernel/Makefile
Normal file
3
kernel/Makefile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
all:
|
||||||
|
@echo Nothing yet
|
Loading…
x
Reference in New Issue
Block a user