lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 989bad7 was 989bad7, checked in by Martin Decky <martin@…>, 20 years ago |
store README and COPYING directly in GRUB floppy image
|
-
Property mode
set to
100644
|
File size:
384 bytes
|
Line | |
---|
1 | .PHONY=build kernel uspace clean
|
---|
2 |
|
---|
3 | ROOT=distroot
|
---|
4 | BASE=$(shell cd ../../..; pwd)
|
---|
5 | KERNELDIR=$(BASE)/kernel
|
---|
6 | USPACEDIR=$(BASE)/uspace
|
---|
7 |
|
---|
8 | build: kernel uspace
|
---|
9 | gunzip -c grub/grub.img.gz > image.bin
|
---|
10 | e2cp $(KERNELDIR)/kernel.bin image.bin:/boot/kernel.bin
|
---|
11 | e2cp $(USPACEDIR)/init/init image.bin:/init
|
---|
12 |
|
---|
13 | kernel:
|
---|
14 | $(MAKE) -C $(KERNELDIR)
|
---|
15 |
|
---|
16 | uspace:
|
---|
17 | $(MAKE) -C $(USPACEDIR)
|
---|
18 |
|
---|
19 | clean:
|
---|
20 | -rm image.bin
|
---|
Note:
See
TracBrowser
for help on using the repository browser.