2013-05-24 09:04:42 +00:00
|
|
|
#
|
|
|
|
# Specifics for Linux on ARM
|
|
|
|
#
|
|
|
|
SPECS += linux arm
|
|
|
|
|
|
|
|
ifeq ($(shell gcc -dumpmachine),arm-linux-gnueabihf)
|
|
|
|
CC_MARCH += -mfloat-abi=hard
|
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# We need to manually add the default linker script on the command line in case
|
|
|
|
# of standard library use. Otherwise, we were not able to extend it by the
|
2016-01-23 13:42:55 +00:00
|
|
|
# stack area section.
|
2013-05-24 09:04:42 +00:00
|
|
|
#
|
|
|
|
ifeq ($(USE_HOST_LD_SCRIPT),yes)
|
|
|
|
LD_SCRIPT_STATIC = ldscripts/armelf_linux_eabi.xc
|
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# Include less-specific configuration
|
|
|
|
#
|
2015-09-03 12:55:05 +00:00
|
|
|
include $(call select_from_repositories,mk/spec/arm.mk)
|
|
|
|
include $(call select_from_repositories,mk/spec/linux.mk)
|