diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-06-25 17:57:30 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-06-25 17:57:48 -0400 |
commit | a150a82c7c58fef0149fbc8b1ff3ab7b052372c8 (patch) | |
tree | d7561ad31ff22b7e6b6ee65345502c1fad789863 | |
parent | 2bf660fb4d98d01c805afdb59d55a052ff65f29e (diff) |
Update autobuild scriptsjellyfish_9.99.2jellyfish_9.99.1jellyfish/9.99.2jellyfish/9.99.19.99.29.99.1
Fix a couple of issues related to running the autobuild script from
outside the source tree.
Bug-AGL: SPEC-3300
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I005c7f8c14747b7dea12f5b6cb1cbbc5d45dc93a
-rwxr-xr-x | autobuild/agl/autobuild | 2 | ||||
-rwxr-xr-x | autobuild/linux/autobuild | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/autobuild/agl/autobuild b/autobuild/agl/autobuild index fa1d1c2..fa27570 100755 --- a/autobuild/agl/autobuild +++ b/autobuild/agl/autobuild @@ -73,6 +73,7 @@ clean-all: clean-release distclean: clean-all configure-release: clean-release + @cd $(ROOT_DIR) @rm -rf node_modules @npm install @@ -90,6 +91,7 @@ build-debug: ; build-all: build-release package-release: package-%: build-% + @mkdir -p $(OUTPUT_DIR)/ @cp $(ROOT_DIR)/package/*.wgt $(OUTPUT_DIR)/ @if [ "$(abspath $(DEST))" != "$(abspath $(OUTPUT_DIR))" ]; then \ mkdir -p $(DEST) && cp $(OUTPUT_DIR)/*.wgt $(DEST); \ diff --git a/autobuild/linux/autobuild b/autobuild/linux/autobuild index fa1d1c2..fa27570 100755 --- a/autobuild/linux/autobuild +++ b/autobuild/linux/autobuild @@ -73,6 +73,7 @@ clean-all: clean-release distclean: clean-all configure-release: clean-release + @cd $(ROOT_DIR) @rm -rf node_modules @npm install @@ -90,6 +91,7 @@ build-debug: ; build-all: build-release package-release: package-%: build-% + @mkdir -p $(OUTPUT_DIR)/ @cp $(ROOT_DIR)/package/*.wgt $(OUTPUT_DIR)/ @if [ "$(abspath $(DEST))" != "$(abspath $(OUTPUT_DIR))" ]; then \ mkdir -p $(DEST) && cp $(OUTPUT_DIR)/*.wgt $(DEST); \ |