annotate bootutil/Makefile @ 15:36e65605d16a

bootutil: add c155-analyze-boot
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 10 Jun 2023 05:35:37 +0000
parents 09c18549921b
children 6b0d533046e5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
15
36e65605d16a bootutil: add c155-analyze-boot
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
3 PROGS= c139-analyze-boot c155-analyze-boot
12
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 C139ANB_OBJS= c11x_lockable.o c11x_nolock.o c139_lockable.o c139_main.o \
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 c139_nolock.o do_match.o fc_patched_boot.o
15
36e65605d16a bootutil: add c155-analyze-boot
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
7 C155ANB_OBJS= c155_boot.o c155_main.o do_match.o
12
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
14
09c18549921b add install of bootutil
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
9 INSTALL_PREFIX= /opt/freecalypso
09c18549921b add install of bootutil
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
10
09c18549921b add install of bootutil
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
11 INSTBIN=${INSTALL_PREFIX}/bin
09c18549921b add install of bootutil
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
12
12
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 all: ${PROGS}
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 c139-analyze-boot: ${C139ANB_OBJS}
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 ${CC} ${CFLAGS} -o $@ ${C139ANB_OBJS}
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
15
36e65605d16a bootutil: add c155-analyze-boot
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
18 c155-analyze-boot: ${C155ANB_OBJS}
36e65605d16a bootutil: add c155-analyze-boot
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
19 ${CC} ${CFLAGS} -o $@ ${C155ANB_OBJS}
36e65605d16a bootutil: add c155-analyze-boot
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
20
12
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 c11x_lockable.o: ../bootmatch/c11x_lockable.c
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 ${CC} ${CFLAGS} -c -o $@ $<
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 c11x_nolock.o: ../bootmatch/c11x_nolock.c
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 ${CC} ${CFLAGS} -c -o $@ $<
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 c139_lockable.o: ../bootmatch/c139_lockable.c
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 ${CC} ${CFLAGS} -c -o $@ $<
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 c139_nolock.o: ../bootmatch/c139_nolock.c
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 ${CC} ${CFLAGS} -c -o $@ $<
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32
15
36e65605d16a bootutil: add c155-analyze-boot
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
33 c155_boot.o: ../bootmatch/c155_boot.c
36e65605d16a bootutil: add c155-analyze-boot
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
34 ${CC} ${CFLAGS} -c -o $@ $<
36e65605d16a bootutil: add c155-analyze-boot
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
35
12
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 fc_patched_boot.o: ../bootmatch/fc_patched_boot.c
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 ${CC} ${CFLAGS} -c -o $@ $<
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38
14
09c18549921b add install of bootutil
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
39 install:
09c18549921b add install of bootutil
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
40 mkdir -p ${INSTBIN}
09c18549921b add install of bootutil
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
41 install -c ${PROGS} ${INSTBIN}
09c18549921b add install of bootutil
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
42
12
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 clean:
fe5f7ba7f154 c139-analyze-boot utility put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 rm -f *.o ${PROGS}