forked from Imagelibrary/rtems
Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the ppc6xx.
This commit is contained in:
@@ -1,90 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = powerpc/mpc750
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
RELS = ../$(ARCH)/rtems-cpu.rel
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = cpu
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
ROOT_H_PIECES =
|
|
||||||
ROOT_H_FILES = $(ROOT_H_PIECES:%=$(srcdir)/%)
|
|
||||||
RTEMS_SCORE_H_PIECES = cpu.h
|
|
||||||
RTEMS_SCORE_H_FILES = $(RTEMS_SCORE_H_PIECES:%=$(srcdir)/%)
|
|
||||||
H_PIECES = $(ROOT_H_PIECES) $(RTEMS_SCORE_H_PIECES)
|
|
||||||
H_FILES = $(H_PIECES%=$(srcdir)/%)
|
|
||||||
I_PIECES = c_isr
|
|
||||||
I_FILES = $(I_PIECES:%=$(srcdir)/%.inl)
|
|
||||||
|
|
||||||
# Assembly source names, if any, go here -- minus the .S
|
|
||||||
S_PIECES = cpu_asm
|
|
||||||
S_FILES = $(S_PIECES:%=%.S)
|
|
||||||
S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
|
|
||||||
|
|
||||||
SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES) \
|
|
||||||
$(I_FILES)
|
|
||||||
OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score $(PROJECT_INCLUDE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES +=
|
|
||||||
CPPFLAGS +=
|
|
||||||
CFLAGS += $(CFLAGS_OS_V)
|
|
||||||
|
|
||||||
LD_PATHS +=
|
|
||||||
LD_LIBS +=
|
|
||||||
LDFLAGS +=
|
|
||||||
|
|
||||||
#
|
|
||||||
# Add your list of files to delete here. The config files
|
|
||||||
# already know how to delete some stuff, so you may want
|
|
||||||
# to just run 'make clean' first to see what gets missed.
|
|
||||||
# 'make clobber' already includes 'make clean'
|
|
||||||
#
|
|
||||||
|
|
||||||
CLEAN_ADDITIONS +=
|
|
||||||
CLOBBER_ADDITIONS +=
|
|
||||||
|
|
||||||
../$(ARCH)/rtems-cpu.rel: $(OBJS)
|
|
||||||
test -d ../$(ARCH) || mkdir ../$(ARCH)
|
|
||||||
$(make-rel)
|
|
||||||
|
|
||||||
all: ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS)
|
|
||||||
|
|
||||||
# Install the program(s), appending _g or _p as appropriate.
|
|
||||||
# for include files, just use $(INSTALL_CHANGE)
|
|
||||||
install: all
|
|
||||||
|
|
||||||
preinstall: ${ARCH}
|
|
||||||
@$(INSTALL_CHANGE) -m 644 $(RTEMS_SCORE_H_FILES) $(I_FILES) $(PROJECT_INCLUDE)/rtems/score
|
|
||||||
@$(INSTALL_CHANGE) -m 644 $(ROOT_H_FILES) $(PROJECT_INCLUDE)
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
Reference in New Issue
Block a user