Add uC5282 support.

This commit is contained in:
W. Eric Norum
2005-02-01 20:45:09 +00:00
parent f4af3b6955
commit 0cd520d093
2 changed files with 24 additions and 1 deletions

View File

@@ -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
#-------------------------------------------------------

View File

@@ -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