Kaydet (Commit) 44f75d65 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

updater: move the data location for the replacement test

Change-Id: I6b3bbe9dda2461ed83ef8b4e15179ad345c08bd4
üst 0a0e569d
gb_Side := host
include ../../../config_host.mk
UPDATER_DIR := $(WORKDIR)/updater/replace_request
unpack:
@echo "Unpacking the updater test project"
@rm -r $(WORKDIR)/updater || true
@unzip updater.zip -d $(WORKDIR) > /dev/null
@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 $(WORKDIR)/updater/user/patch $(WORKDIR)/updater $(WORKDIR)/updater/user/update /replace
@$(INSTDIR)/program/updater $(UPDATER_DIR)/user/patch $(UPDATER_DIR) $(UPDATER_DIR)/user/update /replace
call-gdb: unpack
gdb --args $(INSTDIR)/program/updater $(WORKDIR)/updater/user/patch $(WORKDIR)/updater $(WORKDIR)/updater/user/update /replace
gdb --args $(INSTDIR)/program/updater $(UPDATER_DIR)/user/patch $(UPDATER_DIR) $(UPDATER_DIR)/user/update /replace
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment