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

Subversion Repositories eco32

[/] [eco32/] [tags/] [eco32-0.24/] [disk/] [tools/] [fs-NetBSD/] [mkboot/] [Makefile] - Diff between revs 17 and 211

Only display areas with differences | Details | Blame | View Log

Rev 17 Rev 211
#
#
# Makefile to build the boot block (with an empty disklabel)
# Makefile to build the boot block (with an empty disklabel)
#
#
BUILD = ../../../../build
BUILD = ../../../../build
.PHONY:         all install clean
.PHONY:         all install clean
all:            bootblk
all:            bootblk
install:        bootblk
install:        bootblk
                mkdir -p $(BUILD)/run/fs-NetBSD
                mkdir -p $(BUILD)/run/fs-NetBSD
                cp bootblk $(BUILD)/run/fs-NetBSD
                cp bootblk $(BUILD)/run/fs-NetBSD
bootblk:        stage1/br.bin stage2/boot.bin
bootblk:        stage1/br.bin stage2/boot.bin
                dd if=/dev/zero of=./zeroes bs=512 count=1
                dd if=/dev/zero of=./zeroes bs=512 count=1
                cat stage1/br.bin zeroes stage2/boot.bin >bootblk
                cat stage1/br.bin zeroes stage2/boot.bin >bootblk
stage1/br.bin:
stage1/br.bin:
                $(MAKE) -C stage1
                $(MAKE) -C stage1
stage2/boot.bin:
stage2/boot.bin:
                $(MAKE) -C stage2
                $(MAKE) -C stage2
clean:
clean:
                $(MAKE) -C stage1 clean
                $(MAKE) -C stage1 clean
                $(MAKE) -C stage2 clean
                $(MAKE) -C stage2 clean
                rm -f *~ zeroes bootblk
                rm -f *~ zeroes bootblk
 
 

powered by: WebSVN 2.1.0

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