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

Subversion Repositories eco32

[/] [eco32/] [tags/] [eco32-0.23/] [stdalone/] [mkpart/] [mkmboot/] [Makefile] - Diff between revs 107 and 157

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 107 Rev 157
#
#
# 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 clean
.PHONY:         all clean
all:            mbootblk
all:            mbootblk
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.