mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
* nlm/configure.in: Use sed instead of awk to get the value of
cpufile. Awk is not a utility required by the GNU coding standards. This change also fixes the rigid whitespace requirements that were required for awk.
This commit is contained in:
@ -1,5 +1,10 @@
|
|||||||
Wed May 31 12:04:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
|
Wed May 31 12:04:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
|
||||||
|
|
||||||
|
* nlm/configure.in: Use sed instead of awk to get the value of
|
||||||
|
cpufile. Awk is not a utility required by the GNU coding
|
||||||
|
standards. This change also fixes the rigid whitespace
|
||||||
|
requirements that were required for awk.
|
||||||
|
|
||||||
* sparclite/aload.c: Use a file descriptor instead of a stdio
|
* sparclite/aload.c: Use a file descriptor instead of a stdio
|
||||||
stream for i/o with target board.
|
stream for i/o with target board.
|
||||||
Use #error if HAVE_TERMIOS is not defined.
|
Use #error if HAVE_TERMIOS is not defined.
|
||||||
|
@ -23,15 +23,15 @@ sparc*) gdb_target_cpu=sparc ;;
|
|||||||
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ ! -f ${srcdir}/../config/${gdb_target_cpu}/gdbserve.mt ]; then
|
target_makefile_frag=${srcdir}/../config/${gdb_target_cpu}/gdbserve.mt
|
||||||
|
if [ ! -f ${target_makefile_frag} ]; then
|
||||||
echo '***' "GDBSERVE does not support target ${target}" 1>&2
|
echo '***' "GDBSERVE does not support target ${target}" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# We really shouldn't depend on there being a space after CPU_FILE= ...
|
cpufile=`sed -n '
|
||||||
cpufile=`awk '$1 == "CPU_FILE=" { print $2 }' <${srcdir}/../config/${gdb_target_cpu}/gdbserve.mt`
|
s/CPU_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
|
||||||
|
' ${target_makefile_frag}
|
||||||
target_makefile_frag=../config/${gdb_target_cpu}/gdbserve.mt
|
|
||||||
|
|
||||||
# If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile
|
# If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile
|
||||||
# (NAT_FILE) is not set in the ?config/* file, we don't make the
|
# (NAT_FILE) is not set in the ?config/* file, we don't make the
|
||||||
|
Reference in New Issue
Block a user