annotate rvinterf/rvtat/Makefile @ 437:2cd705c8116e

loadtools: Mot C155 turns out to have the same flash partition quirks as the flash chip on TI's D-Sample c155.config changed to use the fixed 28f640w30b config instead of CFI, and a bit of C code in fc-loadtool had to be changed too so that flash erase-program-boot still works.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 06 Nov 2018 16:02:23 +0000
parents ab8fb95a28da
children 1d5bd9a06781
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
346
99471c57155a fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
99471c57155a fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2 -I../include
99471c57155a fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROG= fcup-rvtat
421
ab8fb95a28da rvinterf/rvtat converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 346
diff changeset
4 OBJS= interf.o main.o
ab8fb95a28da rvinterf/rvtat converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 346
diff changeset
5 LIBS= ../libinterf/libinterf.a
346
99471c57155a fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 INSTBIN=/opt/freecalypso/bin
99471c57155a fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
99471c57155a fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 all: ${PROG}
99471c57155a fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
421
ab8fb95a28da rvinterf/rvtat converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 346
diff changeset
10 ${PROG}: ${OBJS} ${LIBS}
ab8fb95a28da rvinterf/rvtat converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 346
diff changeset
11 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
346
99471c57155a fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
99471c57155a fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 install: ${PROG}
99471c57155a fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 mkdir -p ${INSTBIN}
99471c57155a fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 install -c ${PROG} ${INSTBIN}
99471c57155a fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
99471c57155a fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 clean:
99471c57155a fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 rm -f *.o *.out *errs ${PROG}