source: mainline/arch/ia32/Makefile@ 224dad8

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 224dad8 was 224dad8, checked in by Jakub Jermar <jakub@…>, 20 years ago

Let the kernel Makefile decide wether rebuild is required.

  • Property mode set to 100644
File size: 431 bytes
RevLine 
[224dad8]1.PHONY=build kernel uspace clean
[7e00430]2
3ROOT=distroot
4BASE=$(shell cd ../../..; pwd)
5KERNELDIR=$(BASE)/kernel
[856b5e70]6USPACEDIR=$(BASE)/uspace
[7e00430]7
[224dad8]8build: 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]14kernel:
[7e00430]15 $(MAKE) -C $(KERNELDIR)
16
[224dad8]17uspace:
[856b5e70]18 $(MAKE) -C $(USPACEDIR)
19
[7e00430]20clean:
21 -rm image.bin
Note: See TracBrowser for help on using the repository browser.