OP_SYS_LDLIBS ends up on the GeSys object link command line, which ends up breaking things. When linking GeSys objects, a symbol root is not defined using -u or -e, which is required for --gc-sections to work.
19 lines
400 B
Plaintext
19 lines
400 B
Plaintext
#
|
|
# CONFIG.Common.RTEMS-beaglebineblack
|
|
# Author: Heinz Junkes <junkes@fhi-berlin.mpg.de>
|
|
#
|
|
# All RTEMS targets use the same Makefile fragment
|
|
#
|
|
#EXE = .elf
|
|
RTEMS_BSP = beagleboneblack
|
|
RTEMS_TARGET_CPU = arm
|
|
GNU_TARGET = arm-rtems
|
|
|
|
OP_SYS_LDFLAGS += -Wl,--gc-sections
|
|
ARCH_DEP_LDFLAGS = -L$(RTEMS_BASE)/$(GNU_TARGET)$(RTEMS_VERSION)/beagleboneblack/lib/
|
|
|
|
include $(CONFIG)/os/CONFIG.Common.RTEMS
|
|
|
|
|
|
|