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

Subversion Repositories eco32

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

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

Rev 17 Rev 211
#
#
# Makefile to build the master boot block (with an empty partition table)
# Makefile to build the master boot block (with an empty partition table)
#
#
BUILD = ../../../build
BUILD = ../../../build
.PHONY:         all install clean
.PHONY:         all install clean
all:            mbootblk
all:            mbootblk
install:        mbootblk
install:        mbootblk
                mkdir -p $(BUILD)/run
                mkdir -p $(BUILD)/run
                cp mbootblk $(BUILD)/run
                cp mbootblk $(BUILD)/run
mbootblk:       stage1/mbr.bin stage2/mboot.bin
mbootblk:       stage1/mbr.bin stage2/mboot.bin
                dd if=/dev/zero of=./zeroes bs=512 count=1
                dd if=/dev/zero of=./zeroes bs=512 count=1
                cat stage1/mbr.bin zeroes stage2/mboot.bin >mbootblk
                cat stage1/mbr.bin zeroes stage2/mboot.bin >mbootblk
stage1/mbr.bin:
stage1/mbr.bin:
                $(MAKE) -C stage1
                $(MAKE) -C stage1
stage2/mboot.bin:
stage2/mboot.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 mbootblk
                rm -f *~ zeroes mbootblk
 
 

powered by: WebSVN 2.1.0

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