office-gobmx/onlineupdate/qa/replace_request/Makefile
Markus Mohrhard 44f75d653b updater: move the data location for the replacement test
Change-Id: I6b3bbe9dda2461ed83ef8b4e15179ad345c08bd4
2017-06-17 13:14:50 +02:00

17 lines
554 B
Makefile

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