diff --git a/configure/os/CONFIG.Common.RTEMS b/configure/os/CONFIG.Common.RTEMS index 11eb883cf..e5ae6e9aa 100644 --- a/configure/os/CONFIG.Common.RTEMS +++ b/configure/os/CONFIG.Common.RTEMS @@ -15,7 +15,7 @@ #------------------------------------------------------- # Where to find RTEMS -RTEMS_BASE=/opt/rtems-4.7 +RTEMS_BASE=/opt/rtems/rtems-4.7 RTEMS_VERSION=4.7 #------------------------------------------------------- diff --git a/configure/os/CONFIG.Common.RTEMS-uC5282 b/configure/os/CONFIG.Common.RTEMS-uC5282 new file mode 100644 index 000000000..cab6d2738 --- /dev/null +++ b/configure/os/CONFIG.Common.RTEMS-uC5282 @@ -0,0 +1,23 @@ +# +# $Id$ +# Author: W. Eric Norum +# Canadian Light Source +# eric@cls.usask.ca +# +# All RTEMS targets use the same Makefile fragment +# +RTEMS_TARGET_CPU = m68k +ARCH_DEP_CFLAGS += -DMY_DO_BOOTP=NULL + +MUNCH_SUFFIX = .boot +MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX)) +define MUNCH_CMD + $(RTEMS_BASE)/bin/$(OBJCOPY_FOR_TARGET) -O binary -R .comment -S $< $@ +endef + +include $(CONFIG)/os/CONFIG.Common.RTEMS + +# +# Must put this one so it shows up after the -m528x +# +OP_SYS_LDFLAGS += -m5200