source: rtems/c/src/lib/libbsp/a29k/portsw/wrapup/Makefile.am @ a1f89b4

4.104.114.84.95
Last change on this file since a1f89b4 was 21677c0e, checked in by Joel Sherrill <joel.sherrill@…>, on 01/26/00 at 14:20:08

Patch rtems-rc-20000118-0.diff from Ralf Corsepius <corsepiu@…>
that converts the a29k to automake.

This patch contains

  • An initial merger of the libcpu/a29k stuff you sent yesterday. AFAIS, most code inside them seems to be empty stubs. One file even contains a function called mips_* which might indicate that this part might contain mips code or the code the initial porter used as template for porting. Unfortunately, I don't know anything about the a29k so I can't comment on the details.
  • A dummy bsp_specs to libbsp/29k/portsw
  • An update to the automake files related to the a29k.

Note:

  • This patch is completely untested, because I don't have a toolchain for it.
  • The files in libcpu/a29k include bsp.h => The libbsp vs. libcpu-issue hits again.
  • Property mode set to 100644
File size: 927 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7if HAS_MP
8MP_BSP_O_FILES = shmsupp
9endif
10
11BSP_FILES = startup console iic ethernet flash nvram $(MP_BSP_O_FILES)
12CPU_FILES = clock timer
13
14# bummer; have to use $foreach since % pattern subst rules only replace 1x
15OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
16    $(foreach piece, $(CPU_FILES), ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel)
17LIB = $(ARCH)/libbsp.a
18
19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
20include $(top_srcdir)/../../../../../../automake/lib.am
21
22#
23# (OPTIONAL) Add local stuff here using +=
24#
25
26$(LIB): $(OBJS)
27        $(make-library)
28
29$(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB)
30        $(INSTALL_DATA) $< $@
31
32TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a
33
34all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
35
36.PRECIOUS: $(LIB)
37
38include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.