mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 06:57:51 +00:00
4a9b1c6aab
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.
20 lines
370 B
Makefile
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)
|