URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
[/] [eco32/] [trunk/] [stdalone/] [mkpart/] [mkmboot/] [Makefile] - Rev 304
Go to most recent revision | Compare with Previous | Blame | View Log
#
# Makefile to build the master boot block (with an empty partition table)
#
BUILD = ../../../build
.PHONY: all clean
all: mbootblk
mbootblk: stage1/mbr.bin stage2/mboot.bin
dd if=/dev/zero of=./zeroes bs=512 count=1
cat stage1/mbr.bin zeroes stage2/mboot.bin >mbootblk
stage1/mbr.bin:
$(MAKE) -C stage1
stage2/mboot.bin:
$(MAKE) -C stage2
clean:
$(MAKE) -C stage1 clean
$(MAKE) -C stage2 clean
rm -f *~ zeroes mbootblk
Go to most recent revision | Compare with Previous | Blame | View Log