OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [mkpart/] [mkmboot/] [Makefile] - Blame information for rev 120

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 18 hellwig
#
2
# Makefile to build the master boot block (with an empty partition table)
3
#
4
 
5
BUILD = ../../../build
6
 
7
.PHONY:         all clean
8
 
9
all:            mbootblk
10
 
11 107 hellwig
mbootblk:       stage1/mbr.bin stage2/mboot.bin
12 18 hellwig
                dd if=/dev/zero of=./zeroes bs=512 count=1
13 107 hellwig
                cat stage1/mbr.bin zeroes stage2/mboot.bin >mbootblk
14 18 hellwig
 
15
stage1/mbr.bin:
16
                $(MAKE) -C stage1
17
 
18 107 hellwig
stage2/mboot.bin:
19 18 hellwig
                $(MAKE) -C stage2
20
 
21
clean:
22
                $(MAKE) -C stage1 clean
23
                $(MAKE) -C stage2 clean
24
                rm -f *~ zeroes mbootblk

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.