summaryrefslogtreecommitdiffstats
path: root/inc/env.inc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'inc/env.inc.sh')
-rw-r--r--inc/env.inc.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/env.inc.sh b/inc/env.inc.sh
new file mode 100644
index 0000000..9f9881e
--- /dev/null
+++ b/inc/env.inc.sh
@@ -0,0 +1,2 @@
+buildrootpath=$(slxsettings |grep base-path | sed -e "s,^.*='\(.*\)'$,\1,")
+buildrootpath="$buildrootpath/share/buildroot"