mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 03:42:22 +08:00
* mpw-config.in (TDEFINES): Put empty definition into
makefile fragment. * mpw-make.in (xmalloc.c.o): Remove. (as.new): Depend on Version.r. (Version.r): Generate from version info.
This commit is contained in:
@ -2,11 +2,11 @@
|
||||
|
||||
Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'`
|
||||
|
||||
# The following works for many configurations ...
|
||||
# The following works for many configurations, though not all.
|
||||
|
||||
Set obj_format `echo {target_canonical} | sed -e 's/.*-.*-//'`
|
||||
|
||||
# ... but not all.
|
||||
Set TDEFINES ""
|
||||
|
||||
If "{target_canonical}" =~ /m68k-apple-macos/
|
||||
Set obj_format "coff"
|
||||
@ -41,8 +41,9 @@ Else
|
||||
forward-include "{srcdir}"config:atof-ieee.c atof-targ.c
|
||||
End If
|
||||
|
||||
Echo '# From mpw-config.in' > "{o}"mk.tmp
|
||||
Echo '# From mpw-config.in' > "{o}"mk.tmp
|
||||
|
||||
Echo 'VERSION = ' `Search 'VERSION=' "{srcdir}"Makefile.in | sed -e 's/.*VERSION=\(.*\)/\1/'` >> "{o}"mk.tmp
|
||||
Echo "TDEFINES = " {TDEFINES} >> "{o}"mk.tmp
|
||||
|
||||
Echo '# End from mpw-config.in' >> "{o}"mk.tmp
|
||||
Echo '# End from mpw-config.in' >> "{o}"mk.tmp
|
||||
|
Reference in New Issue
Block a user