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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [mkpart/] [mkmboot/] [Makefile] - Diff between revs 18 and 107

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

Rev 18 Rev 107
#
#
# 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/boot.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/boot.bin >mbootblk
                cat stage1/mbr.bin zeroes stage2/mboot.bin >mbootblk
 
 
stage1/mbr.bin:
stage1/mbr.bin:
                $(MAKE) -C stage1
                $(MAKE) -C stage1
 
 
stage2/boot.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.