source: rtems/c/src/lib/libcpu/powerpc/wrapup/Makefile.am @ 0ab65474

4.104.114.84.95
Last change on this file since 0ab65474 was bc2f04f, checked in by Joel Sherrill <joel.sherrill@…>, on 01/10/00 at 14:50:45

Patch rtems-rc-20000104-13.diff from Ralf Corsepius <corsepiu@…>
which does the following:

  • some cleanups, fixes, addtions to the libbsp automake transition patches
  • The missing Automake transistion patches all libcpu/<cpu>/<variant>/* previously not yet been converted to automake (libcpu/powerpc, libcpu/hppa1.1, libcpu/mips64orion, libcpu/sparc)

=> With this patch, libcpu/*/* is under full automake control.

NOTES:

  • This patch is tested by building for random set of bsps affected by this patch, but not tested for all BSPs.
  • The parts of this patch related to libcpu/powerpc fix many small bugs inside of those Makefiles.
  • Have a look into libcpu/powerpc/mpc6xx/, which is in rather bad shape, IMO. Obviously most subdirectories seem to be build but are not included into libcpu.a by wrapup/Makefile. Addtionally, no actual BSP uses this cpu-variant subdirectory. Furthermore libcpu/powerpc/mpc6xx has a different directory layout than all other powerpc/<variant>/ directories.

Joel's note: I agree but the issue is that there is a conflict between
including timer or clock in libcpu/XXX/wrapup/Makefile.* and letting
a BSP specifically decide to pick it up. There is no clear solution
to this at the moment.

  • Property mode set to 100644
File size: 875 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7GENERIC_FILES = shared
8
9# Use two variables so that I can make two ar command.
10# So far FAMILY_OBJS is empty and ar dislike it...
11CPU_SPECIFIC_OBJS = $(wildcard ../$(RTEMS_CPU_MODEL)/*/$(ARCH)/*.o)
12FAMILY_OBJS = $(wildcard ../shared/$(ARCH)/*.o ../shared/*/$(ARCH)/*.o \
13    ../mpc6xx/*/$(ARCH)/*.o)
14
15LIB = $(ARCH)/libcpu.a
16
17include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18include $(top_srcdir)/../../../../../automake/lib.am
19
20#
21# (OPTIONAL) Add local stuff here using +=
22#
23
24libcpu_a_OBJECTS = $(CPU_SPECIFIC_OBJS) $(FAMILY_OBJS)
25
26$(LIB): $(libcpu_a_OBJECTS)
27        ${make-library}
28
29$(PROJECT_RELEASE)/lib/libcpu$(LIB_VARIANT).a: $(LIB)
30        $(INSTALL_DATA) $< $@
31
32TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libcpu$(LIB_VARIANT).a
33
34all-local: ${ARCH} $(LIB) $(TMPINSTALL_FILES)
35
36include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.