diff options
author | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2008-07-14 16:15:28 +0000 |
---|---|---|
committer | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2008-07-14 16:15:28 +0000 |
commit | 574fb675105b77dfe9598915207f1f32790f905f (patch) | |
tree | fce34dc59687abc02a692c650ec3c86f05259025 /make/custom/mpc55xx.cfg | |
parent | added haleakala BSP contributed by Michael Hamel (diff) | |
download | rtems-574fb675105b77dfe9598915207f1f32790f905f.tar.bz2 |
updated gen83xx BSP
updated haleakala BSP
added MPC55xx BSP
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 |