diff options
author | Krzesimir Nowak <knowak@microsoft.com> | 2022-07-07 14:58:55 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-09 04:45:00 +0100 |
commit | 951e3f54dae6c815fbd89c16004c99b5c4c391ae (patch) | |
tree | 60507fecc601713f1da9d0d4f6ac0b9a54cbf5b2 /crossdev | |
parent | crossdev: Fall back to default version for gdb too (diff) | |
download | crossdev-951e3f54dae6c815fbd89c16004c99b5c4c391ae.tar.gz crossdev-951e3f54dae6c815fbd89c16004c99b5c4c391ae.tar.bz2 crossdev-951e3f54dae6c815fbd89c16004c99b5c4c391ae.zip |
crossdev: Take gdb variables into account
When restoring user settings and when figuring out the list of repos.
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'crossdev')
-rwxr-xr-x | crossdev | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -988,7 +988,7 @@ done # grab user settings d="${CONFIGROOT}/crossdev/${CTARGET}" -for v in MULTILIB_ABIS USE BVER GVER KVER LVER STAGE CFLAGS LDFLAGS ASFLAGS ; do +for v in MULTILIB_ABIS USE BVER GVER KVER LVER DVER STAGE CFLAGS LDFLAGS ASFLAGS ; do if [[ -e ${d}/${v} ]] ; then # yes, quotes are needed in this instance (export $var="...") export ${v}="$(<"${d}"/${v})" @@ -1347,7 +1347,7 @@ set_metadata() { fi # build up a list of possible repos where we can pull from - for d in "${BOVL}" "${GOVL}" "${KOVL}" "${LOVL}" ${SEARCH_OVERLAYS} "${MAIN_REPO_PATH}" ; do + for d in "${BOVL}" "${GOVL}" "${KOVL}" "${LOVL}" "${DOVL}" ${SEARCH_OVERLAYS} "${MAIN_REPO_PATH}" ; do [[ -z ${d} ]] && continue name= |