forked from Imagelibrary/rtems
bsp/tms570: use common tms570ls3137.inc file for all board ling variants.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
This commit is contained in:
20
c/src/lib/libbsp/arm/tms570/make/custom/tms570ls3137.inc
Normal file
20
c/src/lib/libbsp/arm/tms570/make/custom/tms570ls3137.inc
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
#
|
||||||
|
# Config file for TMS570LS3137 board.
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
|
RTEMS_CPU = arm
|
||||||
|
|
||||||
|
CPU_CFLAGS = -march=armv7-r -mthumb -mbig-endian -mfpu=vfpv3-d16 -mfloat-abi=hard
|
||||||
|
|
||||||
|
CFLAGS_OPTIMIZE_V = -O2 -ggdb
|
||||||
|
BINEXT?=.bin
|
||||||
|
|
||||||
|
# This defines the operations performed on the linked executable.
|
||||||
|
# is currently required.
|
||||||
|
define bsp-post-link
|
||||||
|
$(OBJCOPY) -O binary --strip-all \
|
||||||
|
$(basename $@)$(EXEEXT) $(basename $@)$(BINEXT)
|
||||||
|
$(SIZE) $(basename $@)$(EXEEXT)
|
||||||
|
endef
|
||||||
@@ -2,19 +2,4 @@
|
|||||||
# Config file for TMS570LS3137 board.
|
# Config file for TMS570LS3137 board.
|
||||||
#
|
#
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/tms570ls3137.inc
|
||||||
|
|
||||||
RTEMS_CPU = arm
|
|
||||||
|
|
||||||
CPU_CFLAGS = -march=armv7-r -mthumb -mbig-endian -mfpu=vfpv3-d16 -mfloat-abi=hard
|
|
||||||
|
|
||||||
CFLAGS_OPTIMIZE_V = -O2 -ggdb
|
|
||||||
BINEXT?=.bin
|
|
||||||
|
|
||||||
# This defines the operations performed on the linked executable.
|
|
||||||
# is currently required.
|
|
||||||
define bsp-post-link
|
|
||||||
$(OBJCOPY) -O binary --strip-all \
|
|
||||||
$(basename $@)$(EXEEXT) $(basename $@)$(BINEXT)
|
|
||||||
$(SIZE) $(basename $@)$(EXEEXT)
|
|
||||||
endef
|
|
||||||
|
|||||||
@@ -2,19 +2,4 @@
|
|||||||
# Config file for TMS570LS3137 board.
|
# Config file for TMS570LS3137 board.
|
||||||
#
|
#
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/tms570ls3137.inc
|
||||||
|
|
||||||
RTEMS_CPU = arm
|
|
||||||
|
|
||||||
CPU_CFLAGS = -march=armv7-r -mthumb -mbig-endian
|
|
||||||
|
|
||||||
CFLAGS_OPTIMIZE_V = -O2 -ggdb
|
|
||||||
BINEXT?=.bin
|
|
||||||
|
|
||||||
# This defines the operations performed on the linked executable.
|
|
||||||
# is currently required.
|
|
||||||
define bsp-post-link
|
|
||||||
$(OBJCOPY) -O binary --strip-all \
|
|
||||||
$(basename $@)$(EXEEXT) $(basename $@)$(BINEXT)
|
|
||||||
$(SIZE) $(basename $@)$(EXEEXT)
|
|
||||||
endef
|
|
||||||
|
|||||||
@@ -2,19 +2,4 @@
|
|||||||
# Config file for TMS570LS3137 board.
|
# Config file for TMS570LS3137 board.
|
||||||
#
|
#
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/tms570ls3137.inc
|
||||||
|
|
||||||
RTEMS_CPU = arm
|
|
||||||
|
|
||||||
CPU_CFLAGS = -march=armv7-r -mthumb -mbig-endian
|
|
||||||
|
|
||||||
CFLAGS_OPTIMIZE_V = -O2 -ggdb
|
|
||||||
BINEXT?=.bin
|
|
||||||
|
|
||||||
# This defines the operations performed on the linked executable.
|
|
||||||
# is currently required.
|
|
||||||
define bsp-post-link
|
|
||||||
$(OBJCOPY) -O binary --strip-all \
|
|
||||||
$(basename $@)$(EXEEXT) $(basename $@)$(BINEXT)
|
|
||||||
$(SIZE) $(basename $@)$(EXEEXT)
|
|
||||||
endef
|
|
||||||
|
|||||||
@@ -2,19 +2,4 @@
|
|||||||
# Config file for TMS570LS3137 board.
|
# Config file for TMS570LS3137 board.
|
||||||
#
|
#
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/tms570ls3137.inc
|
||||||
|
|
||||||
RTEMS_CPU = arm
|
|
||||||
|
|
||||||
CPU_CFLAGS = -march=armv7-r -mthumb -mbig-endian -mfpu=vfpv3-d16 -mfloat-abi=hard
|
|
||||||
|
|
||||||
CFLAGS_OPTIMIZE_V = -O2 -ggdb
|
|
||||||
BINEXT?=.bin
|
|
||||||
|
|
||||||
# This defines the operations performed on the linked executable.
|
|
||||||
# is currently required.
|
|
||||||
define bsp-post-link
|
|
||||||
$(OBJCOPY) -O binary --strip-all \
|
|
||||||
$(basename $@)$(EXEEXT) $(basename $@)$(BINEXT)
|
|
||||||
$(SIZE) $(basename $@)$(EXEEXT)
|
|
||||||
endef
|
|
||||||
|
|||||||
Reference in New Issue
Block a user