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

4.104.115
Last change on this file since b094233 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
RevLine 
[df49c60]1##
[4e36a2f]2## $Id$
[df49c60]3##
[4e36a2f]4
[fe8bc62]5ACLOCAL_AMFLAGS = -I ../../../../aclocal
[4e36a2f]6
[5133bd6]7SUBDIRS = . tools
[4e36a2f]8
[ac73276b]9include $(top_srcdir)/../../../../automake/compile.am
[4e36a2f]10
[c06b3fa]11include_bspdir = $(includedir)/bsp
12
[2a7f9a28]13dist_project_lib_DATA = bsp_specs
14
15include_HEADERS = include/bsp.h
[3defec6]16include_HEADERS += include/tm27.h
[39cc10a]17include_HEADERS += include/psim.h
[71cbb66]18
[2a7f9a28]19nodist_include_HEADERS = include/bspopts.h
[c06b3fa]20nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
[71cbb66]21DISTCLEANFILES = include/bspopts.h
[2a7f9a28]22
[db0b369]23include_HEADERS += include/coverhd.h
24
[81ec5044]25noinst_LIBRARIES = libbspstart.a
26libbspstart_a_SOURCES = start/start.S
[71cbb66]27project_lib_DATA = start.$(OBJEXT)
[ad1abd3]28
[81ec5044]29libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
[71cbb66]30project_lib_DATA += rtems_crti.$(OBJEXT)
[270ce1ff]31
[ac73276b]32dist_project_lib_DATA += startup/linkcmds
33
[81ec5044]34noinst_LIBRARIES += libbsp.a
[64eb0c7]35libbsp_a_SOURCES =
[ed8206b]36
[64eb0c7]37# startup
38libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
[08808cb]39    ../../shared/bsppost.c ../../shared/bsppretaskinghook.c \
[e76068d]40    ../../shared/bsppredriverhook.c startup/bspstart.c \
[af2eb77]41    ../../powerpc/shared/startup/bspgetworkarea.c ../../shared/bootcard.c \
42    ../../powerpc/shared/startup/sbrk.c ../../shared/gnatinstallhandler.c \
[39cc10a]43    startup/psim_registers.c
[757801b]44
[64eb0c7]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
[8c5707a]51
[64eb0c7]52# irq
[b094233]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
[ac73276b]55
[81ec5044]56EXTRA_DIST = vectors/README
[64eb0c7]57# vectors
58libbsp_a_SOURCES += vectors/align_h.S
[ac73276b]59
[1e556198]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
[270ce1ff]64
[ac73276b]65EXTRA_DIST += shmsupp/README
[81ec5044]66if HAS_MP
[64eb0c7]67# shmdr
68libbsp_a_SOURCES += \
[ed8206b]69    shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c shmsupp/mpisr.c
[ac73276b]70endif
71
[ed8206b]72libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
[5133bd6]73    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
74    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
75    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
[78f96ab]76    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
[1e556198]77    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
[7988f8e]78    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
[5133bd6]79    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
80    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
81
[7cc4f59]82include $(srcdir)/preinstall.am
[ebdf51f]83include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.