comparison bootutil/Makefile @ 16:6b0d533046e5

bootutil: add c139-patch-dmagic
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 10 Jun 2023 05:49:00 +0000
parents 36e65605d16a
children
comparison
equal deleted inserted replaced
15:36e65605d16a 16:6b0d533046e5
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= c139-analyze-boot c155-analyze-boot 3 PROGS= c139-analyze-boot c139-patch-dmagic c155-analyze-boot
4 4
5 C139ANB_OBJS= c11x_lockable.o c11x_nolock.o c139_lockable.o c139_main.o \ 5 C139ANB_OBJS= c11x_lockable.o c11x_nolock.o c139_lockable.o c139_main.o \
6 c139_nolock.o do_match.o fc_patched_boot.o 6 c139_nolock.o do_match.o fc_patched_boot.o
7 C155ANB_OBJS= c155_boot.o c155_main.o do_match.o 7 C155ANB_OBJS= c155_boot.o c155_main.o do_match.o
8 8
12 12
13 all: ${PROGS} 13 all: ${PROGS}
14 14
15 c139-analyze-boot: ${C139ANB_OBJS} 15 c139-analyze-boot: ${C139ANB_OBJS}
16 ${CC} ${CFLAGS} -o $@ ${C139ANB_OBJS} 16 ${CC} ${CFLAGS} -o $@ ${C139ANB_OBJS}
17
18 c139-patch-dmagic: c139-patch-dmagic.c
19 ${CC} ${CFLAGS} -o $@ $@.c
17 20
18 c155-analyze-boot: ${C155ANB_OBJS} 21 c155-analyze-boot: ${C155ANB_OBJS}
19 ${CC} ${CFLAGS} -o $@ ${C155ANB_OBJS} 22 ${CC} ${CFLAGS} -o $@ ${C155ANB_OBJS}
20 23
21 c11x_lockable.o: ../bootmatch/c11x_lockable.c 24 c11x_lockable.o: ../bootmatch/c11x_lockable.c