Set GNU_TARGET automatically
The individual CONFIG.Common.RTEMS-$(T_A) files don't really need to set the new GNU_TARGET variable themselves, this addition allows the unmodified RTEMS-uC5282 target build fine (on 4.10.1 at least).
This commit is contained in:
committed by
Brendan Chandler
parent
629f958427
commit
8b766f767f
@@ -28,8 +28,9 @@ ifneq ($(CONFIG),$(TOP)/configure)
|
||||
endif
|
||||
|
||||
#--------------------------------------------------
|
||||
# Set RTEMS_BSP from T_A if not already done
|
||||
# Set RTEMS_BSP and GNU_TARGET if not already done
|
||||
RTEMS_BSP ?= $(subst RTEMS-,,$(T_A))
|
||||
GNU_TARGET ?= $(RTEMS_TARGET_CPU)-rtems
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Pick up the RTEMS tool/path definitions from the RTEMS BSP directory.
|
||||
|
||||
Reference in New Issue
Block a user