# HG changeset patch # User Mychaela Falconia # Date 1686373778 0 # Node ID 09c18549921b0a0ad905fccaa25fab2915c56918 # Parent f232fb350e1c018ea01c4120458aff71d09694fd add install of bootutil diff -r f232fb350e1c -r 09c18549921b Makefile --- a/Makefile Sat Jun 10 05:00:20 2023 +0000 +++ b/Makefile Sat Jun 10 05:09:38 2023 +0000 @@ -21,5 +21,6 @@ install -c -m 644 cmd/* ${INSTALL_PREFIX}/scripts mkdir -p ${INSTALL_PREFIX}/target-bin install -c -m 644 target-bin/* ${INSTALL_PREFIX}/target-bin + cd bootutil; ${MAKE} ${MFLAGS} INSTALL_PREFIX=${INSTALL_PREFIX} install FRC: diff -r f232fb350e1c -r 09c18549921b bootutil/Makefile --- a/bootutil/Makefile Sat Jun 10 05:00:20 2023 +0000 +++ b/bootutil/Makefile Sat Jun 10 05:09:38 2023 +0000 @@ -5,6 +5,10 @@ C139ANB_OBJS= c11x_lockable.o c11x_nolock.o c139_lockable.o c139_main.o \ c139_nolock.o do_match.o fc_patched_boot.o +INSTALL_PREFIX= /opt/freecalypso + +INSTBIN=${INSTALL_PREFIX}/bin + all: ${PROGS} c139-analyze-boot: ${C139ANB_OBJS} @@ -25,5 +29,9 @@ fc_patched_boot.o: ../bootmatch/fc_patched_boot.c ${CC} ${CFLAGS} -c -o $@ $< +install: + mkdir -p ${INSTBIN} + install -c ${PROGS} ${INSTBIN} + clean: rm -f *.o ${PROGS}