summaryrefslogtreecommitdiffstats
path: root/autobuild/agl
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-06-25 17:57:55 -0400
committerScott Murray <scott.murray@konsulko.com>2020-06-25 17:58:09 -0400
commita0e4daf988d68695d306e17f6fa9ce31b414c1b6 (patch)
treea5e6a0beaf20860a5ecaace3ee32a0b2d5b84f22 /autobuild/agl
parent72d48c6ac7ff37f4f39fcbe5dea64a69086e8c98 (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: I8383cb5a045ab5d0331babca25b798618b57d14b
Diffstat (limited to 'autobuild/agl')
-rwxr-xr-xautobuild/agl/autobuild2
1 files changed, 2 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); \