Rev 645 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
641 | jermar | 1 | .PHONY=build clean |
2 | |||
3 | ROOT=distroot |
||
4 | BASE=$(shell cd ../../..; pwd) |
||
5 | KERNELDIR=$(BASE)/kernel |
||
6 | |||
7 | build: $(KERNELDIR)/kernel.bin |
||
8 | mkdir -p $(ROOT)/boot |
||
9 | mkdir -p $(ROOT)/kernel |
||
10 | cat silo/silo.tar.gz | (cd $(ROOT)/boot; tar xvfz -) |
||
11 | cp silo/README silo/COPYING silo/silo.conf $(ROOT)/boot |
||
12 | ln -s $(KERNELDIR)/kernel.bin $(ROOT)/kernel |
||
13 | mkisofs -f -G distroot/boot/isofs.b -B ... -r -o image.iso $(ROOT)/ |
||
14 | |||
15 | $(KERNELDIR)/kernel.bin: |
||
16 | $(MAKE) -C $(KERNELDIR) |
||
17 | |||
18 | clean: |
||
19 | -rm -r $(ROOT)/ |
||
20 | -rm image.iso |