diff options
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%@*}" |