Skip empty EMULATION_NAME
* emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
This commit is contained in:
parent
5150992626
commit
31b94bbb7b
@ -1,3 +1,7 @@
|
||||
2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
|
||||
|
||||
2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* Makefile.am (ELF_CLFAGS): New.
|
||||
|
@ -13,9 +13,10 @@ LITTLE_OUTPUT_FORMAT="elf32-littlemips"
|
||||
TEMPLATE_NAME=elf32
|
||||
EXTRA_EM_FILE=mipself
|
||||
|
||||
case "$EMULATION_NAME" in
|
||||
elf32*n32*) ELFSIZE=32 ;;
|
||||
elf64*) ELFSIZE=64 ;;
|
||||
case x"$EMULATION_NAME" in
|
||||
xelf32*n32*) ELFSIZE=32 ;;
|
||||
xelf64*) ELFSIZE=64 ;;
|
||||
x) ;;
|
||||
*) echo $0: unhandled emulation $EMULATION_NAME >&2; exit 1 ;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user