aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-source-aglsetup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/common/include-agl-source-aglsetup.sh')
-rw-r--r--jjb/common/include-agl-source-aglsetup.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/jjb/common/include-agl-source-aglsetup.sh b/jjb/common/include-agl-source-aglsetup.sh
new file mode 100644
index 00000000..f66d83fb
--- /dev/null
+++ b/jjb/common/include-agl-source-aglsetup.sh
@@ -0,0 +1,17 @@
+# (c) 2016 Jan-Simon Moeller dl9pf(at)gmx.de
+# License GPLv2
+
+################################################################################
+## Main
+################################################################################
+
+# source the env
+source meta-agl/scripts/aglsetup.sh -m ${MACHINE} -b output ${TARGETFEATURES}
+
+# link the shared downloads and sstate-cache
+ln -sf ../../downloads
+ln -sf ../../sstate-cache
+
+echo "" >> conf/local.conf
+echo "### ADDED BY AUTOBUILDER ###" >> conf/local.conf
+echo "" >> conf/local.conf