2 include ..
/..
/..
/config_host.mk
4 UPDATER_DIR
:= $(WORKDIR
)/updater
/single_step
9 @echo
"Unpacking the updater test project"
10 @
rm -r
$(UPDATER_DIR
) || true
11 @mkdir
-p
$(UPDATER_DIR
)
12 @unzip single_step.zip
-d
$(WORKDIR
)/updater
> /dev
/null
13 @mkdir
-p
$(UPDATER_DIR
)/patch
16 @echo
"Update the test project"
17 @cp complete_signed.mar
$(UPDATER_DIR
)/patch
/update.mar
18 @
$(INSTDIR
)/program
/updater
$(UPDATER_DIR
)/patch
$(UPDATER_DIR
) $(UPDATER_DIR
) 0
20 call-incremental
: unpack
21 @echo
"Update the test project"
22 @cp incremental_signed.mar
$(UPDATER_DIR
)/patch
/update.mar
23 @
$(INSTDIR
)/program
/updater
$(UPDATER_DIR
)/patch
$(UPDATER_DIR
) $(UPDATER_DIR
) 0
26 @cp incremental_signed.mar
$(UPDATER_DIR
)/patch
/update.mar
27 gdb
--args
$(INSTDIR
)/program
/updater
$(UPDATER_DIR
)/patch
$(UPDATER_DIR
) $(UPDATER_DIR
) 0