blob: f303992baa0f560103fad37abb16e48cf40ef8ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
gb_Side := host
include ../../../config_host.mk
UPDATER_DIR := $(WORKDIR)/updater/single_step
all : call
unpack:
@echo "Unpacking the updater test project"
@rm -r $(UPDATER_DIR) || true
@mkdir -p $(UPDATER_DIR)
@unzip single_step.zip -d $(WORKDIR)/updater > /dev/null
@mkdir -p $(UPDATER_DIR)/patch
call-complete: unpack
@echo "Update the test project"
@cp complete_signed.mar $(UPDATER_DIR)/patch/update.mar
@$(INSTDIR)/program/updater $(UPDATER_DIR)/patch $(UPDATER_DIR) $(UPDATER_DIR) 0
call-incremental: unpack
@echo "Update the test project"
@cp incremental_signed.mar $(UPDATER_DIR)/patch/update.mar
@$(INSTDIR)/program/updater $(UPDATER_DIR)/patch $(UPDATER_DIR) $(UPDATER_DIR) 0
call-gdb: unpack
@cp incremental_signed.mar $(UPDATER_DIR)/patch/update.mar
gdb --args $(INSTDIR)/program/updater $(UPDATER_DIR)/patch $(UPDATER_DIR) $(UPDATER_DIR) 0
|