lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 856b5e70 was 856b5e70, checked in by Jakub Jermar <jakub@…>, 20 years ago |
Fix paths in ia32 Makefile.
Add userspace binary to ia32 boot image.
|
-
Property mode
set to
100644
|
File size:
483 bytes
|
Line | |
---|
1 | .PHONY=build clean
|
---|
2 |
|
---|
3 | ROOT=distroot
|
---|
4 | BASE=$(shell cd ../../..; pwd)
|
---|
5 | KERNELDIR=$(BASE)/kernel
|
---|
6 | USPACEDIR=$(BASE)/uspace
|
---|
7 |
|
---|
8 | build: $(KERNELDIR)/kernel.bin $(USPACEDIR)/init/init
|
---|
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 | e2cp grub/README grub/COPYING image.bin:/boot
|
---|
13 |
|
---|
14 | $(KERNELDIR)/kernel.bin:
|
---|
15 | $(MAKE) -C $(KERNELDIR)
|
---|
16 |
|
---|
17 | $(USPACEDIR)/init/init:
|
---|
18 | $(MAKE) -C $(USPACEDIR)
|
---|
19 |
|
---|
20 | clean:
|
---|
21 | -rm image.bin
|
---|
Note:
See
TracBrowser
for help on using the repository browser.