mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-16 12:55:26 +08:00
* custom/gp32.cfg: Add smdk2410. Update gp32 to use shared code. * custom/smdk2410.cfg: New file.
27 lines
578 B
INI
27 lines
578 B
INI
#
|
|
# Config file for ARM GP32
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
|
|
|
RTEMS_CPU=arm
|
|
RTEMS_CPU_MODEL=s3c2400
|
|
|
|
# This is the actual bsp directory used during the build process.
|
|
RTEMS_BSP_FAMILY=gp32
|
|
|
|
# This contains the compiler options necessary to select the CPU model
|
|
# and (hopefully) optimize for it.
|
|
#
|
|
CPU_CFLAGS = -mcpu=arm920t -mstructure-size-boundary=32 -DCPU_S3C2400
|
|
|
|
# optimize flag: typically -O2
|
|
CFLAGS_OPTIMIZE_V = -O2 -g
|
|
|
|
define bsp-post-link
|
|
$(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
|
|
$(default-bsp-post-link)
|
|
endef
|