summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/sim68000/make/custom/simcpu32.cfg
blob: 939a1e1f04a4982bdfacb25add118928227d29f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
#  Configuration file for a simcpu32 in BSCV
#

include $(RTEMS_ROOT)/make/custom/default.cfg

RTEMS_CPU=m68k
RTEMS_CPU_MODEL=mcpu32

#  This contains the compiler options necessary to select the CPU model
#  and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu=cpu32

# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer

define bsp-post-link
	$(default-bsp-post-link)
	$(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT)
endef