diff options
Diffstat (limited to 'make/custom/mpc55xx.cfg')
-rw-r--r-- | make/custom/mpc55xx.cfg | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/make/custom/mpc55xx.cfg b/make/custom/mpc55xx.cfg new file mode 100644 index 0000000000..c77ea020b9 --- /dev/null +++ b/make/custom/mpc55xx.cfg @@ -0,0 +1,27 @@ +## +# +# @file +# +# @ingroup mpc55xx_config +# +# @brief Shared configuration file for the MPC55xx board family. +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU = powerpc + +RTEMS_CPU_MODEL = mpc55xx + +RTEMS_BSP_FAMILY = mpc55xxevb + +# FIXME +CPU_CFLAGS = -mcpu=8540 -meabi -msdata -fno-common -funit-at-a-time -D__ppc_generic -mstrict-align -D$(RTEMS_BOARD_MODEL) + +CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions + +define make-exe + $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS)-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS) + $(NM) -g -n $(basename $@).exe > $(basename $@).num + $(SIZE) $(basename $@).exe +endef |