source:
mainline/arch/ia32/Makefile@
224dad8
Last change on this file since 224dad8 was 224dad8, checked in by , 20 years ago | |
---|---|
|
|
File size: 431 bytes |
Rev | Line | |
---|---|---|
[224dad8] | 1 | .PHONY=build kernel uspace clean |
[7e00430] | 2 | |
3 | ROOT=distroot | |
4 | BASE=$(shell cd ../../..; pwd) | |
5 | KERNELDIR=$(BASE)/kernel | |
[856b5e70] | 6 | USPACEDIR=$(BASE)/uspace |
[7e00430] | 7 | |
[224dad8] | 8 | build: kernel uspace |
[7e00430] | 9 | gunzip -c grub/grub.img.gz > image.bin |
[856b5e70] | 10 | e2cp $(KERNELDIR)/kernel.bin image.bin:/boot/kernel.bin |
11 | e2cp $(USPACEDIR)/init/init image.bin:/init | |
[7e00430] | 12 | e2cp grub/README grub/COPYING image.bin:/boot |
13 | ||
[224dad8] | 14 | kernel: |
[7e00430] | 15 | $(MAKE) -C $(KERNELDIR) |
16 | ||
[224dad8] | 17 | uspace: |
[856b5e70] | 18 | $(MAKE) -C $(USPACEDIR) |
19 | ||
[7e00430] | 20 | clean: |
21 | -rm image.bin |
Note:
See TracBrowser
for help on using the repository browser.