[694c31f9] | 1 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
| 2 | |
---|
| 3 | include $(top_srcdir)/../../../../automake/compile.am |
---|
| 4 | |
---|
| 5 | include_bspdir = $(includedir)/bsp |
---|
| 6 | include_arm_freescale_imxdir = $(includedir)/arm/freescale/imx |
---|
| 7 | |
---|
| 8 | dist_project_lib_DATA = bsp_specs |
---|
| 9 | |
---|
| 10 | ############################################################################### |
---|
| 11 | # Header # |
---|
| 12 | ############################################################################### |
---|
| 13 | |
---|
| 14 | include_HEADERS = include/bsp.h |
---|
| 15 | include_HEADERS += include/tm27.h |
---|
| 16 | |
---|
[e58e29fd] | 17 | nodist_include_HEADERS = include/bspopts.h |
---|
[694c31f9] | 18 | |
---|
| 19 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
| 20 | |
---|
| 21 | include_bsp_HEADERS = |
---|
| 22 | include_bsp_HEADERS += ../../shared/include/utility.h |
---|
| 23 | include_bsp_HEADERS += ../../shared/include/irq-generic.h |
---|
| 24 | include_bsp_HEADERS += ../../shared/include/irq-info.h |
---|
| 25 | include_bsp_HEADERS += ../../shared/include/stackalloc.h |
---|
| 26 | include_bsp_HEADERS += ../shared/include/start.h |
---|
| 27 | include_bsp_HEADERS += ../shared/include/arm-a9mpcore-regs.h |
---|
| 28 | include_bsp_HEADERS += ../shared/include/arm-a9mpcore-start.h |
---|
| 29 | include_bsp_HEADERS += ../shared/include/arm-cp15-start.h |
---|
| 30 | include_bsp_HEADERS += ../shared/include/arm-errata.h |
---|
| 31 | include_bsp_HEADERS += ../shared/include/arm-gic.h |
---|
| 32 | include_bsp_HEADERS += ../shared/include/arm-gic-irq.h |
---|
| 33 | include_bsp_HEADERS += ../shared/include/arm-gic-regs.h |
---|
| 34 | include_bsp_HEADERS += ../shared/include/arm-gic-tm27.h |
---|
| 35 | include_bsp_HEADERS += ../shared/include/arm-release-id.h |
---|
| 36 | include_bsp_HEADERS += include/irq.h |
---|
| 37 | |
---|
| 38 | include_arm_freescale_imx_HEADERS = |
---|
| 39 | include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_ccmvar.h |
---|
[4bf2ce31] | 40 | include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_ecspireg.h |
---|
[3ad3849a] | 41 | include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_gpcreg.h |
---|
[4bf2ce31] | 42 | include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_i2creg.h |
---|
[54380f42] | 43 | include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_iomuxreg.h |
---|
| 44 | include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_iomuxvar.h |
---|
[3ad3849a] | 45 | include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_srcreg.h |
---|
[694c31f9] | 46 | include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_uartreg.h |
---|
[c52a968] | 47 | include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_wdogreg.h |
---|
[694c31f9] | 48 | |
---|
| 49 | ############################################################################### |
---|
| 50 | # Data # |
---|
| 51 | ############################################################################### |
---|
| 52 | |
---|
| 53 | noinst_LIBRARIES = libbspstart.a |
---|
| 54 | |
---|
| 55 | libbspstart_a_SOURCES = ../shared/start/start.S |
---|
| 56 | |
---|
| 57 | project_lib_DATA = start.$(OBJEXT) |
---|
| 58 | |
---|
| 59 | project_lib_DATA += startup/linkcmds |
---|
| 60 | project_lib_DATA += startup/linkcmds.imx7 |
---|
| 61 | |
---|
| 62 | ############################################################################### |
---|
| 63 | # LibBSP # |
---|
| 64 | ############################################################################### |
---|
| 65 | |
---|
| 66 | noinst_LIBRARIES += libbsp.a |
---|
| 67 | |
---|
| 68 | libbsp_a_SOURCES = |
---|
| 69 | libbsp_a_CPPFLAGS = |
---|
| 70 | libbsp_a_LIBADD = |
---|
| 71 | |
---|
| 72 | # Shared |
---|
| 73 | libbsp_a_SOURCES += ../../shared/bootcard.c |
---|
| 74 | libbsp_a_SOURCES += ../../shared/bspclean.c |
---|
| 75 | libbsp_a_SOURCES += ../../shared/bspgetworkarea.c |
---|
| 76 | libbsp_a_SOURCES += ../../shared/bsppredriverhook.c |
---|
| 77 | libbsp_a_SOURCES += ../../shared/cpucounterdiff.c |
---|
[a8bf9a3] | 78 | libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c |
---|
[694c31f9] | 79 | libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c |
---|
| 80 | libbsp_a_SOURCES += ../../shared/sbrk.c |
---|
| 81 | libbsp_a_SOURCES += ../../shared/timerstub.c |
---|
| 82 | libbsp_a_SOURCES += ../../shared/src/bsp-fdt.c |
---|
| 83 | libbsp_a_SOURCES += ../../shared/src/stackalloc.c |
---|
| 84 | libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S |
---|
| 85 | libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c |
---|
| 86 | libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c |
---|
| 87 | |
---|
| 88 | # Startup |
---|
| 89 | libbsp_a_SOURCES += startup/bspreset.c |
---|
| 90 | libbsp_a_SOURCES += startup/bspstart.c |
---|
| 91 | libbsp_a_SOURCES += startup/ccm.c |
---|
[54380f42] | 92 | libbsp_a_SOURCES += startup/imx_iomux.c |
---|
[694c31f9] | 93 | if HAS_SMP |
---|
[29919242] | 94 | libbsp_a_SOURCES += ../shared/arm-a9mpcore-smp.c |
---|
[694c31f9] | 95 | libbsp_a_SOURCES += startup/bspsmp.c |
---|
| 96 | endif |
---|
| 97 | |
---|
| 98 | # IRQ |
---|
| 99 | libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c |
---|
| 100 | libbsp_a_SOURCES += ../../shared/src/irq-generic.c |
---|
| 101 | libbsp_a_SOURCES += ../../shared/src/irq-info.c |
---|
| 102 | libbsp_a_SOURCES += ../../shared/src/irq-legacy.c |
---|
| 103 | libbsp_a_SOURCES += ../../shared/src/irq-server.c |
---|
| 104 | libbsp_a_SOURCES += ../../shared/src/irq-shell.c |
---|
| 105 | libbsp_a_SOURCES += ../shared/arm-gic-irq.c |
---|
| 106 | |
---|
| 107 | # Console |
---|
| 108 | libbsp_a_SOURCES += ../../shared/console-termios.c |
---|
| 109 | libbsp_a_SOURCES += console/console-config.c |
---|
| 110 | |
---|
| 111 | # Clock |
---|
| 112 | libbsp_a_SOURCES += ../../shared/clockdrv_shell.h |
---|
| 113 | libbsp_a_SOURCES += ../shared/arm-generic-timer-clock-config.c |
---|
| 114 | |
---|
| 115 | # Cache |
---|
| 116 | libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c |
---|
| 117 | libbsp_a_SOURCES += ../shared/include/arm-cache-l1.h |
---|
| 118 | libbsp_a_SOURCES += ../shared/armv467ar-basic-cache/cache_.h |
---|
| 119 | libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/armv467ar-basic-cache |
---|
| 120 | |
---|
[f043b9b] | 121 | # I2C |
---|
| 122 | libbsp_a_SOURCES += i2c/imx-i2c.c |
---|
| 123 | |
---|
[170df3d] | 124 | # SPI |
---|
| 125 | libbsp_a_SOURCES += spi/imx-ecspi.c |
---|
| 126 | |
---|
[694c31f9] | 127 | # Start hooks |
---|
| 128 | libbsp_a_SOURCES += startup/bspstarthooks.c |
---|
| 129 | |
---|
| 130 | ############################################################################### |
---|
| 131 | # Special Rules # |
---|
| 132 | ############################################################################### |
---|
| 133 | |
---|
| 134 | DISTCLEANFILES = include/bspopts.h |
---|
| 135 | |
---|
| 136 | include $(srcdir)/preinstall.am |
---|
| 137 | include $(top_srcdir)/../../../../automake/local.am |
---|