mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-02 18:53:22 +00:00
40 lines
1.5 KiB
Plaintext
40 lines
1.5 KiB
Plaintext
# Prevent some of the more complicated libgcc functions from being
|
|
# compiled. This is because they are generally too big to fit into an
|
|
# AE anyway, so there is no point in having them. Also, some don't
|
|
# compile properly so we'll ignore them for the moment.
|
|
LIB1ASMSRC = picochip/lib1funcs.S
|
|
LIB1ASMFUNCS = _mulsc3 _divsc3
|
|
|
|
# Compile the extra library functions.
|
|
LIB2ADD = \
|
|
$(srcdir)/config/picochip/ashrsi3.S \
|
|
$(srcdir)/config/picochip/ashlsi3.S \
|
|
$(srcdir)/config/picochip/divmodhi4.S \
|
|
$(srcdir)/config/picochip/udivmodhi4.S \
|
|
$(srcdir)/config/picochip/divmodsi4.S \
|
|
$(srcdir)/config/picochip/udivmodsi4.S \
|
|
$(srcdir)/config/picochip/divmod15.S \
|
|
$(srcdir)/config/picochip/ucmpsi2.S \
|
|
$(srcdir)/config/picochip/cmpsi2.S \
|
|
$(srcdir)/config/picochip/clzsi2.S \
|
|
$(srcdir)/config/picochip/adddi3.S \
|
|
$(srcdir)/config/picochip/subdi3.S \
|
|
$(srcdir)/config/picochip/lshrsi3.S \
|
|
$(srcdir)/config/picochip/parityhi2.S \
|
|
$(srcdir)/config/picochip/popcounthi2.S
|
|
|
|
# Special libgcc setup. Make single/double floating point the same,
|
|
# and use our own include files.
|
|
HOST_LIBGCC2_CFLAGS += -DDF=SF -I../../includes/
|
|
|
|
# Switch off all debugging for the embedded libraries.
|
|
# (embedded processors need small libraries by default).
|
|
# NOTE: If the debug level is increased, turn off instruction scheduling.
|
|
LIBGCC2_DEBUG_CFLAGS = -g0
|
|
|
|
# Turn off the building of exception handling libraries.
|
|
LIB2ADDEH =
|
|
|
|
# Turn off ranlib on target libraries.
|
|
RANLIB_FOR_TARGET = cat
|