source: rtems/c/src/lib/libbsp/powerpc/psim/preinstall.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: 3.6 KB
Line 
1## Automatically generated by ampolish3 - Do not edit
2
3if AMPOLISH3
4$(srcdir)/preinstall.am: Makefile.am
5        $(AMPOLISH3) $(srcdir)/Makefile.am > $(srcdir)/preinstall.am
6endif
7
8PREINSTALL_DIRS =
9DISTCLEANFILES += $(PREINSTALL_DIRS)
10
11all-local: $(TMPINSTALL_FILES)
12
13TMPINSTALL_FILES =
14CLEANFILES = $(TMPINSTALL_FILES)
15
16all-am: $(PREINSTALL_FILES)
17
18PREINSTALL_FILES =
19CLEANFILES += $(PREINSTALL_FILES)
20
21$(PROJECT_LIB)/$(dirstamp):
22        @$(MKDIR_P) $(PROJECT_LIB)
23        @: > $(PROJECT_LIB)/$(dirstamp)
24PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
25
26$(PROJECT_INCLUDE)/$(dirstamp):
27        @$(MKDIR_P) $(PROJECT_INCLUDE)
28        @: > $(PROJECT_INCLUDE)/$(dirstamp)
29PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
30
31$(PROJECT_INCLUDE)/bsp/$(dirstamp):
32        @$(MKDIR_P) $(PROJECT_INCLUDE)/bsp
33        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
34PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
35
36$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
37        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
38PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
39
40$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
41        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
42PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
43
44$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
45        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
46PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
47
48$(PROJECT_INCLUDE)/psim.h: include/psim.h $(PROJECT_INCLUDE)/$(dirstamp)
49        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/psim.h
50PREINSTALL_FILES += $(PROJECT_INCLUDE)/psim.h
51
52$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
53        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
54PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
55
56$(PROJECT_INCLUDE)/bsp/bootcard.h: ../../shared/include/bootcard.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
57        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/bootcard.h
58PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bootcard.h
59
60$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
61        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
62PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
63
64$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
65        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
66TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
67
68$(PROJECT_LIB)/rtems_crti.$(OBJEXT): rtems_crti.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
69        $(INSTALL_DATA) $< $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
70TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
71
72$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
73        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
74PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
75
76$(PROJECT_INCLUDE)/bsp/irq.h: irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
77        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
78PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
79
80$(PROJECT_INCLUDE)/bsp/openpic.h: ../shared/openpic/openpic.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
81        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/openpic.h
82PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/openpic.h
83
84$(PROJECT_INCLUDE)/bsp/vectors.h: ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
85        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vectors.h
86PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vectors.h
87
88$(PROJECT_INCLUDE)/bsp/irq_supp.h: ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
89        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq_supp.h
90PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq_supp.h
91
92$(PROJECT_INCLUDE)/bsp/ppc_exc_bspsupp.h: ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
93        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/ppc_exc_bspsupp.h
94PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/ppc_exc_bspsupp.h
95
Note: See TracBrowser for help on using the repository browser.