[dc0a7df] | 1 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
| 2 | |
---|
| 3 | include $(top_srcdir)/../../../../automake/compile.am |
---|
| 4 | |
---|
| 5 | include_bspdir = $(includedir)/bsp |
---|
| 6 | |
---|
| 7 | dist_project_lib_DATA = bsp_specs |
---|
| 8 | |
---|
| 9 | include_HEADERS = include/bsp.h |
---|
| 10 | include_HEADERS += include/tm27.h |
---|
| 11 | |
---|
| 12 | nodist_include_HEADERS = include/bspopts.h |
---|
| 13 | DISTCLEANFILES = include/bspopts.h |
---|
| 14 | |
---|
| 15 | EXTRA_DIST = README |
---|
| 16 | |
---|
| 17 | noinst_PROGRAMS = |
---|
| 18 | |
---|
| 19 | include_HEADERS += ../../shared/include/coverhd.h |
---|
| 20 | |
---|
| 21 | nodist_include_HEADERS += ../../shared/tod.h |
---|
| 22 | |
---|
| 23 | include_bsp_HEADERS = include/irq.h \ |
---|
| 24 | ../../shared/include/irq-generic.h \ |
---|
| 25 | ../../shared/include/irq-info.h \ |
---|
| 26 | ../../shared/include/bootcard.h \ |
---|
| 27 | ../../shared/include/u-boot.h \ |
---|
| 28 | ../../shared/include/utility.h \ |
---|
| 29 | ../shared/include/u-boot-board-info.h \ |
---|
| 30 | ../shared/include/start.h \ |
---|
| 31 | ../shared/include/tictac.h \ |
---|
| 32 | ../shared/include/linker-symbols.h \ |
---|
| 33 | include/hwreg_vals.h \ |
---|
| 34 | include/tsec-config.h \ |
---|
| 35 | include/u-boot-config.h \ |
---|
| 36 | include/mmu.h \ |
---|
| 37 | include/intercom.h \ |
---|
| 38 | include/uart-bridge.h \ |
---|
| 39 | include/qoriq.h |
---|
| 40 | |
---|
| 41 | noinst_LIBRARIES = libbspstart.a |
---|
| 42 | libbspstart_a_SOURCES = start/start.S |
---|
| 43 | project_lib_DATA = start.$(OBJEXT) |
---|
| 44 | |
---|
| 45 | libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S |
---|
| 46 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
| 47 | |
---|
| 48 | dist_project_lib_DATA += startup/linkcmds \ |
---|
[f23c9ed] | 49 | ../shared/startup/linkcmds.base \ |
---|
[dc0a7df] | 50 | startup/linkcmds.qoriq_core_0 \ |
---|
| 51 | startup/linkcmds.qoriq_core_1 \ |
---|
| 52 | startup/linkcmds.qoriq_p1020rdb |
---|
| 53 | |
---|
| 54 | noinst_LIBRARIES += libbsp.a |
---|
| 55 | libbsp_a_SOURCES = |
---|
| 56 | |
---|
| 57 | # Startup |
---|
| 58 | libbsp_a_SOURCES += ../../shared/bsplibc.c \ |
---|
| 59 | ../../shared/bsppost.c \ |
---|
| 60 | ../../shared/bootcard.c \ |
---|
| 61 | ../../shared/bsppretaskinghook.c \ |
---|
| 62 | ../../shared/sbrk.c \ |
---|
| 63 | ../../shared/gnatinstallhandler.c \ |
---|
| 64 | ../../shared/bspclean.c \ |
---|
| 65 | ../../shared/bspgetworkarea.c \ |
---|
| 66 | ../../shared/src/bsp-uboot-board-info.c \ |
---|
| 67 | ../shared/src/tictac.c \ |
---|
| 68 | ../shared/src/bsp-start-zero.S \ |
---|
| 69 | ../shared/startup/bspidle.c \ |
---|
| 70 | ../shared/uboot_getenv.c \ |
---|
| 71 | ../shared/uboot_dump_bdinfo.c \ |
---|
| 72 | startup/mmu.c \ |
---|
| 73 | startup/mmu-tlb1.S \ |
---|
| 74 | startup/mmu-config.c \ |
---|
| 75 | startup/bsppredriverhook.c \ |
---|
| 76 | startup/bspstart.c \ |
---|
| 77 | startup/bspreset.c |
---|
| 78 | |
---|
| 79 | # Clock |
---|
| 80 | libbsp_a_SOURCES += clock/clock-config.c \ |
---|
| 81 | ../../shared/clockdrv_shell.h |
---|
| 82 | |
---|
[35809f5] | 83 | # Timer |
---|
| 84 | libbsp_a_SOURCES += timer/timer.c |
---|
| 85 | |
---|
[dc0a7df] | 86 | # IRQ |
---|
[0f31fddc] | 87 | libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c |
---|
| 88 | libbsp_a_SOURCES += ../../shared/src/irq-generic.c |
---|
| 89 | libbsp_a_SOURCES += ../../shared/src/irq-info.c |
---|
| 90 | libbsp_a_SOURCES += ../../shared/src/irq-legacy.c |
---|
| 91 | libbsp_a_SOURCES += ../../shared/src/irq-server.c |
---|
| 92 | libbsp_a_SOURCES += ../../shared/src/irq-shell.c |
---|
| 93 | libbsp_a_SOURCES += irq/irq.c |
---|
[dc0a7df] | 94 | |
---|
| 95 | # Console |
---|
| 96 | libbsp_a_SOURCES += ../../shared/console.c \ |
---|
[964c734b] | 97 | ../../shared/console_select.c \ |
---|
[dc0a7df] | 98 | console/uart-bridge-master.c \ |
---|
| 99 | console/uart-bridge-slave.c \ |
---|
[964c734b] | 100 | console/console-config.c \ |
---|
| 101 | ../../shared/console_read.c \ |
---|
| 102 | ../../shared/console_write.c \ |
---|
| 103 | ../../shared/console_control.c |
---|
| 104 | |
---|
[dc0a7df] | 105 | |
---|
| 106 | # RTC |
---|
| 107 | libbsp_a_SOURCES += ../../shared/tod.c \ |
---|
| 108 | rtc/rtc-config.c |
---|
| 109 | |
---|
| 110 | # MPCI |
---|
| 111 | libbsp_a_SOURCES += shmsupp/lock.S \ |
---|
| 112 | shmsupp/intercom.c \ |
---|
| 113 | shmsupp/intercom-mpci.c |
---|
| 114 | |
---|
| 115 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
| 116 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
| 117 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
| 118 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
| 119 | ../../../libcpu/@RTEMS_CPU@/e500/mmu.rel |
---|
| 120 | |
---|
| 121 | if HAS_NETWORKING |
---|
| 122 | libbsp_a_SOURCES += network/network.c \ |
---|
| 123 | network/if_intercom.c |
---|
| 124 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/tsec.rel |
---|
| 125 | endif |
---|
| 126 | |
---|
| 127 | include $(srcdir)/preinstall.am |
---|
| 128 | include $(top_srcdir)/../../../../automake/local.am |
---|