diff 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
line wrap: on
line diff
--- a/bootutil/Makefile	Sat Jun 10 05:35:37 2023 +0000
+++ b/bootutil/Makefile	Sat Jun 10 05:49:00 2023 +0000
@@ -1,6 +1,6 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	c139-analyze-boot c155-analyze-boot
+PROGS=	c139-analyze-boot c139-patch-dmagic c155-analyze-boot
 
 C139ANB_OBJS=	c11x_lockable.o c11x_nolock.o c139_lockable.o c139_main.o \
 		c139_nolock.o do_match.o fc_patched_boot.o
@@ -15,6 +15,9 @@
 c139-analyze-boot:	${C139ANB_OBJS}
 	${CC} ${CFLAGS} -o $@ ${C139ANB_OBJS}
 
+c139-patch-dmagic:	c139-patch-dmagic.c
+	${CC} ${CFLAGS} -o $@ $@.c
+
 c155-analyze-boot:	${C155ANB_OBJS}
 	${CC} ${CFLAGS} -o $@ ${C155ANB_OBJS}