source: rtems/c/src/lib/libbsp/powerpc/papyrus/wrapup/Makefile.am @ 80e5391

4.104.114.84.95
Last change on this file since 80e5391 was 80e5391, checked in by Joel Sherrill <joel.sherrill@…>, on 07/07/00 at 19:36:14

Moved old_exception_processing and new_exception_processing directories
from score/cpu to libcpu because the determination of which to use is
based on RTEMS_CPU_MODEL. Thus it can not be determined based solely on
multilib information.

  • Property mode set to 100644
File size: 1013 bytes
RevLine 
[df49c60]1##
[4e36a2f]2## $Id$
[df49c60]3##
[4e36a2f]4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7BSP_PIECES = startup dlentry flashentry
8# pieces to pick up out of libcpu/ppc
[9e3e2d6]9CPU_PIECES = clock timer console vectors ictrl
[4e36a2f]10
11# bummer; have to use $foreach since % pattern subst rules only replace 1x
[9e3e2d6]12OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
[80e5391]13 $(wildcard ../../../../libcpu/powerpc/old_exception_processing/$(ARCH)/*.rel) \
14 $(foreach piece, $(CPU_PIECES), ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(piece)/$(ARCH)/$(piece).rel)
[9e3e2d6]15
[4e36a2f]16LIB = $(ARCH)/libbsp.a
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19include $(top_srcdir)/../../../../../../automake/lib.am
20
21#
22# (OPTIONAL) Add local stuff here using +=
23#
24
25$(LIB): $(OBJS)
26        $(make-library)
27
28$(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB)
29        $(INSTALL_DATA) $< $@
30
31TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a
32
33all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
34
35.PRECIOUS: $(LIB)
36
37include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.