mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 10:50:20 +08:00
2007-05-01 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Tinkering to reduce .text size of minimum executable from ~64K to ~47K. * Renamed startup/exit.c to startup/bspclean.c * startup/bspclean.c: New file. * startup/exit.c: Removed.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2007-05-01 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* Makefile.am: Tinkering to reduce .text size of minimum executable
|
||||
from ~64K to ~47K.
|
||||
* Renamed startup/exit.c to startup/bspclean.c
|
||||
* startup/bspclean.c: New file.
|
||||
* startup/exit.c: Removed.
|
||||
|
||||
2007-05-01 Ray Xu <xr@trasin.net>
|
||||
|
||||
* README, times, console/lpc22xx_uart.h, console/uart.c, include/bsp.h,
|
||||
|
||||
@@ -29,18 +29,27 @@ dist_project_lib_DATA += startup/linkcmds
|
||||
noinst_PROGRAMS += startup.rel
|
||||
include_HEADERS += ../../arm/shared/comm/uart.h
|
||||
startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||
startup/bspstart.c startup/exit.c ../../shared/bootcard.c \
|
||||
startup/bspstart.c startup/bspclean.c ../../shared/bootcard.c \
|
||||
../../shared/sbrk.c \
|
||||
../../shared/gnatinstallhandler.c
|
||||
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||
|
||||
noinst_PROGRAMS += gnatsupp.rel
|
||||
gnatsupp_rel_SOURCES = ../../sparc/shared/gnatcommon.c
|
||||
gnatsupp_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
gnatsupp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||
|
||||
|
||||
noinst_PROGRAMS += console.rel
|
||||
console_rel_SOURCES = console/uart.c ../../shared/console.c
|
||||
console_rel_SOURCES = ../../shared/console.c
|
||||
console_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||
|
||||
noinst_PROGRAMS += debugio.rel
|
||||
debugio_rel_SOURCES = console/uart.c
|
||||
debugio_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
debugio_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||
|
||||
|
||||
if HAS_NETWORKING
|
||||
@@ -53,7 +62,7 @@ endif
|
||||
|
||||
noinst_LIBRARIES = libbsp.a
|
||||
libbsp_a_SOURCES =
|
||||
libbsp_a_LIBADD = startup.rel console.rel
|
||||
libbsp_a_LIBADD = gnatsupp.rel console.rel debugio.rel
|
||||
if HAS_NETWORKING
|
||||
libbsp_a_LIBADD += network.rel
|
||||
endif
|
||||
@@ -63,5 +72,13 @@ libbsp_a_LIBADD += \
|
||||
../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
|
||||
../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
|
||||
|
||||
libbsp_a_LIBADD += \
|
||||
startup_rel-bootcard.o \
|
||||
startup_rel-bspclean.o \
|
||||
startup_rel-bsplibc.o \
|
||||
startup_rel-bsppost.o \
|
||||
startup_rel-bspstart.o \
|
||||
startup_rel-sbrk.o
|
||||
|
||||
include $(srcdir)/preinstall.am
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
|
||||
Reference in New Issue
Block a user