Subversion Repositories HelenOS

Rev

Rev 643 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
642 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
	gunzip -c grub/grub.img.gz > image.bin
9
	e2cp $(KERNELDIR)/kernel.bin image.bin:/kernel/kernel.bin
10
	e2cp grub/README grub/COPYING image.bin:/boot
11
 
12
$(KERNELDIR)/kernel.bin:
13
	$(MAKE) -C $(KERNELDIR)
14
 
15
clean:
16
	-rm image.bin