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

Subversion Repositories eco32

[/] [eco32/] [tags/] [eco32-0.24/] [disk/] [tools/] [fs-NetBSD/] [mkboot/] [Makefile] - Blame information for rev 211

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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