diff options
author | Simon Rettberg | 2021-07-07 13:05:00 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-07-07 13:05:00 +0200 |
commit | d492d4a34c57bf9f3d41b9f1e9a69ab3f9551e9e (patch) | |
tree | 86a946b6c9778e417efa449648ff5511aea929f3 /core/bin | |
parent | [qemu] Rename vmchooser plugin to 'qemukvm' (diff) | |
download | mltk-d492d4a34c57bf9f3d41b9f1e9a69ab3f9551e9e.tar.gz mltk-d492d4a34c57bf9f3d41b9f1e9a69ab3f9551e9e.tar.xz mltk-d492d4a34c57bf9f3d41b9f1e9a69ab3f9551e9e.zip |
setup_target: Remove mystery overlay target feature
Diffstat (limited to 'core/bin')
-rwxr-xr-x | core/bin/setup_target | 12 |
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%@*}" |