Changeset 2afb22b in rtems for c/src/lib/libcpu


Ignore:
Timestamp:
Dec 23, 2017, 7:18:56 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
5, master
Children:
d8de6b9
Parents:
9704efb4
git-author:
Chris Johns <chrisj@…> (12/23/17 07:18:56)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/25/18 07:45:26)
Message:

Remove make preinstall

A speciality of the RTEMS build system was the make preinstall step. It
copied header files from arbitrary locations into the build tree. The
header files were included via the -Bsome/build/tree/path GCC command
line option.

This has at least seven problems:

  • The make preinstall step itself needs time and disk space.
  • Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error.
  • There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult.
  • The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit.
  • An introduction of a new build system is difficult.
  • Include paths specified by the -B option are system headers. This may suppress warnings.
  • The parallel build had sporadic failures on some hosts.

This patch removes the make preinstall step. All installed header
files are moved to dedicated include directories in the source tree.
Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc,
etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g.
erc32, imx, qoriq, etc.

The new cpukit include directories are:

  • cpukit/include
  • cpukit/score/cpu/@RTEMS_CPU@/include
  • cpukit/libnetworking

The new BSP include directories are:

  • bsps/include
  • bsps/@RTEMS_CPU@/include
  • bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include

There are build tree include directories for generated files.

The include directory order favours the most general header file, e.g.
it is not possible to override general header files via the include path
order.

The "bootstrap -p" option was removed. The new "bootstrap -H" option
should be used to regenerate the "headers.am" files.

Update #3254.

