summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildconf/export21
1 files changed, 21 insertions, 0 deletions
diff --git a/buildconf/export b/buildconf/export
new file mode 100644
index 0000000..cd41736
--- /dev/null
+++ b/buildconf/export
@@ -0,0 +1,21 @@
+#!/bin/sh
+ECHO=`which echo`
+BUILDDIR="../../build"
+FIRST_TIME=0
+cd stuff/openembedded-core/
+if [ ! -f ${BUILDDIR}/conf/local.conf ]; then
+ FIRST_TIME=1
+fi
+
+. oe-init-build-env ${BUILDDIR}
+
+if [ $FIRST_TIME -eq 1 ]; then
+ mkdir -p conf
+ cp ../stuff/meta-toradex/buildconf/*.conf
+
+ echo ""
+ $ECHO -e "\033[1mA sample conf/local.conf file has been created"
+ $ECHO -e "Check and edit the file to adapt to your local needs\033[0m"
+ echo "The following likely need your attention:"
+ echo "BB_NUMBER_THREADS, PARALLEL_MAKE, DL_DIR"
+fi