summaryrefslogtreecommitdiffstats
path: root/core/bin
diff options
context:
space:
mode:
authorSimon Rettberg2021-07-07 13:05:00 +0200
committerSimon Rettberg2021-07-07 13:05:00 +0200
commitd492d4a34c57bf9f3d41b9f1e9a69ab3f9551e9e (patch)
tree86a946b6c9778e417efa449648ff5511aea929f3 /core/bin
parent[qemu] Rename vmchooser plugin to 'qemukvm' (diff)
downloadmltk-d492d4a34c57bf9f3d41b9f1e9a69ab3f9551e9e.tar.gz
mltk-d492d4a34c57bf9f3d41b9f1e9a69ab3f9551e9e.tar.xz
mltk-d492d4a34c57bf9f3d41b9f1e9a69ab3f9551e9e.zip
setup_target: Remove mystery overlay target feature
Diffstat (limited to 'core/bin')
-rwxr-xr-xcore/bin/setup_target12
1 files changed, 1 insertions, 11 deletions
diff --git a/core/bin/setup_target b/core/bin/setup_target
index 30fafbf5..1f2327e9 100755
--- a/core/bin/setup_target
+++ b/core/bin/setup_target
@@ -52,7 +52,6 @@
# -----------------------------------------------------------------------------
#
CORE_DIR="${ROOT_DIR}/core"
-OVERLAY_DIR="${ROOT_DIR}/overlay"
EXPORT_DIR="/export/build"
[ -z "$REMOTE_EXPORT_DIR" ] || EXPORT_DIR=$REMOTE_EXPORT_DIR
@@ -61,15 +60,6 @@ initial_checks () {
detect_distribution
}
-# WTF!?
-set_target_dir () {
- if [ -d "${OVERLAY_DIR}/targets/${TARGET}" ]; then
- TARGET_DIR="${OVERLAY_DIR}/targets/${TARGET}"
- elif [ -d "${CORE_DIR}/targets/${TARGET}" ]; then
- TARGET_DIR="${CORE_DIR}/targets/${TARGET}"
- fi
-}
-
#
# generic function to read the config file of the current $MODULE
#
@@ -295,7 +285,7 @@ generate_target() {
TARGET="$1"
shift
- set_target_dir
+ TARGET_DIR="${CORE_DIR}/targets/${TARGET}"
if [[ "$TARGET" == *@* ]]; then
VARNAME="${TARGET#*@}"
TARGET="${TARGET%@*}"