summaryrefslogtreecommitdiffstats
path: root/onlineupdate/qa/replace_request/Makefile
blob: 476e93213ccad2597f0c55a586384af1855559bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
gb_Side := host
include ../../../config_host.mk

UPDATER_DIR := $(WORKDIR)/updater/replace_request

unpack:
	@echo "Unpacking the updater test project"
	@rm -r $(UPDATER_DIR) || true
	@mkdir -p $(WORKDIR)/updater
	@unzip updater.zip -d $(WORKDIR)/updater > /dev/null

call: unpack
	@echo "Update the test project"
	@$(INSTDIR)/program/updater $(UPDATER_DIR)/user/patch $(UPDATER_DIR) $(UPDATER_DIR)/user/update /replace

call-gdb: unpack
	gdb --args $(INSTDIR)/program/updater $(UPDATER_DIR)/user/patch $(UPDATER_DIR) $(UPDATER_DIR)/user/update /replace