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

Subversion Repositories eco32

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

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 18 Rev 106
Line 1... Line 1...
#
#
# Makefile to build the boot manager
# Makefile to build the master bootstrap (boot manager)
#
#
 
 
BUILD = ../../../../build
BUILD = ../../../../build
 
 
all:            boot.bin
all:            mboot.bin
 
 
boot.bin:       c0.o boot.o iolib.o c1.o
mboot.bin:      c0.o mboot.o biolib.o c1.o
                $(BUILD)/bin/ld -h -rc 0xC00F0000 -o boot.bin \
                $(BUILD)/bin/ld -h -rc 0xC0011000 -o mboot.bin \
                  c0.o boot.o iolib.o c1.o
                  c0.o mboot.o biolib.o c1.o
 
 
c0.o:           c0.s
c0.o:           c0.s
                $(BUILD)/bin/as -o c0.o c0.s
                $(BUILD)/bin/as -o c0.o c0.s
 
 
boot.o:         boot.c
mboot.o:        mboot.c
                $(BUILD)/bin/lcc -A -c -o boot.o boot.c
                $(BUILD)/bin/lcc -A -c -o mboot.o mboot.c
 
 
iolib.o:        iolib.s
biolib.o:       biolib.s
                $(BUILD)/bin/as -o iolib.o iolib.s
                $(BUILD)/bin/as -o biolib.o biolib.s
 
 
c1.o:           c1.s
c1.o:           c1.s
                $(BUILD)/bin/as -o c1.o c1.s
                $(BUILD)/bin/as -o c1.o c1.s
 
 
clean:
clean:
                rm -f *~ c0.o boot.o iolib.o c1.o boot.bin
                rm -f *~ c0.o mboot.o biolib.o c1.o mboot.bin
                rm -f *~ c0.o mboot.o biolib.o c1.o mboot.bin
                rm -f *~ c0.o mboot.o biolib.o c1.o mboot.bin

powered by: WebSVN 2.1.0

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