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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [mkpart/] [mkmboot/] [stage2/] [Makefile] - Blame information for rev 306

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 18 hellwig
#
2 106 hellwig
# Makefile to build the master bootstrap (boot manager)
3 18 hellwig
#
4
 
5
BUILD = ../../../../build
6
 
7 106 hellwig
all:            mboot.bin
8 18 hellwig
 
9 106 hellwig
mboot.bin:      c0.o mboot.o biolib.o c1.o
10
                $(BUILD)/bin/ld -h -rc 0xC0011000 -o mboot.bin \
11
                  c0.o mboot.o biolib.o c1.o
12 18 hellwig
 
13
c0.o:           c0.s
14
                $(BUILD)/bin/as -o c0.o c0.s
15
 
16 106 hellwig
mboot.o:        mboot.c
17
                $(BUILD)/bin/lcc -A -c -o mboot.o mboot.c
18 18 hellwig
 
19 106 hellwig
biolib.o:       biolib.s
20
                $(BUILD)/bin/as -o biolib.o biolib.s
21 18 hellwig
 
22
c1.o:           c1.s
23
                $(BUILD)/bin/as -o c1.o c1.s
24
 
25
clean:
26 106 hellwig
                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.