blob: c90a7a309687c45d51256948dd17f2ceadb6a6e6 (
plain) (
tree)
|
|
#
# Config file for the mvme136 BSP
#
include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU=m68k
RTEMS_CPU_MODEL=m68020
#
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
CPU_CFLAGS = -mcpu=68020
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -Os -g -fomit-frame-pointer
define bsp-post-link
$(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
$(PACKHEX) > $(basename $@)$(DOWNEXT)
rm -f $(basename $@).srec
$(default-bsp-post-link)
endef
|