source: rtems/c/src/lib/libbsp/powerpc/psim/Makefile.am @ 507d382

4.104.115
Last change on this file since 507d382 was b094233, checked in by Till Straumann <strauman@…>, on Sep 11, 2009 at 5:13:42 PM

2009-09-11 Till Straumann <strauman@…>

  • Makefile.am, preinstall.am, irq/no_pic.c (REMOVED), irq/irq.h, irq/irq_init.c: use openpic from 'shared' area instead of no_pic.
  • inlude/psim.h: use openpic from 'shared' area instead of no_pic. Added 'extern' declaration for (linker-script defined) RamBase? and RamSize? symbols. Let CPP macros expand to these symbols instead of static constants. Added register definitions for OpenPIC in the register area. Added register definitions for ethernet controller in the register area.
  • startup/linkcmds: Increased RamSize? to 16M. Increased 'RAM' memory region to 32M (there is really no disadvantage in making this large). Added comment explaining the inter-relation between RamSize?, the size of the memory region, the device-tree property "oea-memory-size" and the DBAT setting.
  • tools/psim-shared: Try to determine RamSize? from executable and set 'oea-memory-size' accordingly. May be overridden if 'RAM_SIZE' envvar is set. Added openpic to device-tree. Added ethernet controller to device-tree (commented because a PSIM patch is currently required to use this device).
  • startup/bspstart: Increase DBAT0 mapping to size of 32M.
  • Property mode set to 100644
File size: 2.5 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7SUBDIRS = . tools
8
9include $(top_srcdir)/../../../../automake/compile.am
10
11include_bspdir = $(includedir)/bsp
12
13dist_project_lib_DATA = bsp_specs
14
15include_HEADERS = include/bsp.h
16include_HEADERS += include/tm27.h
17include_HEADERS += include/psim.h
18
19nodist_include_HEADERS = include/bspopts.h
20nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
21DISTCLEANFILES = include/bspopts.h
22
23include_HEADERS += include/coverhd.h
24
25noinst_LIBRARIES = libbspstart.a
26libbspstart_a_SOURCES = start/start.S
27project_lib_DATA = start.$(OBJEXT)
28
29libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
30project_lib_DATA += rtems_crti.$(OBJEXT)
31
32dist_project_lib_DATA += startup/linkcmds
33
34noinst_LIBRARIES += libbsp.a
35libbsp_a_SOURCES =
36
37# startup
38libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
39    ../../shared/bsppost.c ../../shared/bsppretaskinghook.c \
40    ../../shared/bsppredriverhook.c startup/bspstart.c \
41    ../../powerpc/shared/startup/bspgetworkarea.c ../../shared/bootcard.c \
42    ../../powerpc/shared/startup/sbrk.c ../../shared/gnatinstallhandler.c \
43    startup/psim_registers.c
44
45# pclock
46libbsp_a_SOURCES += ../shared/clock/p_clock.c
47# console
48libbsp_a_SOURCES += ../../shared/console-polled.c
49# debugio
50libbsp_a_SOURCES += console/console-io.c console/consupp.S
51
52# irq
53include_bsp_HEADERS = irq/irq.h ../shared/openpic/openpic.h
54libbsp_a_SOURCES += irq/irq_init.c ../shared/irq/openpic_i8259_irq.c ../shared/openpic/openpic.c
55
56EXTRA_DIST = vectors/README
57# vectors
58libbsp_a_SOURCES += vectors/align_h.S
59
60include_bsp_HEADERS += \
61        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h   \
62        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h  \
63        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h
64
65EXTRA_DIST += shmsupp/README
66if HAS_MP
67# shmdr
68libbsp_a_SOURCES += \
69    shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c shmsupp/mpisr.c
70endif
71
72libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
73    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
74    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
75    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
76    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
77    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
78    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
79    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
80    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
81
82include $(srcdir)/preinstall.am
83include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.