Subversion Repositories HelenOS

Rev

Rev 643 | Rev 648 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

.PHONY=build kernel uspace clean

ROOT=distroot
BASE=$(shell cd ../../..; pwd)
KERNELDIR=$(BASE)/kernel
USPACEDIR=$(BASE)/uspace

build: kernel uspace
    gunzip -c grub/grub.img.gz > image.bin
    e2cp $(KERNELDIR)/kernel.bin image.bin:/boot/kernel.bin
    e2cp $(USPACEDIR)/init/init image.bin:/init
    e2cp grub/README grub/COPYING image.bin:/boot

kernel:
    $(MAKE) -C $(KERNELDIR)

uspace:
    $(MAKE) -C $(USPACEDIR)

clean:
    -rm image.bin