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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [disk/] [tools/] [mkmboot/] [Makefile] - Blame information for rev 244

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

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

powered by: WebSVN 2.1.0

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