source: rtems/c/src/lib/libcpu/powerpc/mpc6xx/mmu/Makefile.am @ bc2f04f

4.104.114.84.95
Last change on this file since bc2f04f was bc2f04f, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 10, 2000 at 2:50:45 PM

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: 805 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7PGM = ${ARCH}/mmu.rel
8
9## C sources
10C_FILES = bat.c
11
12## Assembly sources
13S_FILES = mmuAsm.S
14
15H_FILES = bat.h
16noinst_HEADERS = $(H_FILES)
17
18mmu_rel_OBJECTS = $(C_FILES:%.c=${ARCH}/%.o) $(S_FILES:%.S=${ARCH}/%.o)
19
20include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
21include $(top_srcdir)/../../../../../automake/lib.am
22
23$(PROJECT_INCLUDE)/libcpu:
24        $(mkinstalldirs) $@
25$(PROJECT_INCLUDE)/libcpu/%.h: %.h
26        $(INSTALL_DATA) $< $@
27
28TMPINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu $(PROJECT_INCLUDE)/libcpu/bat.h
29
30#
31# (OPTIONAL) Add local stuff here using +=
32#
33
34AM_CFLAGS = $(CFLAGS_OS_V)
35
36$(PGM): $(mmu_rel_OBJECTS)
37        $(make-rel)
38
39all-local: ${ARCH} $(PGM) $(TMPINSTALL_FILES)
40
41EXTRA_DIST = $(C_FILES) $(S_FILES)
42
43include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.