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

Subversion Repositories eco32

[/] [eco32/] [tags/] [eco32-0.24/] [disk/] [tools/] [fs-NetBSD/] [mkboot/] [Makefile] - Rev 211

Compare with Previous | Blame | View Log

#
# Makefile to build the boot block (with an empty disklabel)
#

BUILD = ../../../../build

.PHONY:         all install clean

all:            bootblk

install:        bootblk
                mkdir -p $(BUILD)/run/fs-NetBSD
                cp bootblk $(BUILD)/run/fs-NetBSD

bootblk:        stage1/br.bin stage2/boot.bin
                dd if=/dev/zero of=./zeroes bs=512 count=1
                cat stage1/br.bin zeroes stage2/boot.bin >bootblk

stage1/br.bin:
                $(MAKE) -C stage1

stage2/boot.bin:
                $(MAKE) -C stage2

clean:
                $(MAKE) -C stage1 clean
                $(MAKE) -C stage2 clean
                rm -f *~ zeroes bootblk

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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