xtensa: Remove support for CT_CUSTOM_LOCATION_ROOT_DIR

Since CUSTOM_LOCATION_ROOT_DIR was removed from config/global/paths.in
in commit c499ccb, xtensa should depend only on it's
ARCH_XTENSA_CUSTOM_OVERLAY_LOCATION.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
Bryan Hundven 2015-11-26 00:34:29 -08:00
parent 0041a8b105
commit 83f8efa61f
2 changed files with 2 additions and 9 deletions

View File

@ -28,5 +28,4 @@ config ARCH_XTENSA_CUSTOM_OVERLAY_LOCATION
default "" default ""
help help
Enter the path to the directory for the custom processor Enter the path to the directory for the custom processor
configuration file or leave blank to use the default location: configuration file.
CT_CUSTOM_LOCATION_ROOT_DIR

View File

@ -22,13 +22,7 @@ CT_ConfigureXtensa() {
custom_overlay="xtensa-overlay.tar" custom_overlay="xtensa-overlay.tar"
fi fi
if [ -n "${CT_CUSTOM_LOCATION_ROOT_DIR}" \ CT_TestAndAbort "${custom_overlay}: CT_ARCH_XTENSA_CUSTOM_OVERLAY_LOCATION must be set." -z "${custom_location}"
-a -z "${custom_location}" ]; then
custom_location="${CT_CUSTOM_LOCATION_ROOT_DIR}"
fi
CT_TestAndAbort "${custom_overlay}: CT_CUSTOM_LOCATION_ROOT_DIR or CT_ARCH_XTENSA_CUSTOM_OVERLAY_LOCATION must be set." \
-z "${CT_CUSTOM_LOCATION_ROOT_DIR}" -a -z "${custom_location}"
local full_file="${custom_location}/${custom_overlay}" local full_file="${custom_location}/${custom_overlay}"
local basename="${component}-${version}" local basename="${component}-${version}"