summaryrefslogtreecommitdiff
path: root/buildstream/data/projectconfig.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/data/projectconfig.yaml')
-rw-r--r--buildstream/data/projectconfig.yaml8
1 files changed, 5 insertions, 3 deletions
diff --git a/buildstream/data/projectconfig.yaml b/buildstream/data/projectconfig.yaml
index d8fefc5e1..fe51febf8 100644
--- a/buildstream/data/projectconfig.yaml
+++ b/buildstream/data/projectconfig.yaml
@@ -28,7 +28,9 @@ variables:
#
# Note: this value defaults to the number of cores available
max-jobs: 4
-
+ # Note: These variables are defined later on in element.py and _project.py
+ element-name: ""
+ project-name: ""
# Path configuration, to be used in build instructions.
#
prefix: "/usr"
@@ -50,10 +52,10 @@ variables:
# Indicates the default build directory where input is
# normally staged
- build-root: /buildstream/build
+ build-root: /buildstream/%{project-name}/%{element-name}
# Indicates the build installation directory in the sandbox
- install-root: /buildstream/install
+ install-root: /buildstream-install
# Arguments for tooling used when stripping debug symbols
objcopy-link-args: --add-gnu-debuglink