aboutsummaryrefslogtreecommitdiffstats
path: root/autobuild/linux
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-06-25 17:51:28 -0400
committerScott Murray <scott.murray@konsulko.com>2020-06-25 17:56:36 -0400
commit068d904a1b5981390f18e2c006932a0a79c20e41 (patch)
tree5a4842d2c38c935b46425e65f883bac44f7f13b2 /autobuild/linux
parent941d1a30923df13511a354aa53695dfa3a57a80e (diff)
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: I42f454b799d68960622648f627455604f7c99747
Diffstat (limited to 'autobuild/linux')
-rwxr-xr-xautobuild/linux/autobuild2
1 files changed, 2 insertions, 0 deletions
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); \