Location:
c/src/lib/libcpu
Files:
11 deleted
23 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/Makefile.am

    r9704efb4 r2afb22b  
    1 include_libcpudir = $(includedir)/libcpu
    2 
    31EXTRA_DIST =
    42EXTRA_DIST += shared/include/cache.h
  • c/src/lib/libcpu/arm/Makefile.am

    r9704efb4 r2afb22b  
    77noinst_PROGRAMS =
    88
    9 include_bspdir = $(includedir)/bsp
    10 include_libcpudir = $(includedir)/libcpu
    11 
    12 include_bsp_HEADERS =
    13 include_libcpu_HEADERS =
    14 
    159## shared/include
    1610if shared
    17 
    18 include_libcpu_HEADERS += shared/include/mmu.h
    1911
    2012## shared/arm920
     
    2517endif
    2618
    27 include $(srcdir)/preinstall.am
    2819include $(top_srcdir)/../../../automake/local.am
  • c/src/lib/libcpu/arm/configure.ac

    r9704efb4 r2afb22b  
    55AC_CONFIG_SRCDIR([shared])
    66RTEMS_TOP([../../../../..],[../../..])
     7RTEMS_SOURCE_TOP
     8RTEMS_BUILD_TOP
    79
    810RTEMS_CANONICAL_TARGET_CPU
  • c/src/lib/libcpu/bfin/Makefile.am

    r9704efb4 r2afb22b  
    77noinst_PROGRAMS =
    88
    9 include_bspdir = $(includedir)/bsp
    10 include_libcpudir = $(includedir)/libcpu
    11 
    12 include_bsp_HEADERS =
    13 include_libcpu_HEADERS =
    14 
    159
    1610############
     
    1812if bf52x
    1913
    20 include_HEADERS = bf52x/include/bf52x.h
    21 
    2214## INTERRUPT
    23 include_bsp_HEADERS += bf52x/interrupt/interrupt.h
    2415noinst_PROGRAMS += bf52x/interrupt.rel
    2516bf52x_interrupt_rel_SOURCES = bf52x/interrupt/interrupt.c \
     
    3223############
    3324
    34 include_libcpu_HEADERS += include/bf533.h
    35 include_libcpu_HEADERS += include/bf537.h
    36 include_libcpu_HEADERS += include/cecRegs.h
    37 include_libcpu_HEADERS += include/memoryRegs.h
    38 include_libcpu_HEADERS += include/mmuRegs.h
    39 include_libcpu_HEADERS += include/sicRegs.h
    40 include_libcpu_HEADERS += include/ebiuRegs.h
    41 include_libcpu_HEADERS += include/ppiRegs.h
    42 include_libcpu_HEADERS += include/coreTimerRegs.h
    43 include_libcpu_HEADERS += include/wdogRegs.h
    44 include_libcpu_HEADERS += include/timerRegs.h
    45 include_libcpu_HEADERS += include/dmaRegs.h
    46 include_libcpu_HEADERS += include/ethernetRegs.h
    47 include_libcpu_HEADERS += include/uartRegs.h
    48 include_libcpu_HEADERS += include/sportRegs.h
    49 include_libcpu_HEADERS += include/twiRegs.h
    50 include_libcpu_HEADERS += include/spiRegs.h
    51 include_libcpu_HEADERS += include/rtcRegs.h
    52 include_libcpu_HEADERS += include/gpioRegs.h
    53 
    5425noinst_PROGRAMS += cache.rel
    5526cache_rel_SOURCES = cache/cache.c \
     
    5829cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    5930
    60 include_libcpu_HEADERS += mmu/mmu.h
    6131noinst_PROGRAMS += mmu.rel
    6232mmu_rel_SOURCES = mmu/mmu.c
     
    6737
    6838else
    69 include_libcpu_HEADERS += interrupt/interrupt.h
    7039noinst_PROGRAMS += interrupt.rel
    7140interrupt_rel_SOURCES = interrupt/interrupt.c
     
    8554rtc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    8655
    87 include_libcpu_HEADERS += serial/uart.h
    8856noinst_PROGRAMS += uart.rel
    8957uart_rel_SOURCES = serial/uart.c
     
    9159uart_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    9260
    93 include_libcpu_HEADERS += serial/sport.h
    9461noinst_PROGRAMS += sport.rel
    9562sport_rel_SOURCES = serial/sport.c
     
    9764sport_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    9865
    99 include_libcpu_HEADERS += serial/spi.h
    10066noinst_PROGRAMS += spi.rel
    10167spi_rel_SOURCES = serial/spi.c
     
    10369spi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    10470
    105 include_libcpu_HEADERS += serial/twi.h
    10671noinst_PROGRAMS += twi.rel
    10772twi_rel_SOURCES = serial/twi.c
     
    11681if HAS_NETWORKING
    11782## network
    118 include_libcpu_HEADERS += network/ethernet.h
    11983network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    12084noinst_PROGRAMS += network.rel
     
    12488endif
    12589
    126 include $(srcdir)/preinstall.am
    12790include $(top_srcdir)/../../../automake/local.am
  • c/src/lib/libcpu/bfin/configure.ac

    r9704efb4 r2afb22b  
    44AC_INIT([rtems-c-src-lib-libcpu-bfin],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
    55RTEMS_TOP([../../../../..],[../../..])
     6RTEMS_SOURCE_TOP
     7RTEMS_BUILD_TOP
    68
    79RTEMS_CANONICAL_TARGET_CPU
  • c/src/lib/libcpu/i386/Makefile.am

    r9704efb4 r2afb22b  
    44
    55include $(top_srcdir)/../../../automake/compile.am
    6 
    7 include_libcpudir = $(includedir)/libcpu
    8 
    9 include_libcpu_HEADERS = page.h cpuModel.h
    10 include_libcpu_HEADERS += byteorder.h
    116
    127noinst_PROGRAMS += cache.rel
     
    2621page_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    2722
    28 include $(srcdir)/preinstall.am
    2923include $(top_srcdir)/../../../automake/local.am
  • c/src/lib/libcpu/i386/configure.ac

    r9704efb4 r2afb22b  
    55AC_CONFIG_SRCDIR([idtr.S])
    66RTEMS_TOP([../../../../..],[../../..])
     7RTEMS_SOURCE_TOP
     8RTEMS_BUILD_TOP
    79
    810RTEMS_CANONICAL_TARGET_CPU
  • c/src/lib/libcpu/lm32/Makefile.am

    r9704efb4 r2afb22b  
    2222endif
    2323
    24 include $(srcdir)/preinstall.am
    2524
    2625include $(top_srcdir)/../../../automake/local.am
  • c/src/lib/libcpu/lm32/configure.ac

    r9704efb4 r2afb22b  
    44AC_INIT([rtems-c-src-lib-libcpu-lm32],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
    55RTEMS_TOP([../../../../..],[../../..])
     6RTEMS_SOURCE_TOP
     7RTEMS_BUILD_TOP
    68
    79RTEMS_CANONICAL_TARGET_CPU
  • c/src/lib/libcpu/m68k/Makefile.am

    r9704efb4 r2afb22b  
    6868if mcf5206
    6969# mcf5206/include
    70 include_mcf5206dir = $(includedir)/mcf5206
    71 include_mcf5206_HEADERS = mcf5206/include/mcf5206e.h mcf5206/include/mcfmbus.h \
    72     mcf5206/include/mcfuart.h
    73 
    7470## mcf5206/clock
    7571noinst_PROGRAMS += mcf5206/clock.rel
     
    9995if mcf5223x
    10096## mcf5223x/include
    101 include_mcf5223xdir = $(includedir)/mcf5223x
    102 include_mcf5223x_HEADERS = mcf5223x/include/mcf5223x.h
    103 
    10497## mcf5223x/cache
    10598noinst_PROGRAMS += mcf5223x/cachepd.rel
     
    111104if mcf5225x
    112105## mcf5225x/include
    113 include_mcf5225xdir = $(includedir)/mcf5225x
    114 include_mcf5225x_HEADERS = mcf5225x/include/mcf5225x.h
    115 
    116106# mcf5225x/cache
    117107noinst_PROGRAMS += mcf5225x/cachepd.rel
     
    122112# Network
    123113if HAS_NETWORKING
    124 include_mcf5225x_HEADERS += mcf5225x/include/fec.h
    125114endif ## HAS_NETWORKING
    126115endif
     
    128117if mcf5235
    129118## mcf5235/include
    130 include_mcf5235dir = $(includedir)/mcf5235
    131 include_mcf5235_HEADERS = mcf5235/include/mcf5235.h
    132 
    133119## mcf5235/cache
    134120noinst_PROGRAMS += mcf5235/cachepd.rel
     
    140126if mcf532x
    141127## mcf532x/include
    142 include_mcf532xdir = $(includedir)/mcf532x
    143 include_mcf532x_HEADERS = mcf532x/include/mcf532x.h
    144 
    145128## mcf532x/cache
    146129noinst_PROGRAMS += mcf532x/cachepd.rel
     
    152135if mcf5272
    153136## mcf5272/include
    154 include_mcf5272dir = $(includedir)/mcf5272
    155 include_mcf5272_HEADERS = mcf5272/include/mcf5272.h
    156 
    157137## clock
    158138noinst_PROGRAMS += mcf5272/clock.rel
     
    170150if mcf5282
    171151## mcf5282/include
    172 include_mcf5282dir = $(includedir)/mcf5282
    173 include_mcf5282_HEADERS = mcf5282/include/mcf5282.h
    174 
    175152noinst_PROGRAMS += mcf5282/cachepd.rel
    176153mcf5282_cachepd_rel_SOURCES = mcf5282/cache/cachepd.c
     
    181158if mcf548x
    182159## mcf548x/include
    183 include_mcf548xdir = $(includedir)/mcf548x
    184 include_mcf548x_HEADERS = mcf548x/include/mcf548x.h
    185 
    186160## mcf548x/mcdma
    187161noinst_PROGRAMS += mcf548x/mcdma.rel
    188 include_mcf548x_HEADERS +=  mcf548x/mcdma/MCD_progCheck.h mcf548x/mcdma/MCD_dma.h \
    189                             mcf548x/mcdma/MCD_tasksInit.h mcf548x/mcdma/mcdma_glue.h
    190162mcf548x_mcdma_rel_SOURCES = mcf548x/mcdma/MCD_dmaApi.c mcf548x/mcdma/MCD_tasksInit.c \
    191163                            mcf548x/mcdma/MCD_tasks.c  mcf548x/mcdma/mcdma_glue.c
     
    195167endif
    196168
    197 include $(srcdir)/preinstall.am
    198169include $(top_srcdir)/../../../automake/local.am
  • c/src/lib/libcpu/m68k/configure.ac

    r9704efb4 r2afb22b  
    55AC_CONFIG_SRCDIR([m68040])
    66RTEMS_TOP([../../../../..],[../../..])
     7RTEMS_SOURCE_TOP
     8RTEMS_BUILD_TOP
    79
    810RTEMS_CANONICAL_TARGET_CPU
  • c/src/lib/libcpu/mips/Makefile.am

    r9704efb4 r2afb22b  
    88
    99## cache
    10 include_libcpudir = $(includedir)/libcpu
    11 
    12 include_libcpu_HEADERS =
    13 
    1410noinst_PROGRAMS += shared/cache.rel
    1511shared_cache_rel_SOURCES = shared/cache/cache.c \
     
    3733shared_interrupts_rel_CPPFLAGS = $(AM_CPPFLAGS) $(interrupts_CPPFLAGS)
    3834shared_interrupts_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    39 include_libcpu_HEADERS += shared/interrupts/isr_entries.h
    40 
    4135if tx39
    42 include_libcpu_HEADERS += tx39/include/tx3904.h
    4336endif
    4437
    4538if tx49
    46 include_libcpu_HEADERS += tx49/include/tx4925.h tx49/include/tx4938.h
    47 
    4839noinst_PROGRAMS += tx49/timer.rel
    4940tx49_timer_rel_SOURCES = timer/timer.c timer/gettime.S
     
    5344
    5445if au1x00
    55 include_libcpu_HEADERS += au1x00/include/au1x00.h
    56 
    5746endif
    5847
    5948if rm52xx
    60 include_libcpu_HEADERS += rm52xx/include/rm5231.h
    61 
    6249noinst_PROGRAMS += rm52xx/timer.rel
    6350rm52xx_timer_rel_SOURCES = timer/timer.c timer/gettime.S
     
    6653endif
    6754
    68 include $(srcdir)/preinstall.am
    6955include $(top_srcdir)/../../../automake/local.am
  • c/src/lib/libcpu/mips/configure.ac

    r9704efb4 r2afb22b  
    55AC_CONFIG_SRCDIR([timer])
    66RTEMS_TOP([../../../../..],[../../..])
     7RTEMS_SOURCE_TOP
     8RTEMS_BUILD_TOP
    79
    810RTEMS_CANONICAL_TARGET_CPU
  • c/src/lib/libcpu/nios2/Makefile.am

    r9704efb4 r2afb22b  
    2323endif
    2424
    25 include $(srcdir)/preinstall.am
    2625
    2726include $(top_srcdir)/../../../automake/local.am
  • c/src/lib/libcpu/nios2/configure.ac

    r9704efb4 r2afb22b  
    44AC_INIT([rtems-c-src-lib-libcpu-nios2],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
    55RTEMS_TOP([../../../../..],[../../..])
     6RTEMS_SOURCE_TOP
     7RTEMS_BUILD_TOP
    68
    79RTEMS_CANONICAL_TARGET_CPU
  • c/src/lib/libcpu/or1k/Makefile.am

    r9704efb4 r2afb22b  
    1313shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    1414
    15 include $(srcdir)/preinstall.am
    1615
    1716include $(top_srcdir)/../../../automake/local.am
  • c/src/lib/libcpu/or1k/configure.ac

    r9704efb4 r2afb22b  
    44AC_INIT([rtems-c-src-lib-libcpu-or1k],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
    55RTEMS_TOP([../../../../..],[../../..])
     6RTEMS_SOURCE_TOP
     7RTEMS_BUILD_TOP
    68
    79RTEMS_CANONICAL_TARGET_CPU
  • c/src/lib/libcpu/powerpc/Makefile.am

    r9704efb4 r2afb22b  
    22
    33include $(top_srcdir)/../../../automake/compile.am
    4 
    5 include_rtems_powerpcdir = $(includedir)/rtems/powerpc
    6 include_rtems_powerpc_HEADERS = rtems/powerpc/cache.h \
    7     rtems/powerpc/debugmod.h rtems/powerpc/powerpc.h
    8 
    9 include_rtems_scoredir = $(includedir)/rtems/score
    10 include_libcpudir = $(includedir)/libcpu
    11 
    12 include_libcpu_HEADERS = shared/include/powerpc-utility.h
    13 
    14 include_bspdir = $(includedir)/bsp
    15 
    16 include_bsp_HEADERS =
    17 include_bsp_HEADERS += new-exceptions/bspsupport/irq_supp.h
    18 include_bsp_HEADERS += new-exceptions/bspsupport/vectors.h
    19 
    20 include_mpc83xxdir = $(includedir)/mpc83xx
    21 
    22 include_mpc83xx_HEADERS =
    23 include_mpc83xx_HEADERS += mpc83xx/i2c/mpc83xx_i2cdrv.h
    244
    255EXTRA_DIST =
     
    6747# shared/include
    6848if shared
    69 include_libcpu_HEADERS += shared/include/io.h shared/include/mmu.h \
    70     shared/include/page.h \
    71     shared/include/byteorder.h shared/include/pgtable.h
    72 
    7349noinst_PROGRAMS += shared/cpuIdent.rel
    7450shared_cpuIdent_rel_SOURCES = shared/include/cpuIdent.c shared/include/cpuIdent.h
    7551shared_cpuIdent_rel_CPPFLAGS = $(AM_CPPFLAGS)
    7652shared_cpuIdent_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    77 
    78 include_libcpu_HEADERS += shared/include/cpuIdent.h
    7953
    8054# shared/cache
     
    9266shared_stack_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    9367
    94 include_libcpu_HEADERS += shared/include/spr.h
    95 include_libcpu_HEADERS += shared/src/stackTrace.h
    9668endif
    9769
     
    11486ppc403_console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    11587
    116 include_HEADERS =
    11788shared_cpuIdent_rel_SOURCES = shared/include/cpuIdent.c
    11889shared_cpuIdent_rel_CPPFLAGS = $(AM_CPPFLAGS)
     
    12798# ppc403/tty_drv
    12899if ppc405
    129 include_HEADERS += ppc403/tty_drv/tty_drv.h
    130 
    131100noinst_PROGRAMS += ppc403/tty_drv.rel
    132101ppc403_tty_drv_rel_SOURCES = ppc403/tty_drv/tty_drv.c ppc403/tty_drv/tty_drv.h
     
    140109
    141110## ppc4xx/include
    142 include_ppc4xxdir = $(includedir)/ppc4xx
    143 include_ppc4xx_HEADERS = ppc403/include/ppc405gp.h \
    144                          ppc403/include/ppc405ex.h
    145 
    146111endif # ppc405
    147112
     
    150115EXTRA_DIST += mpc5xx/README
    151116if mpc5xx
    152 include_mpc5xxdir = $(includedir)/mpc5xx
    153 
    154 include_HEADERS = mpc5xx/include/mpc5xx.h
    155 
    156117# mpc5xx/clock
    157118noinst_PROGRAMS += mpc5xx/clock.rel
     
    161122
    162123# mpc5xx/console-generic
    163 include_mpc5xx_HEADERS = mpc5xx/include/console.h
    164 
    165124noinst_PROGRAMS += mpc5xx/console-generic.rel
    166125mpc5xx_console_generic_rel_SOURCES = mpc5xx/console-generic/console-generic.c
     
    169128
    170129# mpc5xx/exceptions
    171 include_libcpu_HEADERS += mpc5xx/exceptions/raw_exception.h
    172 
    173130noinst_PROGRAMS += mpc5xx/exceptions.rel
    174131mpc5xx_exceptions_rel_SOURCES = mpc5xx/exceptions/raw_exception.c
     
    177134
    178135# mpc5xx/irq
    179 include_libcpu_HEADERS += mpc5xx/irq/irq.h
    180 
    181136noinst_PROGRAMS += mpc5xx/irq.rel
    182137mpc5xx_irq_rel_SOURCES = mpc5xx/irq/irq.c mpc5xx/irq/irq_init.c mpc5xx/irq/irq_asm.S
     
    191146
    192147# mpc5xx/vectors
    193 include_libcpu_HEADERS += mpc5xx/vectors/vectors.h
    194 
    195148noinst_PROGRAMS += mpc5xx/vectors.rel
    196149mpc5xx_vectors_rel_SOURCES = mpc5xx/vectors/vectors_init.c mpc5xx/vectors/vectors.S \
     
    202155if mpc505
    203156# mpc505/ictrl
    204 include_HEADERS = mpc505/ictrl/ictrl.h
    205 
    206157noinst_PROGRAMS += mpc505/ictrl.rel
    207158mpc505_ictrl_rel_SOURCES = mpc505/ictrl/ictrl.c
     
    225176
    226177# mpc6xx/mmu
    227 include_libcpu_HEADERS += mpc6xx/mmu/bat.h mpc6xx/mmu/pte121.h
    228 
    229178noinst_PROGRAMS += mpc6xx/mmu.rel
    230179mpc6xx_mmu_rel_SOURCES = mpc6xx/mmu/bat.c mpc6xx/mmu/bat.h \
     
    235184
    236185# mpc6xx/clock
    237 include_libcpu_HEADERS += mpc6xx/clock/c_clock.h
    238 
    239186noinst_PROGRAMS += mpc6xx/clock.rel
    240187mpc6xx_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h
     
    258205# e500/clock
    259206if e500_clock
    260 include_libcpu_HEADERS += mpc6xx/clock/c_clock.h
    261 
    262207noinst_PROGRAMS += e500/clock.rel
    263208e500_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h
     
    276221# e500/mmu
    277222if e500_mmu
    278 include_libcpu_HEADERS += e500/mmu/e500_mmu.h
    279223noinst_PROGRAMS += e500/mmu.rel
    280224e500_mmu_rel_SOURCES = e500/mmu/mmu.c e500/mmu/e500_mmu.h
     
    285229EXTRA_DIST += mpc8xx/README
    286230if mpc8xx
    287 include_mpc8xxdir = $(includedir)/mpc8xx
    288 
    289 include_HEADERS = mpc8xx/include/mpc8xx.h
    290 
    291231# mpc8xx/clock
    292232noinst_PROGRAMS += mpc8xx/clock.rel
     
    296236
    297237# mpc8xx/console-generic
    298 include_mpc8xx_HEADERS = mpc8xx/include/console.h
    299 
    300238noinst_PROGRAMS += mpc8xx/console-generic.rel
    301239mpc8xx_console_generic_rel_SOURCES = mpc8xx/console-generic/console-generic.c
     
    304242
    305243# mpc8xx/cpm
    306 include_mpc8xx_HEADERS += mpc8xx/include/cpm.h
    307 
    308244noinst_PROGRAMS += mpc8xx/cpm.rel
    309245mpc8xx_cpm_rel_SOURCES = mpc8xx/cpm/cp.c mpc8xx/cpm/dpram.c
     
    312248
    313249# mpc8xx/mmu
    314 include_mpc8xx_HEADERS += mpc8xx/include/mmu.h
    315 
    316250noinst_PROGRAMS += mpc8xx/mmu.rel
    317251mpc8xx_mmu_rel_SOURCES = mpc8xx/mmu/mmu.c
     
    328262EXTRA_DIST += mpc8260/README
    329263if mpc8260
    330 include_mpc8260dir = $(includedir)/mpc8260
    331 
    332 include_HEADERS = mpc8260/include/mpc8260.h
    333 
    334264# mpc8260/console-generic
    335 include_mpc8260_HEADERS = mpc8260/include/console.h
    336 
    337265noinst_PROGRAMS += mpc8260/console-generic.rel
    338266mpc8260_console_generic_rel_SOURCES = mpc8260/console-generic/console-generic.c \
     
    342270
    343271# mpc8260/cpm
    344 include_mpc8260_HEADERS += mpc8260/include/cpm.h
    345 
    346272noinst_PROGRAMS += mpc8260/cpm.rel
    347273mpc8260_cpm_rel_SOURCES = mpc8260/cpm/cp.c mpc8260/cpm/dpram.c mpc8260/cpm/brg.c \
     
    351277
    352278# mpc8260/mmu
    353 include_mpc8260_HEADERS += mpc8260/include/mmu.h
    354 
    355279noinst_PROGRAMS += mpc8260/mmu.rel
    356280mpc8260_mmu_rel_SOURCES = mpc8260/mmu/mmu.c \
     
    373297# Includes
    374298
    375 include_mpc83xx_HEADERS += mpc83xx/include/mpc83xx.h
    376 
    377299# Network
    378 include_bsp_HEADERS += mpc83xx/network/tsec.h
    379300if HAS_NETWORKING
    380301noinst_PROGRAMS += mpc83xx/tsec.rel
     
    391312
    392313# SPI
    393 include_mpc83xx_HEADERS += mpc83xx/spi/mpc83xx_spidrv.h
    394314noinst_PROGRAMS += mpc83xx/spi.rel
    395315mpc83xx_spi_rel_SOURCES = mpc83xx/spi/mpc83xx_spidrv.c \
     
    398318
    399319# GTM
    400 include_mpc83xx_HEADERS += mpc83xx/include/gtm.h
    401320noinst_PROGRAMS += mpc83xx/gtm.rel
    402321mpc83xx_gtm_rel_SOURCES = mpc83xx/gtm/gtm.c \
     
    413332##############################################################################
    414333if mpc55xx
    415 
    416 # Includes
    417 include_mpc55xxdir = $(includedir)/mpc55xx
    418 
    419 include_mpc55xx_HEADERS =
    420 include_mpc55xx_HEADERS += mpc55xx/include/regs.h
    421 include_mpc55xx_HEADERS += mpc55xx/include/reg-defs.h
    422 include_mpc55xx_HEADERS += mpc55xx/include/dspi.h
    423 include_mpc55xx_HEADERS += mpc55xx/include/edma.h
    424 include_mpc55xx_HEADERS += mpc55xx/include/emios.h
    425 include_mpc55xx_HEADERS += mpc55xx/include/mpc55xx.h
    426 include_mpc55xx_HEADERS += mpc55xx/include/siu.h
    427 include_mpc55xx_HEADERS += mpc55xx/include/watchdog.h
    428 include_mpc55xx_HEADERS += mpc55xx/include/fsl-mpc551x.h
    429 include_mpc55xx_HEADERS += mpc55xx/include/fsl-mpc555x.h
    430 include_mpc55xx_HEADERS += mpc55xx/include/fsl-mpc556x.h
    431 include_mpc55xx_HEADERS += mpc55xx/include/fsl-mpc564xL.h
    432 include_mpc55xx_HEADERS += mpc55xx/include/fsl-mpc5668.h
    433 include_mpc55xx_HEADERS += mpc55xx/include/fsl-mpc567x.h
    434 include_mpc55xx_HEADERS += mpc55xx/include/regs-edma.h
    435 include_mpc55xx_HEADERS += mpc55xx/include/regs-mmu.h
    436334
    437335# IRQ
     
    488386
    489387# Network
    490 include_bsp_HEADERS += mpc83xx/network/tsec.h
    491388if HAS_NETWORKING
    492389noinst_PROGRAMS += tsec.rel
     
    501398##############################################################################
    502399
    503 include $(srcdir)/preinstall.am
    504400include $(top_srcdir)/../../../automake/local.am
  • c/src/lib/libcpu/powerpc/configure.ac

    r9704efb4 r2afb22b  
    55AC_CONFIG_SRCDIR([mpc6xx])
    66RTEMS_TOP([../../../../..],[../../..])
     7RTEMS_SOURCE_TOP
     8RTEMS_BUILD_TOP
    79
    810RTEMS_CANONICAL_TARGET_CPU
  • c/src/lib/libcpu/sparc/Makefile.am

    r9704efb4 r2afb22b  
    44
    55noinst_PROGRAMS =
    6 
    7 include_libcpudir = $(includedir)/libcpu
    8 include_libcpu_HEADERS =
    9 include_libcpu_HEADERS += include/libcpu/access.h
    106
    117noinst_PROGRAMS += cache.rel
     
    3430access_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    3531
    36 include $(srcdir)/preinstall.am
    3732include $(top_srcdir)/../../../automake/local.am
  • c/src/lib/libcpu/sparc/configure.ac

    r9704efb4 r2afb22b  
    55AC_CONFIG_SRCDIR([reg_win])
    66RTEMS_TOP([../../../../..],[../../..])
     7RTEMS_SOURCE_TOP
     8RTEMS_BUILD_TOP
    79
    810RTEMS_CANONICAL_TARGET_CPU
  • c/src/lib/libcpu/sparc64/Makefile.am

    r9704efb4 r2afb22b  
    5757### End of example.
    5858
    59 include $(srcdir)/preinstall.am
    6059include $(top_srcdir)/../../../automake/local.am
  • c/src/lib/libcpu/sparc64/configure.ac

    r9704efb4 r2afb22b  
    55AC_CONFIG_SRCDIR([shared])
    66RTEMS_TOP([../../../../..],[../../..])
     7RTEMS_SOURCE_TOP
     8RTEMS_BUILD_TOP
    79
    810RTEMS_CANONICAL_TARGET_CPU
Note: See TracChangeset for help on using the changeset viewer.