mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:12:56 +08:00
move compile-in decision to genscripts.sh
This commit is contained in:
@ -1,10 +1,15 @@
|
|||||||
Wed Jul 21 14:28:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
|
Wed Jul 21 14:28:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
|
||||||
|
|
||||||
|
* genscripts.sh: If this is the default emulation, set
|
||||||
|
COMPILE_IN.
|
||||||
|
* emultempl/*.em: Use it to determine whether to compile in the
|
||||||
|
scripts.
|
||||||
|
|
||||||
* Makefile.in (GENSCRIPTS): Pass the default emulation name to
|
* Makefile.in (GENSCRIPTS): Pass the default emulation name to
|
||||||
genscripts.sh. Pass the current emulation name without ".sh" on
|
genscripts.sh. Pass the current emulation name without ".sh" on
|
||||||
the end.
|
the end.
|
||||||
* genscripts.sh: Take an default emulation arg.
|
* genscripts.sh: Take an default emulation arg.
|
||||||
Use the emulparams file name as EMULATION_NAME.
|
Use the current emulation name as EMULATION_NAME.
|
||||||
Make default lib path for cross-compiling ':', not null.
|
Make default lib path for cross-compiling ':', not null.
|
||||||
* emulparams/*.sh: Don't set EMULATION_NAME.
|
* emulparams/*.sh: Don't set EMULATION_NAME.
|
||||||
* ldemul.c (ldemul_get_script): Take isfile arg.
|
* ldemul.c (ldemul_get_script): Take isfile arg.
|
||||||
|
@ -86,7 +86,7 @@ hppaosf_get_script(isfile)
|
|||||||
int *isfile;
|
int *isfile;
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
if test "$DEFAULT_EMULATION" = "$EMULATION_NAME"
|
if test -n "$COMPILE_IN"
|
||||||
then
|
then
|
||||||
# Scripts compiled in.
|
# Scripts compiled in.
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ gld${EMULATION_NAME}_get_script(isfile)
|
|||||||
int *isfile;
|
int *isfile;
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
if test "$DEFAULT_EMULATION" = "$EMULATION_NAME"
|
if test -n "$COMPILE_IN"
|
||||||
then
|
then
|
||||||
# Scripts compiled in.
|
# Scripts compiled in.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user