genode/libports/lib/mk/arm/libc-setjmp.mk
Christian Prochaska 4a9b1c6aab base-linux: add ARM support
This patch introduces a new platform 'linux_arm' for building and running
Genode/Linux on an ARM device.

Known limitations:

- libc 'setjmp()'/'longjmp()' doesn't currently save/restore floating
  point registers

Fixes #746.
2013-05-24 14:55:37 +02:00

20 lines
370 B
Makefile

LIBC_GEN_ARM_DIR = $(LIBC_DIR)/libc/arm/gen
SRC_S = _setjmp.S setjmp.S
#
# Remove 'longjmperror' call
#
CC_OPT += -D_STANDALONE
#
# Needed to compile on hard-float Linux
# FIXME: Floating point registers don't get saved/restored
# when using this definition!
#
CC_OPT += -D__SOFTFP__
include $(REP_DIR)/lib/mk/libc-common.inc
vpath %.S $(LIBC_GEN_ARM_DIR)