From 0cd520d093962bfcc9fe3387bb2f08ea1674ec0d Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Tue, 1 Feb 2005 20:45:09 +0000 Subject: [PATCH] Add uC5282 support. --- configure/os/CONFIG.Common.RTEMS | 2 +- configure/os/CONFIG.Common.RTEMS-uC5282 | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 configure/os/CONFIG.Common.RTEMS-uC5282 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