summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-04-26 14:00:41 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-09-21 07:39:09 +0200
commitdb8f598d56951cf43f22a5e325e0d23c8f7559f9 (patch)
tree607bc2e2c842bb932bce53efc7423e73ef18f6ff /c/src
parent04998451b9f63d6655e41cda3cfc3fb26d7e39fc (diff)
downloadrtems-db8f598d56951cf43f22a5e325e0d23c8f7559f9.tar.bz2
build: Remove old build system
Close #3250. Close #4081.
Diffstat (limited to 'c/src')
-rw-r--r--c/src/Makefile.am39
-rw-r--r--c/src/README23
-rw-r--r--c/src/acinclude.m484
-rw-r--r--c/src/aclocal/bsp-alias.m420
-rw-r--r--c/src/aclocal/bsp-arg-enable.m417
-rw-r--r--c/src/aclocal/bsp-bootcard-options.m49
-rw-r--r--c/src/aclocal/bsp-bspcleanup-options.m429
-rw-r--r--c/src/aclocal/bsp-configure.m449
-rw-r--r--c/src/aclocal/bsp-linkcmds.m418
-rw-r--r--c/src/aclocal/bspopts.m482
-rw-r--r--c/src/aclocal/canonical-target-name.m425
-rw-r--r--c/src/aclocal/canonicalize-tools.m413
-rw-r--r--c/src/aclocal/check-custom-bsp.m420
-rw-r--r--c/src/aclocal/check-cxx.m418
-rw-r--r--c/src/aclocal/check-multiprocessing.m437
-rw-r--r--c/src/aclocal/check-networking.m430
-rw-r--r--c/src/aclocal/check-posix.m431
-rw-r--r--c/src/aclocal/check-smp.m417
-rw-r--r--c/src/aclocal/check-tool.m49
-rw-r--r--c/src/aclocal/config-subdirs.m432
-rw-r--r--c/src/aclocal/enable-cxx.m411
-rw-r--r--c/src/aclocal/enable-drvmgr.m412
-rw-r--r--c/src/aclocal/enable-multiprocessing.m413
-rw-r--r--c/src/aclocal/enable-networking.m413
-rw-r--r--c/src/aclocal/enable-posix.m421
-rw-r--r--c/src/aclocal/enable-smp.m417
-rw-r--r--c/src/aclocal/env-rtemsbsp.m437
-rw-r--r--c/src/aclocal/gcc-isystem.m422
-rw-r--r--c/src/aclocal/gcc-pipe.m417
-rw-r--r--c/src/aclocal/gcc-specs.m416
-rw-r--r--c/src/aclocal/gcc-weak.m419
-rw-r--r--c/src/aclocal/i386-gas-code16.m427
-rw-r--r--c/src/aclocal/multilib.m416
-rw-r--r--c/src/aclocal/path-ksh.m412
-rw-r--r--c/src/aclocal/ppc.m419
-rw-r--r--c/src/aclocal/prog-cc.m445
-rw-r--r--c/src/aclocal/prog-ccas.m46
-rw-r--r--c/src/aclocal/prog-cxx.m449
-rw-r--r--c/src/aclocal/project-root.m44
-rw-r--r--c/src/aclocal/quoting.m441
-rw-r--r--c/src/aclocal/rtems-bsp-includes.m413
-rw-r--r--c/src/aclocal/rtems-build-top.m412
-rw-r--r--c/src/aclocal/rtems-cpu-subdirs.m432
-rw-r--r--c/src/aclocal/rtems-includes.m423
-rw-r--r--c/src/aclocal/rtems-source-top.m48
-rw-r--r--c/src/aclocal/rtems-top.m434
-rw-r--r--c/src/aclocal/target.m4134
-rw-r--r--c/src/aclocal/tool-paths.m423
-rw-r--r--c/src/aclocal/version.m44
-rw-r--r--c/src/automake/compile.am14
-rw-r--r--c/src/automake/host.am5
-rw-r--r--c/src/automake/subdirs.am64
-rw-r--r--c/src/bsp.pc.in18
-rw-r--r--c/src/configure.ac166
-rw-r--r--c/src/lib/libbsp/.gitignore1
-rw-r--r--c/src/lib/libbsp/Makefile.am11
-rw-r--r--c/src/lib/libbsp/arm/Makefile.am16
-rw-r--r--c/src/lib/libbsp/arm/acinclude.m450
-rw-r--r--c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am93
-rw-r--r--c/src/lib/libbsp/arm/altera-cyclone-v/configure.ac81
-rw-r--r--c/src/lib/libbsp/arm/atsam/Makefile.am162
-rw-r--r--c/src/lib/libbsp/arm/atsam/configure.ac111
-rw-r--r--c/src/lib/libbsp/arm/beagle/Makefile.am106
-rw-r--r--c/src/lib/libbsp/arm/beagle/configure.ac50
-rw-r--r--c/src/lib/libbsp/arm/configure.ac20
-rw-r--r--c/src/lib/libbsp/arm/csb336/Makefile.am46
-rw-r--r--c/src/lib/libbsp/arm/csb336/configure.ac20
-rw-r--r--c/src/lib/libbsp/arm/csb337/Makefile.am75
-rw-r--r--c/src/lib/libbsp/arm/csb337/configure.ac66
-rw-r--r--c/src/lib/libbsp/arm/edb7312/Makefile.am50
-rw-r--r--c/src/lib/libbsp/arm/edb7312/configure.ac27
-rw-r--r--c/src/lib/libbsp/arm/gumstix/Makefile.am52
-rw-r--r--c/src/lib/libbsp/arm/gumstix/configure.ac28
-rw-r--r--c/src/lib/libbsp/arm/imx/Makefile.am88
-rw-r--r--c/src/lib/libbsp/arm/imx/configure.ac58
-rw-r--r--c/src/lib/libbsp/arm/lm3s69xx/Makefile.am82
-rw-r--r--c/src/lib/libbsp/arm/lm3s69xx/configure.ac77
-rw-r--r--c/src/lib/libbsp/arm/lpc176x/Makefile.am118
-rw-r--r--c/src/lib/libbsp/arm/lpc176x/configure.ac66
-rw-r--r--c/src/lib/libbsp/arm/lpc24xx/Makefile.am126
-rw-r--r--c/src/lib/libbsp/arm/lpc24xx/configure.ac116
-rw-r--r--c/src/lib/libbsp/arm/lpc32xx/Makefile.am106
-rw-r--r--c/src/lib/libbsp/arm/lpc32xx/configure.ac105
-rw-r--r--c/src/lib/libbsp/arm/raspberrypi/Makefile.am114
-rw-r--r--c/src/lib/libbsp/arm/raspberrypi/configure.ac67
-rw-r--r--c/src/lib/libbsp/arm/realview-pbx-a9/Makefile.am92
-rw-r--r--c/src/lib/libbsp/arm/realview-pbx-a9/configure.ac52
-rw-r--r--c/src/lib/libbsp/arm/rtl22xx/Makefile.am47
-rw-r--r--c/src/lib/libbsp/arm/rtl22xx/configure.ac27
-rw-r--r--c/src/lib/libbsp/arm/smdk2410/Makefile.am52
-rw-r--r--c/src/lib/libbsp/arm/smdk2410/configure.ac30
-rw-r--r--c/src/lib/libbsp/arm/stm32f4/Makefile.am83
-rw-r--r--c/src/lib/libbsp/arm/stm32f4/configure.ac70
-rw-r--r--c/src/lib/libbsp/arm/tms570/Makefile.am115
-rw-r--r--c/src/lib/libbsp/arm/tms570/configure.ac57
-rw-r--r--c/src/lib/libbsp/arm/xen/Makefile.am50
-rw-r--r--c/src/lib/libbsp/arm/xen/configure.ac64
-rw-r--r--c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am93
-rw-r--r--c/src/lib/libbsp/arm/xilinx-zynq/configure.ac109
-rw-r--r--c/src/lib/libbsp/arm/xilinx-zynqmp/Makefile.am89
-rw-r--r--c/src/lib/libbsp/arm/xilinx-zynqmp/configure.ac94
-rw-r--r--c/src/lib/libbsp/bfin/Makefile.am7
-rw-r--r--c/src/lib/libbsp/bfin/TLL6527M/Makefile.am36
-rw-r--r--c/src/lib/libbsp/bfin/TLL6527M/configure.ac44
-rw-r--r--c/src/lib/libbsp/bfin/acinclude.m414
-rw-r--r--c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am37
-rw-r--r--c/src/lib/libbsp/bfin/bf537Stamp/configure.ac30
-rw-r--r--c/src/lib/libbsp/bfin/configure.ac20
-rw-r--r--c/src/lib/libbsp/bfin/eZKit533/Makefile.am37
-rw-r--r--c/src/lib/libbsp/bfin/eZKit533/configure.ac29
-rw-r--r--c/src/lib/libbsp/bsp.am5
-rw-r--r--c/src/lib/libbsp/i386/Makefile.am15
-rw-r--r--c/src/lib/libbsp/i386/acinclude.m410
-rw-r--r--c/src/lib/libbsp/i386/configure.ac20
-rw-r--r--c/src/lib/libbsp/i386/pc386/Makefile.am143
-rw-r--r--c/src/lib/libbsp/i386/pc386/configure.ac145
-rw-r--r--c/src/lib/libbsp/lm32/Makefile.am7
-rw-r--r--c/src/lib/libbsp/lm32/acinclude.m412
-rw-r--r--c/src/lib/libbsp/lm32/configure.ac20
-rw-r--r--c/src/lib/libbsp/lm32/lm32_evr/Makefile.am44
-rw-r--r--c/src/lib/libbsp/lm32/lm32_evr/configure.ac32
-rw-r--r--c/src/lib/libbsp/lm32/milkymist/Makefile.am91
-rw-r--r--c/src/lib/libbsp/lm32/milkymist/configure.ac31
-rw-r--r--c/src/lib/libbsp/m68k/Makefile.am12
-rw-r--r--c/src/lib/libbsp/m68k/acinclude.m440
-rw-r--r--c/src/lib/libbsp/m68k/av5282/Makefile.am43
-rw-r--r--c/src/lib/libbsp/m68k/av5282/configure.ac21
-rw-r--r--c/src/lib/libbsp/m68k/configure.ac20
-rw-r--r--c/src/lib/libbsp/m68k/csb360/Makefile.am43
-rw-r--r--c/src/lib/libbsp/m68k/csb360/configure.ac20
-rw-r--r--c/src/lib/libbsp/m68k/gen68340/Makefile.am46
-rw-r--r--c/src/lib/libbsp/m68k/gen68340/configure.ac19
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/Makefile.am51
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/configure.ac34
-rw-r--r--c/src/lib/libbsp/m68k/genmcf548x/Makefile.am55
-rw-r--r--c/src/lib/libbsp/m68k/genmcf548x/configure.ac46
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am54
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/configure.ac20
-rw-r--r--c/src/lib/libbsp/m68k/mcf52235/Makefile.am47
-rw-r--r--c/src/lib/libbsp/m68k/mcf52235/configure.ac19
-rw-r--r--c/src/lib/libbsp/m68k/mcf5225x/Makefile.am38
-rw-r--r--c/src/lib/libbsp/m68k/mcf5225x/configure.ac22
-rw-r--r--c/src/lib/libbsp/m68k/mcf5235/Makefile.am47
-rw-r--r--c/src/lib/libbsp/m68k/mcf5235/configure.ac21
-rw-r--r--c/src/lib/libbsp/m68k/mcf5329/Makefile.am45
-rw-r--r--c/src/lib/libbsp/m68k/mcf5329/configure.ac20
-rw-r--r--c/src/lib/libbsp/m68k/mrm332/Makefile.am46
-rw-r--r--c/src/lib/libbsp/m68k/mrm332/configure.ac19
-rw-r--r--c/src/lib/libbsp/m68k/mvme147/Makefile.am46
-rw-r--r--c/src/lib/libbsp/m68k/mvme147/configure.ac19
-rw-r--r--c/src/lib/libbsp/m68k/mvme147s/Makefile.am55
-rw-r--r--c/src/lib/libbsp/m68k/mvme147s/configure.ac19
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/Makefile.am52
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/configure.ac22
-rw-r--r--c/src/lib/libbsp/m68k/mvme167/Makefile.am45
-rw-r--r--c/src/lib/libbsp/m68k/mvme167/configure.ac53
-rw-r--r--c/src/lib/libbsp/m68k/uC5282/Makefile.am43
-rw-r--r--c/src/lib/libbsp/m68k/uC5282/configure.ac21
-rw-r--r--c/src/lib/libbsp/mips/Makefile.am7
-rw-r--r--c/src/lib/libbsp/mips/acinclude.m420
-rw-r--r--c/src/lib/libbsp/mips/configure.ac20
-rw-r--r--c/src/lib/libbsp/mips/csb350/Makefile.am48
-rw-r--r--c/src/lib/libbsp/mips/csb350/configure.ac20
-rw-r--r--c/src/lib/libbsp/mips/hurricane/Makefile.am55
-rw-r--r--c/src/lib/libbsp/mips/hurricane/configure.ac28
-rw-r--r--c/src/lib/libbsp/mips/jmr3904/Makefile.am46
-rw-r--r--c/src/lib/libbsp/mips/jmr3904/configure.ac19
-rw-r--r--c/src/lib/libbsp/mips/malta/Makefile.am67
-rw-r--r--c/src/lib/libbsp/mips/malta/configure.ac20
-rw-r--r--c/src/lib/libbsp/mips/rbtx4925/Makefile.am55
-rw-r--r--c/src/lib/libbsp/mips/rbtx4925/configure.ac24
-rw-r--r--c/src/lib/libbsp/mips/rbtx4938/Makefile.am55
-rw-r--r--c/src/lib/libbsp/mips/rbtx4938/configure.ac20
-rw-r--r--c/src/lib/libbsp/moxie/Makefile.am10
-rw-r--r--c/src/lib/libbsp/moxie/acinclude.m410
-rw-r--r--c/src/lib/libbsp/moxie/configure.ac22
-rw-r--r--c/src/lib/libbsp/moxie/moxiesim/Makefile.am45
-rw-r--r--c/src/lib/libbsp/moxie/moxiesim/configure.ac34
-rw-r--r--c/src/lib/libbsp/nios2/Makefile.am6
-rw-r--r--c/src/lib/libbsp/nios2/acinclude.m410
-rw-r--r--c/src/lib/libbsp/nios2/configure.ac20
-rw-r--r--c/src/lib/libbsp/nios2/nios2_iss/Makefile.am44
-rw-r--r--c/src/lib/libbsp/nios2/nios2_iss/configure.ac19
-rw-r--r--c/src/lib/libbsp/no_cpu/Makefile.am6
-rw-r--r--c/src/lib/libbsp/no_cpu/acinclude.m410
-rw-r--r--c/src/lib/libbsp/no_cpu/configure.ac20
-rw-r--r--c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am39
-rw-r--r--c/src/lib/libbsp/no_cpu/no_bsp/configure.ac19
-rw-r--r--c/src/lib/libbsp/or1k/Makefile.am9
-rw-r--r--c/src/lib/libbsp/or1k/acinclude.m410
-rw-r--r--c/src/lib/libbsp/or1k/configure.ac20
-rw-r--r--c/src/lib/libbsp/or1k/generic_or1k/Makefile.am72
-rw-r--r--c/src/lib/libbsp/or1k/generic_or1k/configure.ac28
-rw-r--r--c/src/lib/libbsp/powerpc/Makefile.am41
-rw-r--r--c/src/lib/libbsp/powerpc/acinclude.m444
-rw-r--r--c/src/lib/libbsp/powerpc/beatnik/Makefile.am109
-rw-r--r--c/src/lib/libbsp/powerpc/beatnik/configure.ac48
-rw-r--r--c/src/lib/libbsp/powerpc/configure.ac21
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/Makefile.am115
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/configure.ac132
-rw-r--r--c/src/lib/libbsp/powerpc/gen83xx/Makefile.am78
-rw-r--r--c/src/lib/libbsp/powerpc/gen83xx/configure.ac92
-rw-r--r--c/src/lib/libbsp/powerpc/haleakala/Makefile.am49
-rw-r--r--c/src/lib/libbsp/powerpc/haleakala/configure.ac41
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am98
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am67
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac83
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/qemu_fakerom/Makefile.am26
-rw-r--r--c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am100
-rw-r--r--c/src/lib/libbsp/powerpc/mpc55xxevb/configure.ac225
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am59
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac69
-rw-r--r--c/src/lib/libbsp/powerpc/mvme3100/Makefile.am95
-rw-r--r--c/src/lib/libbsp/powerpc/mvme3100/configure.ac49
-rw-r--r--c/src/lib/libbsp/powerpc/mvme5500/Makefile.am86
-rw-r--r--c/src/lib/libbsp/powerpc/mvme5500/configure.ac49
-rw-r--r--c/src/lib/libbsp/powerpc/psim/Makefile.am73
-rw-r--r--c/src/lib/libbsp/powerpc/psim/configure.ac54
-rw-r--r--c/src/lib/libbsp/powerpc/qemuppc/Makefile.am54
-rw-r--r--c/src/lib/libbsp/powerpc/qemuppc/configure.ac24
-rw-r--r--c/src/lib/libbsp/powerpc/qoriq/Makefile.am96
-rw-r--r--c/src/lib/libbsp/powerpc/qoriq/configure.ac165
-rw-r--r--c/src/lib/libbsp/powerpc/ss555/Makefile.am66
-rw-r--r--c/src/lib/libbsp/powerpc/ss555/configure.ac51
-rw-r--r--c/src/lib/libbsp/powerpc/t32mppc/Makefile.am64
-rw-r--r--c/src/lib/libbsp/powerpc/t32mppc/configure.ac33
-rw-r--r--c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am64
-rw-r--r--c/src/lib/libbsp/powerpc/tqm8xx/configure.ac99
-rw-r--r--c/src/lib/libbsp/powerpc/virtex/Makefile.am57
-rw-r--r--c/src/lib/libbsp/powerpc/virtex/configure.ac45
-rw-r--r--c/src/lib/libbsp/powerpc/virtex4/Makefile.am57
-rw-r--r--c/src/lib/libbsp/powerpc/virtex4/configure.ac45
-rw-r--r--c/src/lib/libbsp/powerpc/virtex5/Makefile.am59
-rw-r--r--c/src/lib/libbsp/powerpc/virtex5/configure.ac45
-rw-r--r--c/src/lib/libbsp/riscv/Makefile.am10
-rw-r--r--c/src/lib/libbsp/riscv/acinclude.m412
-rw-r--r--c/src/lib/libbsp/riscv/configure.ac20
-rw-r--r--c/src/lib/libbsp/riscv/griscv/Makefile.am71
-rw-r--r--c/src/lib/libbsp/riscv/griscv/configure.ac59
-rw-r--r--c/src/lib/libbsp/riscv/riscv/Makefile.am71
-rw-r--r--c/src/lib/libbsp/riscv/riscv/configure.ac96
-rw-r--r--c/src/lib/libbsp/sh/Makefile.am7
-rw-r--r--c/src/lib/libbsp/sh/acinclude.m416
-rw-r--r--c/src/lib/libbsp/sh/configure.ac20
-rw-r--r--c/src/lib/libbsp/sh/gensh1/Makefile.am46
-rw-r--r--c/src/lib/libbsp/sh/gensh1/configure.ac26
-rw-r--r--c/src/lib/libbsp/sh/gensh2/Makefile.am50
-rw-r--r--c/src/lib/libbsp/sh/gensh2/configure.ac31
-rw-r--r--c/src/lib/libbsp/sh/gensh4/Makefile.am45
-rw-r--r--c/src/lib/libbsp/sh/gensh4/configure.ac37
-rw-r--r--c/src/lib/libbsp/sh/shsim/Makefile.am49
-rw-r--r--c/src/lib/libbsp/sh/shsim/configure.ac41
-rw-r--r--c/src/lib/libbsp/sparc/Makefile.am64
-rw-r--r--c/src/lib/libbsp/sparc/acinclude.m414
-rw-r--r--c/src/lib/libbsp/sparc/configure.ac23
-rw-r--r--c/src/lib/libbsp/sparc/erc32/Makefile.am66
-rw-r--r--c/src/lib/libbsp/sparc/erc32/configure.ac37
-rw-r--r--c/src/lib/libbsp/sparc/leon2/Makefile.am71
-rw-r--r--c/src/lib/libbsp/sparc/leon2/configure.ac37
-rw-r--r--c/src/lib/libbsp/sparc/leon3/Makefile.am92
-rw-r--r--c/src/lib/libbsp/sparc/leon3/configure.ac39
-rw-r--r--c/src/lib/libbsp/sparc64/Makefile.am7
-rw-r--r--c/src/lib/libbsp/sparc64/acinclude.m412
-rw-r--r--c/src/lib/libbsp/sparc64/configure.ac24
-rw-r--r--c/src/lib/libbsp/sparc64/niagara/Makefile.am51
-rw-r--r--c/src/lib/libbsp/sparc64/niagara/configure.ac19
-rw-r--r--c/src/lib/libbsp/sparc64/usiii/Makefile.am62
-rw-r--r--c/src/lib/libbsp/sparc64/usiii/configure.ac26
-rw-r--r--c/src/lib/libbsp/v850/Makefile.am12
-rw-r--r--c/src/lib/libbsp/v850/acinclude.m410
-rw-r--r--c/src/lib/libbsp/v850/configure.ac21
-rw-r--r--c/src/lib/libbsp/v850/gdbv850sim/Makefile.am42
-rw-r--r--c/src/lib/libbsp/v850/gdbv850sim/configure.ac19
-rw-r--r--c/src/lib/libbsp/x86_64/Makefile.am6
-rw-r--r--c/src/lib/libbsp/x86_64/acinclude.m410
-rw-r--r--c/src/lib/libbsp/x86_64/amd64/Makefile.am52
-rw-r--r--c/src/lib/libbsp/x86_64/amd64/configure.ac19
-rw-r--r--c/src/lib/libbsp/x86_64/configure.ac20
-rw-r--r--c/src/make/Makefile.am87
-rw-r--r--c/src/make/Makefile.inc.in55
-rw-r--r--c/src/make/README465
-rw-r--r--c/src/make/aclocal/rtems-flags.m410
-rw-r--r--c/src/make/bsp.cfg.in31
-rw-r--r--c/src/make/bsp.mak11
-rw-r--r--c/src/make/compilers/gcc-target-default.cfg189
-rw-r--r--c/src/make/configure.ac81
-rw-r--r--c/src/make/custom/default.cfg.in0
-rw-r--r--c/src/make/directory.cfg57
-rw-r--r--c/src/make/host.cfg.in48
-rw-r--r--c/src/make/leaf.cfg44
-rw-r--r--c/src/make/lib.cfg15
-rw-r--r--c/src/make/target.cfg.in44
292 files changed, 0 insertions, 13516 deletions
diff --git a/c/src/Makefile.am b/c/src/Makefile.am
deleted file mode 100644
index 3c31f66144..0000000000
--- a/c/src/Makefile.am
+++ /dev/null
@@ -1,39 +0,0 @@
-ACLOCAL_AMFLAGS = -I aclocal
-
-_SUBDIRS = . @BSP_SUBDIRS@
-DIST_SUBDIRS = @BSP_SUBDIRS@
-
-$(PROJECT_LIB)/$(dirstamp):
- @echo "Making project library directory: $(PROJECT_LIB)"
- @$(MKDIR_P) $(PROJECT_LIB)
- @: > $(PROJECT_LIB)/$(dirstamp)
-
-all-local: $(PROJECT_LIB)/$(dirstamp)
-
-clean-local:
- $(RM) -r $(PROJECT_RELEASE)
-
-make/@RTEMS_BSP@.cache: make/bsp.mak @CUSTOM_CFG_FILES@
- $(RM) make/@RTEMS_BSP@.cache
- $(MAKE) -f ${srcdir}/make/bsp.mak \
- 'RTEMS_BSP=@RTEMS_BSP@' 'RTEMS_ROOT=.' \
- make/@RTEMS_BSP@.cache
-
-noinst_DATA = make/@RTEMS_BSP@.cache
-
-rtems_makedir = $(prefix)/make
-rtems_make_customdir = $(rtems_makedir)/custom
-rtems_make_custom_DATA = @CUSTOM_CFG_FILES@
-
-noinst_DATA += make/custom/default.cfg
-
-@host_alias@-@RTEMS_BSP@.pc: config.status bsp.pc.in
- ./config.status --file=$@:$(srcdir)/bsp.pc.in
-
-pkgconfigdir = $(prefix)/lib/pkgconfig
-pkgconfig_DATA = @host_alias@-@RTEMS_BSP@.pc
-
-include $(DEPDIR)/cfg.P
-
-include $(top_srcdir)/automake/subdirs.am
-include $(srcdir)/../../bsps/headers.am
diff --git a/c/src/README b/c/src/README
deleted file mode 100644
index 02be3ca603..0000000000
--- a/c/src/README
+++ /dev/null
@@ -1,23 +0,0 @@
-This is the top level directory of the C RTEMS environment. The
-following is a description of the contents of each file and
-subdirectory directly in this directory:
-
- tests
-
- This directory contains the RTEMS Test Suites. Currently
- this includes the following suites:
-
- + Single Processor Test Suite
- + Multiprocessor Test Suite
- + Timing Test Suite
- + Sample Application Suite
-
- lib
-
- This directory contains src for RTEMS libraries:
- libc, board support (including drivers) and libcpu.
-
- exec
-
- This directory contains the source code for the RTEMS executive.
-
diff --git a/c/src/acinclude.m4 b/c/src/acinclude.m4
deleted file mode 100644
index 98a9d6c1bb..0000000000
--- a/c/src/acinclude.m4
+++ /dev/null
@@ -1,84 +0,0 @@
-# Some hacks for handling special config subdirectories
-#
-# Note: Consider this file a temporary band-aid until a better, more general
-# subdirectory handling solution is introduced to RTEMS.
-
-AC_DEFUN([_RTEMS_CONFIG_SUBDIR],
-[
-if test "$no_recursion" != yes; then
- ac_sub_sourcedir=$2
- ac_sub_builddir=$1
-
- for ac_subdir in : $ac_sub_sourcedir; do test "x$ac_subdir" = x: && continue
-
- # Do not complain, so a configure script can configure whichever
- # parts of a large source tree are present.
- test -d $srcdir/$ac_subdir || continue
-
- AC_MSG_NOTICE([configuring in $ac_subdir])
- case $srcdir in
- .) ;;
- *) AS_MKDIR_P(["./$ac_sub_builddir"])
- if test -d ./$ac_sub_builddir; then :;
- else
- AC_MSG_ERROR([cannot create `pwd`/$ac_sub_builddir])
- fi
- ;;
- esac
-
- ac_popdir=`pwd`
- cd $ac_sub_builddir
-
- # A "../" for each directory in /$ac_subdir.
- ac_dots=`echo $ac_sub_builddir |
- sed 's,^\./,,;s,[[^/]]$,&/,;s,[[^/]]*/,../,g'`
-
- case $srcdir in
- .) # No --srcdir option. We are building in place.
- ac_sub_srcdir=$srcdir${ac_subdir} ;;
- [[\\/]]* | ?:[[\\/]]* ) # Absolute path.
- ac_sub_srcdir=$srcdir/$ac_subdir ;;
- *) # Relative path.
- ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
- esac
-
- # Check for guested configure; otherwise get Cygnus style configure.
- if test -f $ac_sub_srcdir/configure.gnu; then
- ac_sub_configure="$SHELL '$ac_sub_srcdir/configure.gnu'"
- elif test -f $ac_sub_srcdir/configure; then
- ac_sub_configure="$SHELL '$ac_sub_srcdir/configure'"
- elif test -f $ac_sub_srcdir/configure.in; then
- ac_sub_configure=$ac_configure
- else
- AC_MSG_WARN([no configuration information is in $ac_subdir])
- ac_sub_configure=
- fi
-
- # The recursion is here.
- if test -n "$ac_sub_configure"; then
- # Make the cache file name correct relative to the subdirectory.
- case $cache_file in
- [[\\/]]* | ?:[[\\/]]* ) ac_sub_cache_file=$cache_file ;;
- *) # Relative path.
- ac_sub_cache_file=$ac_dots$cache_file ;;
- esac
-
- AC_MSG_NOTICE([running $ac_sub_configure $ac_sub_configure_args $3 --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir])
- # The eval makes quoting arguments work.
- eval $ac_sub_configure $ac_sub_configure_args $3 \
- --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
- AC_MSG_ERROR([$ac_sub_configure failed for $ac_subdir])
- fi
-
- cd "$ac_popdir"
- done
-fi
-])
-
-## RTEMS_BSP_CONFIG_SUBDIR(builddir,srcdir,configargs,condition)
-AC_DEFUN([RTEMS_BSP_CONFIG_SUBDIR],[
-m4_expand_once([RTEMS_CONFIGURE_ARGS_QUOTE([ac_sub_configure_args])])
-AS_IF([$4],[BSP_SUBDIRS="$BSP_SUBDIRS $1"])
-AC_CONFIG_COMMANDS_POST([
-AS_IF([$4],[_RTEMS_CONFIG_SUBDIR([$1],[$2],[$3])])])
-])
diff --git a/c/src/aclocal/bsp-alias.m4 b/c/src/aclocal/bsp-alias.m4
deleted file mode 100644
index 77d8205aba..0000000000
--- a/c/src/aclocal/bsp-alias.m4
+++ /dev/null
@@ -1,20 +0,0 @@
-dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
-dnl Internal subroutine to RTEMS_BSP_ALIAS
-AC_DEFUN([_RTEMS_BSP_ALIAS],[
-AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])
-AC_REQUIRE([RTEMS_SOURCE_TOP])
-# account for "aliased" bsps which share source code
- for bsp_cfgs in `ls "${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}"/*/"config/$1.cfg" 2>/dev/null`; do
- $2=`echo "$bsp_cfgs" | sed \
- -e "s,^${RTEMS_SOURCE_ROOT}/bsps/$RTEMS_CPU/,," \
- -e "s,/config/.*\.cfg$,,"`
- break
- done
-])
-
-dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
-dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
-AC_DEFUN([RTEMS_BSP_ALIAS],
-[_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]),
- m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))]
-)
diff --git a/c/src/aclocal/bsp-arg-enable.m4 b/c/src/aclocal/bsp-arg-enable.m4
deleted file mode 100644
index e5a9100024..0000000000
--- a/c/src/aclocal/bsp-arg-enable.m4
+++ /dev/null
@@ -1,17 +0,0 @@
-dnl
-dnl RTEMS_BSP_ARG_ENABLE(FEATURE, HELP-STRING, ACTION-IF-TRUE [, ACTION-IF-FALSE])
-dnl
-dnl Accept --enable-FEATURE=<RTEMS_BSP>:<bsp-value> and
-dnl --enable-FEATURE=<value> in BSP-configure scripts.
-dnl
-dnl Configure scripts will receive <bsp-value> if <RTEMS_BSP> matches the
-dnl actual value of the shell variable RTEMS_BSP (cf. RTEMS_ENV_RTEMSBSP),
-dnl and the raw value passed to --enable-FEATURE otherwise.
-dnl
-AC_DEFUN([RTEMS_BSP_ARG_ENABLE],
-[AC_REQUIRE([RTEMS_ENV_RTEMSBSP])
-AC_ARG_ENABLE([$1],[$2],
-[enableval=`echo "[$enable_]patsubst([$1], -, _)" | sed -e "s%^${RTEMS_BSP}:%%"`
- eval "[enable_]patsubst([$1], -, _)='$enableval'"
-$3],[$4])
-])
diff --git a/c/src/aclocal/bsp-bootcard-options.m4 b/c/src/aclocal/bsp-bootcard-options.m4
deleted file mode 100644
index b0d25f383c..0000000000
--- a/c/src/aclocal/bsp-bootcard-options.m4
+++ /dev/null
@@ -1,9 +0,0 @@
-dnl
-dnl BSP_BOOTCARD_OPTIONS - some autoconf voodoo to provide each BSPs'
-dnl configure script with the standard options supported by boot_card()
-dnl and other required parts of the BSP Framework.
-dnl
-
-dnl To be used in bsp-configure scripts
-
-AC_DEFUN([RTEMS_BSP_BOOTCARD_OPTIONS],[])
diff --git a/c/src/aclocal/bsp-bspcleanup-options.m4 b/c/src/aclocal/bsp-bspcleanup-options.m4
deleted file mode 100644
index 60be886070..0000000000
--- a/c/src/aclocal/bsp-bspcleanup-options.m4
+++ /dev/null
@@ -1,29 +0,0 @@
-dnl
-dnl RTEMS_BSP_CLEANUP_OPTIONS - some autoconf voodoo to provide each BSPs'
-dnl configure script with the standard options supported by the shared
-dnl implementation of bsp_fatal_extension().
-dnl
-dnl To be used in bsp-configure scripts
-dnl
-dnl USAGE:
-dnl RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_DEFUN([RTEMS_BSP_CLEANUP_OPTIONS],[
-RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[*],[0])
-RTEMS_BSPOPTS_HELP([BSP_PRESS_KEY_FOR_RESET],
-[If defined to a non-zero value, print a message and wait until pressed before
-resetting board when application exits.])
-
-RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_RESET_BOARD_AT_EXIT],
-[If defined to a non-zero value, reset the board when the application exits.])
-
-RTEMS_BSPOPTS_SET([BSP_PRINT_EXCEPTION_CONTEXT],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_PRINT_EXCEPTION_CONTEXT],
-[If defined to a non-zero value, prints the exception context when an
-unexpected exception occurs.])
-
-RTEMS_BSPOPTS_SET([BSP_VERBOSE_FATAL_EXTENSION],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_VERBOSE_FATAL_EXTENSION],
-[If defined to a non-zero value, prints the some information in case of a fatal
-error.])])
diff --git a/c/src/aclocal/bsp-configure.m4 b/c/src/aclocal/bsp-configure.m4
deleted file mode 100644
index 2b892e5852..0000000000
--- a/c/src/aclocal/bsp-configure.m4
+++ /dev/null
@@ -1,49 +0,0 @@
-dnl RTEMS_BSP_CONFIGURE
-dnl Common macro to be included by all bsp-configure.acs
-AC_DEFUN([RTEMS_BSP_CONFIGURE],
-[
- AC_PREREQ(2.60)
- AM_MAINTAINER_MODE
- RTEMS_ENV_RTEMSBSP
-
- RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
-
- AC_CONFIG_HEADERS([include/bspopts.tmp:bspopts.h.in],[
-echo "/* BSP dependent options file */" >$tmp/config.h
-echo "/* automatically generated -- DO NOT EDIT!! */" >>$tmp/config.h
-echo >>$tmp/config.h
-echo "#ifndef __BSP_OPTIONS_H" >>$tmp/config.h
-echo "#define __BSP_OPTIONS_H" >>$tmp/config.h
-echo >>$tmp/config.h
-sed \
- -e '/.*PACKAGE.*/d' \
- -e '/\/\* Define to.*this package.*\*\//d' \
-include/bspopts.tmp >> $tmp/config.h
-echo >>$tmp/config.h
-echo "#endif /* __BSP_OPTIONS_H */" >>$tmp/config.h
- AS_IF([cmp -s include/bspopts.h $tmp/config.h 2>/dev/null],[
- AC_MSG_NOTICE([include/bspopts.h is unchanged])
- rm -f $tmp/config.h],[
- AC_MSG_NOTICE([creating include/bspopts.h])
- rm -f include/bspopts.h
- mv $tmp/config.h include/bspopts.h
- ])
-])
- RTEMS_PROJECT_ROOT
-
- RTEMS_PROG_CC_FOR_TARGET
- RTEMS_CANONICALIZE_TOOLS
- RTEMS_PROG_CCAS
-
- RTEMS_CHECK_MULTIPROCESSING
- RTEMS_CHECK_NETWORKING
- RTEMS_CHECK_SMP
-
- AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
- AM_CONDITIONAL(HAS_SMP,test "$rtems_cv_HAS_SMP" = "yes")
-
- RTEMS_BSP_BOOTCARD_OPTIONS
-
- RTEMS_BSPOPTS_HELP([RTEMS_BSP],[The RTEMS BSP name])
- RTEMS_BSPOPTS_SET([RTEMS_BSP],[*],[$RTEMS_BSP])
-])
diff --git a/c/src/aclocal/bsp-linkcmds.m4 b/c/src/aclocal/bsp-linkcmds.m4
deleted file mode 100644
index ce7b72d186..0000000000
--- a/c/src/aclocal/bsp-linkcmds.m4
+++ /dev/null
@@ -1,18 +0,0 @@
-dnl Install a BSP's linkcmds from the source-tree into the build-tree
-AC_DEFUN([RTEMS_BSP_LINKCMDS],[
-AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])
-LINKCMDS=
-for f in "${srcdir}/../../../../../../bsps/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/start/linkcmds.${RTEMS_BSP}" \
- "${srcdir}/../../../../../../bsps/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/start/linkcmds.${RTEMS_BSP_FAMILY}" \
- "${srcdir}/../../../../../../bsps/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/start/linkcmds";
-do
- AS_IF([test -f "$f"],[
- LINKCMDS="$f"
- break])
-done
-
-AS_IF([test -z "${LINKCMDS}"],[
- AC_MSG_ERROR([can not determine linkcmds])])
-
-AC_CONFIG_LINKS([linkcmds:${LINKCMDS}])
-])
diff --git a/c/src/aclocal/bspopts.m4 b/c/src/aclocal/bspopts.m4
deleted file mode 100644
index 342c7258b9..0000000000
--- a/c/src/aclocal/bspopts.m4
+++ /dev/null
@@ -1,82 +0,0 @@
-dnl
-dnl RTEMS_BSPOPTS_* - some autoconf voodoo to handle default values and
-dnl help-strings for per-BSP-environment variables.
-
-dnl To be used in bsp-configure scripts
-
-
-dnl Example:
-dnl
-dnl RTEMS_BSPOPTS_SET([foo],[bar],[0])
-dnl RTEMS_BSPOPTS_SET([foo],[baz*],[hello])
-dnl RTEMS_BSPOPTS_SET([foo],[*],[])
-dnl RTEMS_BSPOPTS_HELP([foo],[env. variable foo])
-dnl -> Add "0" as default value of variable "foo" for BSP "bar"
-dnl -> Add "hello" as default value of variable "foo" for all BSPs starting
-dnl with "baz" in their name.
-dnl -> Undefine foo as default clause for all BSP's.
-dnl
-dnl All this basically expands to a /bin/shell "case"-statement with
-dnl accompanying autoconf magic to propagate VAR to bspopts.h.
-
-
-dnl RTEMS_BSPOPTS_HELP(VAR,HELP-STRING)
-dnl Set up printing the HELP-STRING for bspopts.h's variable VAR and add
-dnl appropriate /bin/sh-magic to "configure" to have VAR set up.
-
-AC_DEFUN([RTEMS_BSPOPTS_HELP],[
-RTEMS_ARG_VAR([$1],[$2])
-m4_ifdef([_$1],[
-case "${RTEMS_BSP}" in
-_$1[]dnl
-esac],[])
-if test -n "[$]{$1}"; then[]dnl
-AC_DEFINE_UNQUOTED([$1],
- [[$]$1],
- [$2])dnl
-fi
-])
-
-dnl RTEMS_BSPOPTS_SET(VAR,BSP,DEFAULT)
-dnl Set up a value DEFAULT to be used as default value for variable VAR for
-dnl BSP in RTEMS_BSPOPTS_HELP.
-
-dnl MUST be used in front of exactly _one_ corresponding RTEMS_BSPOPTS_HELP
-
-AC_DEFUN([RTEMS_BSPOPTS_SET],[dnl
-m4_append([_$1],
-[$2 )
- $1=[$]{$1-$3} ;;
-])
-])
-
-
-dnl RTEMS_ARG_VAR(VAR,HELP-STRING)
-dnl An internal macros to have RTEMS_BSPOPTS_HELP's help string pretty
-dnl printed with configure --help.
-dnl Stripped down version of autoconf-2.52's AC_ARG_VAR.
-
-AC_DEFUN([RTEMS_ARG_VAR],
-[
-m4_expand_once([m4_divert_once([HELP_VAR],
-[AS_HELP_STRING([$1],[$2], )])],
- [$0($1)])dnl
-])
-
-AC_DEFUN(
-[RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED],
-[RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[$1],[$2])])
-
-AC_DEFUN(
-[RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED],
-[RTEMS_BSPOPTS_HELP([BSP_DATA_CACHE_ENABLED],
-[enables the data cache, if defined to a value other than zero])])
-
-AC_DEFUN(
-[RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED],
-[RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[$1],[$2])])
-
-AC_DEFUN(
-[RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED],
-[RTEMS_BSPOPTS_HELP([BSP_INSTRUCTION_CACHE_ENABLED],
-[enables the instruction cache, if defined to a value other than zero])])
diff --git a/c/src/aclocal/canonical-target-name.m4 b/c/src/aclocal/canonical-target-name.m4
deleted file mode 100644
index d3c2531cda..0000000000
--- a/c/src/aclocal/canonical-target-name.m4
+++ /dev/null
@@ -1,25 +0,0 @@
-dnl canonicalize target cpu
-dnl NOTE: Most rtems targets do not fullfil autoconf's
-dnl target naming conventions "processor-vendor-os"
-dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
-dnl and we have to fix it for rtems ourselves
-
-AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
-[AC_REQUIRE([AC_CANONICAL_HOST])
-AC_MSG_CHECKING(rtems target cpu)
-case "${host}" in
-riscv*-*-rtems*)
- RTEMS_CPU=riscv;;
-*-*-rtems*)
- RTEMS_CPU="$host_cpu";;
-*)
- ;;
-esac
-AS_IF([test -n "$RTEMS_CPU"],
-[dnl
-AC_MSG_RESULT($RTEMS_CPU)],
-[dnl
-AC_MSG_RESULT([<none>])
-AC_MSG_ERROR([unsupported host $host])])
-AC_SUBST(RTEMS_CPU)
-])
diff --git a/c/src/aclocal/canonicalize-tools.m4 b/c/src/aclocal/canonicalize-tools.m4
deleted file mode 100644
index 8fd551385c..0000000000
--- a/c/src/aclocal/canonicalize-tools.m4
+++ /dev/null
@@ -1,13 +0,0 @@
-dnl Set target tools
-
-AC_DEFUN([RTEMS_CANONICALIZE_TOOLS],
-[AC_REQUIRE([RTEMS_PROG_CC])dnl
-
-dnl FIXME: What shall be done if these tools are not available?
- RTEMS_CHECK_TOOL(AR,ar,no)
- RTEMS_CHECK_TOOL(AS,as,no)
- RTEMS_CHECK_TOOL(LD,ld,no)
-
-dnl special treatment of ranlib
- RTEMS_CHECK_TOOL(RANLIB,ranlib,:)
-])
diff --git a/c/src/aclocal/check-custom-bsp.m4 b/c/src/aclocal/check-custom-bsp.m4
deleted file mode 100644
index 11c2f1f7d2..0000000000
--- a/c/src/aclocal/check-custom-bsp.m4
+++ /dev/null
@@ -1,20 +0,0 @@
-AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
-AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target
-AC_REQUIRE([RTEMS_SOURCE_TOP])dnl sets RTEMS_SOURCE_ROOT
- $2=
- for i in \
- `ls "${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}"/*/config/$1 2>/dev/null`;
- do
- AS_IF([test -r $i],[
- $2="$i"
- break;
- ])
- done
-])
-
-AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[
- _RTEMS_CHECK_CUSTOM_BSP([[$]$1.cfg],[BSP_FOUND])
- AS_IF([test -z "$BSP_FOUND"],[
- AC_MSG_ERROR([missing [$]$1.cfg])
- ])
-])
diff --git a/c/src/aclocal/check-cxx.m4 b/c/src/aclocal/check-cxx.m4
deleted file mode 100644
index e679d4e296..0000000000
--- a/c/src/aclocal/check-cxx.m4
+++ /dev/null
@@ -1,18 +0,0 @@
-AC_DEFUN([RTEMS_CHECK_CXX],
-[dnl
-AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl
-AC_REQUIRE([RTEMS_PROG_CXX_FOR_TARGET])dnl
-AC_CACHE_CHECK([whether to build rtems++],
- rtems_cv_HAS_CPLUSPLUS,
- [ if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
- if test -n "$CXX"; then
- rtems_cv_HAS_CPLUSPLUS="yes"
- else
- rtems_cv_HAS_CPLUSPLUS="no"
- fi
- else
- rtems_cv_HAS_CPLUSPLUS="no"
- fi])
-HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS";
-AC_SUBST(HAS_CPLUSPLUS)dnl
-])
diff --git a/c/src/aclocal/check-multiprocessing.m4 b/c/src/aclocal/check-multiprocessing.m4
deleted file mode 100644
index ee2ea3a75c..0000000000
--- a/c/src/aclocal/check-multiprocessing.m4
+++ /dev/null
@@ -1,37 +0,0 @@
-AC_DEFUN([RTEMS_CHECK_MULTIPROCESSING],
-[dnl
-AC_REQUIRE([RTEMS_ENABLE_MULTILIB])dnl
-AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
-AC_REQUIRE([RTEMS_TOP])dnl
-AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
-AC_REQUIRE([RTEMS_ENABLE_MULTIPROCESSING])dnl
-
-AC_CACHE_CHECK([if wanting multiprocessing],
- [rtems_cv_want_multiprocessing],
- [
- AS_IF([test x"$multilib" = x"no"],
- [# no cpukit
- rtems_cv_want_multiprocessing="$enable_multiprocessing"
- ],[
-#HACK: Should check for RTEMS_MULTIPROCESSING in cpuopts.h, instead
- rtems_cv_want_multiprocessing="$enable_multiprocessing"
- ])
- ])
-
-AS_IF([test "$rtems_cv_want_multiprocessing" = "yes"],
-[
- AC_CACHE_CHECK([whether BSP supports multiprocessing],
- [rtems_cv_HAS_MP],[
- if test -d "${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/mpci"; then
- rtems_cv_HAS_MP="yes" ;
- else
- rtems_cv_HAS_MP="no";
- fi
- ])
-if test $rtems_cv_HAS_MP = "no"; then
-AC_MSG_ERROR([multiprocessing requested but not supported])
-fi
-],[rtems_cv_HAS_MP="no";])
-
-AM_CONDITIONAL(HAS_MP,[test x"$rtems_cv_HAS_MP" = x"yes"])
-])
diff --git a/c/src/aclocal/check-networking.m4 b/c/src/aclocal/check-networking.m4
deleted file mode 100644
index 8200dca98d..0000000000
--- a/c/src/aclocal/check-networking.m4
+++ /dev/null
@@ -1,30 +0,0 @@
-AC_DEFUN([RTEMS_CHECK_NETWORKING],
-[dnl
-AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
-AC_REQUIRE([RTEMS_ENABLE_NETWORKING])dnl
-AC_REQUIRE([RTEMS_INCLUDES])dnl
-
-AC_CACHE_CHECK([whether BSP supports networking],
- rtems_cv_HAS_NETWORKING,
- [dnl
- case "$host" in
- # Newer architecture ports that should only use new TCP/IP stack
- x86_64*)
- rtems_cv_HAS_NETWORKING="no"
- ;;
- *)
- if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
- rtems_cv_HAS_NETWORKING="yes";
- else
- rtems_cv_HAS_NETWORKING="disabled";
- fi
- ;;
- esac])
-if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
- HAS_NETWORKING="yes";
- RTEMS_CPPFLAGS="${RTEMS_CPPFLAGS} -I${RTEMS_SOURCE_ROOT}/cpukit/libnetworking";
-else
- HAS_NETWORKING="no";
-fi
-AC_SUBST(HAS_NETWORKING)dnl
-])
diff --git a/c/src/aclocal/check-posix.m4 b/c/src/aclocal/check-posix.m4
deleted file mode 100644
index 8ef64f06bc..0000000000
--- a/c/src/aclocal/check-posix.m4
+++ /dev/null
@@ -1,31 +0,0 @@
-AC_DEFUN([RTEMS_CHECK_POSIX_API],
-[dnl
-AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
-AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl
-
-AC_CACHE_CHECK([whether CPU supports libposix],
- rtems_cv_HAS_POSIX_API,
- [dnl
- case "$RTEMS_CPU" in
- *)
- if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
- rtems_cv_HAS_POSIX_API="yes";
- else
- rtems_cv_HAS_POSIX_API="disabled";
- fi
- ;;
- esac])
-if test "$rtems_cv_HAS_POSIX_API" = "yes"; then
- HAS_POSIX_API="yes";
-else
- HAS_POSIX_API="no";
-fi
-AC_SUBST(HAS_POSIX_API)dnl
-])
-
-AC_DEFUN([RTEMS_DEFINE_POSIX_API],
-[AC_REQUIRE([RTEMS_CHECK_POSIX_API])dnl
-AS_IF(
- [test x"${HAS_POSIX_API}" = x"yes"],
- [AC_DEFINE_UNQUOTED(RTEMS_POSIX_API,1,[if posix api is supported])])
-])
diff --git a/c/src/aclocal/check-smp.m4 b/c/src/aclocal/check-smp.m4
deleted file mode 100644
index b9b10b1bf2..0000000000
--- a/c/src/aclocal/check-smp.m4
+++ /dev/null
@@ -1,17 +0,0 @@
-AC_DEFUN([RTEMS_CHECK_SMP],
-[dnl
-AC_REQUIRE([RTEMS_ENABLE_SMP])dnl
-
-AC_CACHE_CHECK([whether CPU supports SMP],
- rtems_cv_HAS_SMP,
- [dnl
- case "$RTEMS_CPU" in
- *)
- if test "${RTEMS_HAS_SMP}" = "yes"; then
- rtems_cv_HAS_SMP="yes";
- else
- rtems_cv_HAS_SMP="disabled";
- fi
- ;;
- esac])
-])
diff --git a/c/src/aclocal/check-tool.m4 b/c/src/aclocal/check-tool.m4
deleted file mode 100644
index 2bc137cd96..0000000000
--- a/c/src/aclocal/check-tool.m4
+++ /dev/null
@@ -1,9 +0,0 @@
-## Check for a cross tool, similar to AC_CHECK_TOOL, but do not fall back to
-## the un-prefixed version of PROG-TO-CHECK-FOR.
-dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]])
-AC_DEFUN([RTEMS_CHECK_TOOL],
-[
- AS_IF([test "x$build_alias" != "x$host_alias"],
- [rtems_tool_prefix=${ac_tool_prefix}])
- AC_CHECK_PROG($1, ${rtems_tool_prefix}$2, ${rtems_tool_prefix}$2, $3, $4)
-])
diff --git a/c/src/aclocal/config-subdirs.m4 b/c/src/aclocal/config-subdirs.m4
deleted file mode 100644
index ed1b29c625..0000000000
--- a/c/src/aclocal/config-subdirs.m4
+++ /dev/null
@@ -1,32 +0,0 @@
-dnl
-dnl Misc utility macros for subdir handling to work around missing abilities
-dnl in autoconf, automake and structural issues with RTEMS
-dnl
-dnl Contains parts derived from autoconf-2.13 AC_OUTPUT_SUBDIRS and Cygnus'
-dnl configure.ac.
-dnl
-
-dnl
-dnl _AC_DOTS(PATH)
-dnl
-AC_DEFUN([_AC_DOTS],[
-# A "../" for each directory in $1.
- ac_dots=`echo $1 | \
- sed -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'`
-])
-
-dnl
-dnl _RTEMS_ADJUST_SRCDIR(REVAR,CONFIG_DIR[,TARGET_SUBDIR])
-dnl
-AC_DEFUN([_RTEMS_ADJUST_SRCDIR],[
- _AC_DOTS(ifelse([$3], ,[$2],[$3/$2]))
-
- case "$srcdir" in
- .) # No --srcdir option. We are building in place.
- $1=$srcdir ;;
- [[\\/]]* | ?:[[\\/]]*) # Absolute path.
- $1=$srcdir/$2 ;;
- *) # Relative path.
- $1=$ac_dots$srcdir/$2 ;;
- esac
-])
diff --git a/c/src/aclocal/enable-cxx.m4 b/c/src/aclocal/enable-cxx.m4
deleted file mode 100644
index 952f0151a8..0000000000
--- a/c/src/aclocal/enable-cxx.m4
+++ /dev/null
@@ -1,11 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_CXX],
-[
-AC_ARG_ENABLE(cxx,
-[AS_HELP_STRING([--enable-cxx],
-[enable C++ support])],
-[case "${enable_cxx}" in
- yes) RTEMS_HAS_CPLUSPLUS=yes ;;
- no) RTEMS_HAS_CPLUSPLUS=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for enable-cxx option) ;;
-esac], [RTEMS_HAS_CPLUSPLUS=yes])
-])
diff --git a/c/src/aclocal/enable-drvmgr.m4 b/c/src/aclocal/enable-drvmgr.m4
deleted file mode 100644
index 489f60e75f..0000000000
--- a/c/src/aclocal/enable-drvmgr.m4
+++ /dev/null
@@ -1,12 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_DRVMGR],
-[
-## AC_BEFORE([$0], [RTEMS_CHECK_DRVMGR_STARTUP])dnl
-
-AC_ARG_ENABLE(drvmgr,
-[AS_HELP_STRING([--enable-drvmgr],[enable Driver Manager at Startup])],
-[case "${enableval}" in
- yes) RTEMS_DRVMGR_STARTUP=yes ;;
- no) RTEMS_DRVMGR_STARTUP=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for enable-drvmgr option) ;;
-esac],[RTEMS_DRVMGR_STARTUP=yes])
-])
diff --git a/c/src/aclocal/enable-multiprocessing.m4 b/c/src/aclocal/enable-multiprocessing.m4
deleted file mode 100644
index 53fa8ffe81..0000000000
--- a/c/src/aclocal/enable-multiprocessing.m4
+++ /dev/null
@@ -1,13 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_MULTIPROCESSING],
-[
-AC_ARG_ENABLE(multiprocessing,
-[AS_HELP_STRING([--enable-multiprocessing],
-[enable multiprocessing interface; the multiprocessing interface is a
-communication interface between different RTEMS instances and allows
-synchronization of objects via message passing])],
-[case "${enable_multiprocessing}" in
- yes) ;;
- no) ;;
- *) AC_MSG_ERROR(bad value ${enableval} for enable-multiprocessing option) ;;
-esac],[enable_multiprocessing=no])
-])
diff --git a/c/src/aclocal/enable-networking.m4 b/c/src/aclocal/enable-networking.m4
deleted file mode 100644
index 8a9dc36cbd..0000000000
--- a/c/src/aclocal/enable-networking.m4
+++ /dev/null
@@ -1,13 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_NETWORKING],
-[
-## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl
-
-AC_ARG_ENABLE(networking,
-[AS_HELP_STRING(--enable-networking,enable TCP/IP stack)],
-[case "${enableval}" in
- yes) RTEMS_HAS_NETWORKING=yes ;;
- no) RTEMS_HAS_NETWORKING=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for enable-networking option) ;;
-esac],[RTEMS_HAS_NETWORKING=yes])
-AC_SUBST(RTEMS_HAS_NETWORKING)dnl
-])
diff --git a/c/src/aclocal/enable-posix.m4 b/c/src/aclocal/enable-posix.m4
deleted file mode 100644
index f96ec1ffcb..0000000000
--- a/c/src/aclocal/enable-posix.m4
+++ /dev/null
@@ -1,21 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_POSIX],
-[
-## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
-
-AC_ARG_ENABLE(posix,
-[AS_HELP_STRING(--enable-posix,enable posix interface)],
-[case "${enableval}" in
- yes) RTEMS_HAS_POSIX_API=yes ;;
- no) RTEMS_HAS_POSIX_API=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;;
-esac],[RTEMS_HAS_POSIX_API=yes])
-
-case "${host}" in
- no_cpu-*rtems*)
- RTEMS_HAS_POSIX_API=no
- ;;
- *)
- ;;
-esac
-AC_SUBST(RTEMS_HAS_POSIX_API)
-])
diff --git a/c/src/aclocal/enable-smp.m4 b/c/src/aclocal/enable-smp.m4
deleted file mode 100644
index 1448a2e5eb..0000000000
--- a/c/src/aclocal/enable-smp.m4
+++ /dev/null
@@ -1,17 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_SMP],
-[
-## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl
-
-AC_ARG_ENABLE(smp,
-[AS_HELP_STRING([--enable-smp],[enable support for symmetric multiprocessing
-(SMP)])],
-[case "${enableval}" in
- yes) case "${RTEMS_CPU}" in
- arm|powerpc|riscv*|sparc|i386) RTEMS_HAS_SMP=yes ;;
- *) RTEMS_HAS_SMP=no ;;
- esac
- ;;
- no) RTEMS_HAS_SMP=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;;
-esac],[RTEMS_HAS_SMP=no])
-])
diff --git a/c/src/aclocal/env-rtemsbsp.m4 b/c/src/aclocal/env-rtemsbsp.m4
deleted file mode 100644
index 2fcc7fe849..0000000000
--- a/c/src/aclocal/env-rtemsbsp.m4
+++ /dev/null
@@ -1,37 +0,0 @@
-dnl Pass a single BSP via an environment variable
-dnl used by per BSP configure scripts
-AC_DEFUN([RTEMS_ENV_RTEMSBSP],
-[dnl
-AC_BEFORE([$0], [RTEMS_ENABLE_RTEMSBSP])dnl
-AC_BEFORE([$0], [RTEMS_PROJECT_ROOT])dnl
-AC_BEFORE([$0], [RTEMS_CHECK_CUSTOM_BSP])dnl
-
-# AC_ARG_VAR([CPU_CFLAGS],[CFLAGS specifying CPU-dependent features])
-# AC_ARG_VAR([CFLAGS_OPTIMIZE_V],[CFLAGS for building the OPTIMIZE variant])
-# AC_ARG_VAR([CFLAGS_DEBUG_V],[CFLAGS for building the DEBUG variant])
-AC_ARG_VAR([RTEMS_BSP_FAMILY],[RTEMS's BSP directory])
-AC_ARG_VAR([RTEMS_CPU_MODEL],[RTEMS's cpu model])
-
-AC_ARG_VAR([RTEMS_BSP],[RTEMS_BSP to build])
-AC_MSG_CHECKING([for RTEMS_BSP])
-AC_CACHE_VAL(rtems_cv_RTEMS_BSP,
-[dnl
- test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
-])dnl
-if test -z "$rtems_cv_RTEMS_BSP"; then
- AC_MSG_ERROR([Missing RTEMS_BSP])
-fi
-RTEMS_BSP="$rtems_cv_RTEMS_BSP"
-AC_MSG_RESULT(${RTEMS_BSP})
-AC_SUBST(RTEMS_BSP)
-
-includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include"
-libdir="\${exec_prefix}/${RTEMS_BSP}/lib"
-
-AC_SUBST([PROJECT_INCLUDE],["\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"])
-AC_SUBST([PROJECT_LIB],["\$(PROJECT_ROOT)/$RTEMS_BSP/lib"])
-AC_SUBST([PROJECT_RELEASE],["\$(PROJECT_ROOT)/$RTEMS_BSP"])
-
-AC_SUBST([project_libdir],["\$(libdir)"])
-AC_SUBST([project_includedir],["\$(includedir)"])
-])
diff --git a/c/src/aclocal/gcc-isystem.m4 b/c/src/aclocal/gcc-isystem.m4
deleted file mode 100644
index c0eebf6432..0000000000
--- a/c/src/aclocal/gcc-isystem.m4
+++ /dev/null
@@ -1,22 +0,0 @@
-dnl Check whether the gcc accepts -isystem
-dnl
-
-AC_DEFUN([RTEMS_GCC_ISYSTEM],
-[AC_REQUIRE([RTEMS_PROG_CC])
-AC_CACHE_CHECK(whether $CC accepts -isystem,rtems_cv_gcc_isystem,
-[
-rtems_cv_gcc_isystem=no
-if test x"$GCC" = x"yes"; then
-cat << EOF > conftest.h
-int conftest123();
-EOF
-cat << EOF > conftest.c
-#include <conftest.h>
-int conftest123() {}
-EOF
- if test -z "`${CC} -isystem./ -c conftest.c 2>&1`";then
- rtems_cv_gcc_isystem=yes
- fi
-fi
-rm -f conftest*
-])])
diff --git a/c/src/aclocal/gcc-pipe.m4 b/c/src/aclocal/gcc-pipe.m4
deleted file mode 100644
index 06fed1ca13..0000000000
--- a/c/src/aclocal/gcc-pipe.m4
+++ /dev/null
@@ -1,17 +0,0 @@
-dnl Check whether the target compiler accepts -pipe
-
-AC_DEFUN([RTEMS_GCC_PIPE],
-[AC_REQUIRE([RTEMS_PROG_CC])
-AC_REQUIRE([AC_CANONICAL_HOST])
-AC_CACHE_CHECK(whether $CC accepts --pipe,rtems_cv_gcc_pipe,
-[
-rtems_cv_gcc_pipe=no
-if test x"$GCC" = x"yes"; then
- echo 'void f(){}' >conftest.c
- if test -z "`${CC} --pipe -c conftest.c 2>&1`";then
- rtems_cv_gcc_pipe=yes
- fi
- rm -f conftest*
-fi
-])
-])
diff --git a/c/src/aclocal/gcc-specs.m4 b/c/src/aclocal/gcc-specs.m4
deleted file mode 100644
index ddcc2bfb0c..0000000000
--- a/c/src/aclocal/gcc-specs.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-dnl Check whether the target compiler accepts -specs
-
-AC_DEFUN([RTEMS_GCC_SPECS],
-[AC_REQUIRE([RTEMS_PROG_CC])
-AC_CACHE_CHECK(whether $CC accepts -specs,rtems_cv_gcc_specs,
-[
-rtems_cv_gcc_specs=no
-if test x"$GCC" = x"yes"; then
- touch confspec
- echo 'void f(){}' >conftest.c
- if test -z "`${CC} -specs confspec -c conftest.c 2>&1`";then
- rtems_cv_gcc_specs=yes
- fi
-fi
-rm -f confspec conftest*
-])])
diff --git a/c/src/aclocal/gcc-weak.m4 b/c/src/aclocal/gcc-weak.m4
deleted file mode 100644
index 73cfb28e7e..0000000000
--- a/c/src/aclocal/gcc-weak.m4
+++ /dev/null
@@ -1,19 +0,0 @@
-AC_DEFUN([RTEMS_CHECK_GCC_WEAK],[
-AC_CACHE_CHECK([whether $CC supports function __attribute__((weak))],
-[rtems_cv_cc_attribute_weak],[
- AS_IF([test x"$GCC" = xyes],[
- save_CFLAGS=$CFLAGS
- CFLAGS=-Werror])
-
- AC_COMPILE_IFELSE([
- AC_LANG_PROGRAM(
- [void myfunc(char c) __attribute__ ((weak));
- void myfunc(char c) {}],
- [])],
- [rtems_cv_cc_attribute_weak=yes],
- [rtems_cv_cc_attribute_weak=no])
-
- AS_IF([test x"$GCC" = xyes],[
- CFLAGS=$save_CFLAGS])
-])
-])
diff --git a/c/src/aclocal/i386-gas-code16.m4 b/c/src/aclocal/i386-gas-code16.m4
deleted file mode 100644
index 9c12d7bee3..0000000000
--- a/c/src/aclocal/i386-gas-code16.m4
+++ /dev/null
@@ -1,27 +0,0 @@
-dnl check for i386 gas supporting 16 bit mode
-dnl - binutils 2.9.1.0.7 and higher
-
-AC_DEFUN([RTEMS_I386_GAS_CODE16],
-[ if test "${host_cpu}" = "i386"; then
- AC_CACHE_CHECK([for 16 bit mode assembler support],
- rtems_cv_prog_gas_code16,
- [cat > conftest.s << EOF
- .code16
- data32
- addr32
- lgdt 0
-EOF
- if AC_TRY_COMMAND($AS -o conftest.o conftest.s); then
- rtems_cv_prog_gas_code16=yes
- else
- rtems_cv_prog_gas_code16=no
- fi])
- RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16"
- fi
- AC_SUBST(RTEMS_GAS_CODE16)
- if test x"${RTEMS_GAS_CODE16}" = x"yes";
- then
- AC_DEFINE_UNQUOTED(NEW_GAS,1,[if using 16 bit mode assembler support])
- fi
-])
-
diff --git a/c/src/aclocal/multilib.m4 b/c/src/aclocal/multilib.m4
deleted file mode 100644
index 042ae52aff..0000000000
--- a/c/src/aclocal/multilib.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-dnl This provides configure definitions used for multilib support
-
-dnl parts of these macros are derived from newlib-1.8.2's multilib support
-
-AC_DEFUN([RTEMS_ENABLE_MULTILIB],
-[
-AC_ARG_ENABLE(multilib,
-AS_HELP_STRING(--enable-multilib,build many library versions (default=no)),
-[case "${enableval}" in
- yes) multilib=yes ;;
- no) multilib=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;;
- esac], [multilib=no])dnl
-
-AM_CONDITIONAL(MULTILIB,test x"${multilib}" = x"yes")
-])
diff --git a/c/src/aclocal/path-ksh.m4 b/c/src/aclocal/path-ksh.m4
deleted file mode 100644
index 2c79b31d1e..0000000000
--- a/c/src/aclocal/path-ksh.m4
+++ /dev/null
@@ -1,12 +0,0 @@
-AC_DEFUN([RTEMS_PATH_KSH],
-[
-dnl NOTE: prefer bash over ksh over sh
-AC_PATH_PROGS(KSH,bash ksh sh)
-if test -z "$KSH"; then
-dnl NOTE: This cannot happen -- /bin/sh must always exist
-AC_MSG_ERROR(
-[***]
-[ Cannot determine a usable shell bash/ksh/sh]
-[ Please contact your system administrator] );
-fi
-])
diff --git a/c/src/aclocal/ppc.m4 b/c/src/aclocal/ppc.m4
deleted file mode 100644
index 6beff2a941..0000000000
--- a/c/src/aclocal/ppc.m4
+++ /dev/null
@@ -1,19 +0,0 @@
-# Some hacks for handling powerpc-exception subdirectories
-#
-# Note: Consider this file a temporary band-aid until a better, more general
-# subdirectory handling solution is introduced to RTEMS.
-
-AC_DEFUN([RTEMS_PPC_EXCEPTIONS],
-[
-AC_MSG_CHECKING([for style of powerpc exceptions])
-AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM(
- [],
- [#if defined(_OLD_EXCEPTIONS)
- choke me
- #endif])],
- [EXCEPTIONS=new],
- [EXCEPTIONS=old])
-AC_MSG_RESULT([$EXCEPTIONS])
-AC_SUBST([exceptions],[$EXCEPTIONS-exceptions])
-])
diff --git a/c/src/aclocal/prog-cc.m4 b/c/src/aclocal/prog-cc.m4
deleted file mode 100644
index 39bec6914a..0000000000
--- a/c/src/aclocal/prog-cc.m4
+++ /dev/null
@@ -1,45 +0,0 @@
-dnl
-dnl Check for target gcc
-dnl
-
-AC_DEFUN([RTEMS_PROG_CC],
-[
-AC_BEFORE([$0], [AC_PROG_CPP])dnl
-AC_BEFORE([$0], [AC_PROG_CC])dnl
-AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
-
-RTEMS_CHECK_TOOL(CC,gcc)
-test -z "$CC" && \
- AC_MSG_ERROR([no acceptable cc found in \$PATH])
-AC_PROG_CC
-AC_PROG_CPP
-])
-
-AC_DEFUN([RTEMS_PROG_CC_FOR_TARGET],
-[
-dnl check target cc
-RTEMS_PROG_CC
-dnl check if the compiler supports -isystem
-RTEMS_GCC_ISYSTEM
-dnl check if the target compiler may use --pipe
-RTEMS_GCC_PIPE
-test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
-
-dnl check if the compiler supports --specs
-RTEMS_GCC_SPECS
-
-dnl Compilers that does not support --specs (Clang) still needs -B and -qrtems
-GCCSPECS="-B\$(RTEMS_SOURCE_ROOT)/bsps/\$(RTEMS_CPU)/\$(RTEMS_BSP_FAMILY)/start"
-AS_IF([test x"$rtems_cv_gcc_specs" = xyes],[
-GCCSPECS="${GCCSPECS} -specs bsp_specs"])
-AC_SUBST(GCCSPECS)
-GCCSPECS="${GCCSPECS} -qrtems"
-
-AS_IF([test "$GCC" = yes],[
- RTEMS_RELLDFLAGS="-qnolinkcmds -nostdlib -r"
-])
-AC_SUBST(RTEMS_RELLDFLAGS)
-
-RTEMS_INCLUDES
-RTEMS_BSP_INCLUDES
-])
diff --git a/c/src/aclocal/prog-ccas.m4 b/c/src/aclocal/prog-ccas.m4
deleted file mode 100644
index edd08d841d..0000000000
--- a/c/src/aclocal/prog-ccas.m4
+++ /dev/null
@@ -1,6 +0,0 @@
-AC_DEFUN([RTEMS_PROG_CCAS],
-[
-AC_REQUIRE([RTEMS_PROG_CC])
-AM_PROG_AS
-AC_SUBST(RTEMS_CCASFLAGS,["-DASM"])
-])
diff --git a/c/src/aclocal/prog-cxx.m4 b/c/src/aclocal/prog-cxx.m4
deleted file mode 100644
index e0ae7b468a..0000000000
--- a/c/src/aclocal/prog-cxx.m4
+++ /dev/null
@@ -1,49 +0,0 @@
-dnl
-dnl Check for target g++
-dnl
-
-AC_DEFUN([RTEMS_PROG_CXX_FOR_TARGET],
-[
-AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
-AC_REQUIRE([RTEMS_ENABLE_CXX])
-AC_REQUIRE([RTEMS_CHECK_SMP])
-
-# If CXXFLAGS is not set, default to CFLAGS
-if test x"$rtems_cv_HAS_SMP" = x"yes" ; then
- CXXFLAGS=${CXXFLAGS-${CFLAGS} -std=gnu++11}
-else
- CXXFLAGS=${CXXFLAGS-${CFLAGS}}
-fi
-
-CXXFLAGS=`echo ${CXXFLAGS} | sed \
- -e s/-Wmissing-prototypes// \
- -e s/-Wimplicit-function-declaration// \
- -e s/-Wstrict-prototypes// \
- -e s/-Wnested-externs//`
-
-RTEMS_CHECK_TOOL(CXX,g++)
-if test "$RTEMS_HAS_CPLUSPLUS" = "yes";
-then
- dnl Only accept g++
- dnl NOTE: This might be too restrictive
- if test -z "$CXX";
- then
- RTEMS_HAS_CPLUSPLUS=no
- HAS_CPLUSPLUS=no
- ## Work-around to a bug in automake
- AM_CONDITIONAL([am__fastdepCXX],[false])
- else
- AC_PROG_CXX
- AC_PROG_CXXCPP
- if test "$ac_cv_prog_cc_cross" != "$ac_cv_prog_cxx_cross"; then
- AC_MSG_ERROR([***]
- [Inconsistency in compiler configuration:]
- [Target C compiler and target C++ compiler]
- [must both either be cross compilers or native compilers])
- fi
- fi
-else
- ## Work-around to a bug in automake
- AM_CONDITIONAL([am__fastdepCXX],[false])
-fi
-])
diff --git a/c/src/aclocal/project-root.m4 b/c/src/aclocal/project-root.m4
deleted file mode 100644
index dc9ba597bf..0000000000
--- a/c/src/aclocal/project-root.m4
+++ /dev/null
@@ -1,4 +0,0 @@
-AC_DEFUN([RTEMS_PROJECT_ROOT],
-[dnl
-AC_REQUIRE([RTEMS_TOP])
-])
diff --git a/c/src/aclocal/quoting.m4 b/c/src/aclocal/quoting.m4
deleted file mode 100644
index 0a95ae3e9b..0000000000
--- a/c/src/aclocal/quoting.m4
+++ /dev/null
@@ -1,41 +0,0 @@
-dnl RTEMS_CONFIGURE_ARGS_QUOTE(dnl RETURN_VAR, [ADDITIONAL_CASES], [VAR_TO_PROCESS]])
-dnl
-AC_DEFUN([_RTEMS_CONFIGURE_ARGS_QUOTE],
-[
-$1_prune()
-{
- # Remove --cache-file and --srcdir arguments so they do not pile up.
- $1=
- ac_prev=
- for ac_arg
- do
- if test -n "$ac_prev"; then
- ac_prev=
- continue
- fi
- case $ac_arg in
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
- | --c=*)
- ;;
- --config-cache | -C)
- ;;
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- ;;
- m4_if([$2],,,[$2])
- *) $1="$$1 '$ac_arg'" ;;
- esac
- done
- export $1
-}
-])
-
-AC_DEFUN([RTEMS_CONFIGURE_ARGS_QUOTE],[
-m4_expand_once([_RTEMS_CONFIGURE_ARGS_QUOTE([$1],[$2])])
-eval $1_prune m4_if([$3],,[$ac_configure_args],[[$]$3])
-])
diff --git a/c/src/aclocal/rtems-bsp-includes.m4 b/c/src/aclocal/rtems-bsp-includes.m4
deleted file mode 100644
index 2248211192..0000000000
--- a/c/src/aclocal/rtems-bsp-includes.m4
+++ /dev/null
@@ -1,13 +0,0 @@
-dnl
-dnl RTEMS Include paths.
-dnl
-AC_DEFUN([RTEMS_BSP_INCLUDES],
-[
-AC_REQUIRE([RTEMS_SOURCE_TOP])
-AC_REQUIRE([RTEMS_BUILD_TOP])
-RTEMS_BSP_CPPFLAGS="-I${RTEMS_BUILD_ROOT}/lib/libbsp/\$(RTEMS_CPU)/\$(RTEMS_BSP_FAMILY)/include \
--I${RTEMS_SOURCE_ROOT}/bsps/include \
--I${RTEMS_SOURCE_ROOT}/bsps/\$(RTEMS_CPU)/include \
--I${RTEMS_SOURCE_ROOT}/bsps/\$(RTEMS_CPU)/\$(RTEMS_BSP_FAMILY)/include"
-AC_SUBST([RTEMS_BSP_CPPFLAGS])
-])
diff --git a/c/src/aclocal/rtems-build-top.m4 b/c/src/aclocal/rtems-build-top.m4
deleted file mode 100644
index 5708119c14..0000000000
--- a/c/src/aclocal/rtems-build-top.m4
+++ /dev/null
@@ -1,12 +0,0 @@
-dnl
-dnl RTEMS_BUILD_TOP($1)
-dnl
-AC_DEFUN([RTEMS_BUILD_TOP],
-[dnl
-#
-# This is a copy of the horrible hack in rtems-top.m4 and it is simpler to
-# copy it that attempt to clean this crap up.
-#
-RTEMS_BUILD_ROOT="${with_rtems_build_top}"
-AC_SUBST([RTEMS_BUILD_ROOT])
-])dnl
diff --git a/c/src/aclocal/rtems-cpu-subdirs.m4 b/c/src/aclocal/rtems-cpu-subdirs.m4
deleted file mode 100644
index 7805f892dd..0000000000
--- a/c/src/aclocal/rtems-cpu-subdirs.m4
+++ /dev/null
@@ -1,32 +0,0 @@
-AC_DEFUN([_RTEMS_CPU_SUBDIR],
-[
-$1 ) if test -d ${srcdir}/ifelse([$2],,[$1],[$2/$1]) ; then
- AC_CONFIG_SUBDIRS(ifelse([$2],,[$1],[$2/$1]))
- fi
-])
-
-## RTEMS_CPU_SUBDIRS([PREFIX])
-AC_DEFUN([RTEMS_CPU_SUBDIRS],
-[
-## EDIT: If adding a new cpu to RTEMS, add it to the case block below.
-case $RTEMS_CPU in
-_RTEMS_CPU_SUBDIR([arm],[$1]);;
-_RTEMS_CPU_SUBDIR([bfin],[$1]);;
-_RTEMS_CPU_SUBDIR([i386],[$1]);;
-_RTEMS_CPU_SUBDIR([lm32],[$1]);;
-_RTEMS_CPU_SUBDIR([m68k],[$1]);;
-_RTEMS_CPU_SUBDIR([mips],[$1]);;
-_RTEMS_CPU_SUBDIR([moxie],[$1]);;
-_RTEMS_CPU_SUBDIR([nios2],[$1]);;
-_RTEMS_CPU_SUBDIR([no_cpu],[$1]);;
-_RTEMS_CPU_SUBDIR([or1k],[$1]);;
-_RTEMS_CPU_SUBDIR([powerpc],[$1]);;
-_RTEMS_CPU_SUBDIR([riscv],[$1]);;
-_RTEMS_CPU_SUBDIR([sh],[$1]);;
-_RTEMS_CPU_SUBDIR([sparc],[$1]);;
-_RTEMS_CPU_SUBDIR([sparc64],[$1]);;
-_RTEMS_CPU_SUBDIR([v850],[$1]);;
-_RTEMS_CPU_SUBDIR([x86_64],[$1]);;
-*) AC_MSG_ERROR([Invalid RTEMS_CPU <[$]{RTEMS_CPU}>])
-esac
-])
diff --git a/c/src/aclocal/rtems-includes.m4 b/c/src/aclocal/rtems-includes.m4
deleted file mode 100644
index ca4ebed581..0000000000
--- a/c/src/aclocal/rtems-includes.m4
+++ /dev/null
@@ -1,23 +0,0 @@
-dnl
-dnl RTEMS Include paths.
-dnl
-AC_DEFUN([RTEMS_INCLUDES],
-[
-AC_REQUIRE([RTEMS_SOURCE_TOP])
-AC_REQUIRE([RTEMS_BUILD_TOP])
-
-# Was CFLAGS set?
-rtems_cv_CFLAGS_set="${CFLAGS+set}"
-
-RTEMS_INCLUDE_CPUKIT="-I${RTEMS_SOURCE_ROOT}/cpukit/include"
-RTEMS_INCLUDE_CPUKIT_ARCH="-I${RTEMS_SOURCE_ROOT}/cpukit/score/cpu/\$(RTEMS_CPU)/include"
-
-RTEMS_CPUKIT_INCLUDE="${RTEMS_INCLUDE_CPUKIT} ${RTEMS_INCLUDE_CPUKIT_ARCH}"
-RTEMS_BUILD_INCLUDE="-I\$(top_builddir) -I${RTEMS_BUILD_ROOT}/include"
-
-RTEMS_INCLUDE="${RTEMS_BUILD_INCLUDE} ${RTEMS_CPUKIT_INCLUDE}"
-
-RTEMS_CPPFLAGS="${RTEMS_INCLUDE}"
-
-AC_SUBST([RTEMS_CPPFLAGS])
-])
diff --git a/c/src/aclocal/rtems-source-top.m4 b/c/src/aclocal/rtems-source-top.m4
deleted file mode 100644
index d1460ae82d..0000000000
--- a/c/src/aclocal/rtems-source-top.m4
+++ /dev/null
@@ -1,8 +0,0 @@
-dnl
-dnl RTEMS_SOURCE_TOP
-dnl
-AC_DEFUN([RTEMS_SOURCE_TOP],
-[dnl
-RTEMS_SOURCE_ROOT="${with_rtems_source_top}"
-AC_SUBST([RTEMS_SOURCE_ROOT])
-])dnl
diff --git a/c/src/aclocal/rtems-top.m4 b/c/src/aclocal/rtems-top.m4
deleted file mode 100644
index 2472f13e95..0000000000
--- a/c/src/aclocal/rtems-top.m4
+++ /dev/null
@@ -1,34 +0,0 @@
-# AC_DISABLE_OPTION_CHECKING is not available before 2.62
-AC_PREREQ(2.62)
-
-dnl
-dnl RTEMS_TOP($1)
-dnl
-dnl $1 .. relative path from this configure.ac to the toplevel configure.ac
-dnl
-AC_DEFUN([RTEMS_TOP],
-[dnl
-AC_REQUIRE([RTEMS_VERSIONING])
-AC_REQUIRE([AC_DISABLE_OPTION_CHECKING])
-AC_REQUIRE([AM_SET_LEADING_DOT])
-AC_CONFIG_AUX_DIR([$1])
-AC_CHECK_PROGS(MAKE, gmake make)
-AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
-
-AC_PREFIX_DEFAULT([/opt/rtems-][_RTEMS_API])
-
-AC_SUBST([RTEMS_TOPdir],["$1"])
-
-# HACK: The sed pattern in rtems_updir matches c/src/
-rtems_updir=m4_if([$2],[],[`echo "$1/" | sed 's,^\.\.\/\.\.\/,,'`],[$2/])
-
-AS_IF([test -n "${with_target_subdir}"],
- [project_top="../${with_project_top}"],
- [project_top="${with_project_top}"])
-AC_SUBST([PROJECT_TOPdir],[${project_top}${rtems_updir}'$(top_builddir)'])
-
-AC_SUBST([PROJECT_ROOT],[${with_project_root}${rtems_updir}'$(top_builddir)'])
-
-AC_SUBST([dirstamp],[\${am__leading_dot}dirstamp])
-AC_SUBST([pkgdatadir],["\${datadir}"/rtems]_RTEMS_API)
-])dnl
diff --git a/c/src/aclocal/target.m4 b/c/src/aclocal/target.m4
deleted file mode 100644
index 69f555eb6c..0000000000
--- a/c/src/aclocal/target.m4
+++ /dev/null
@@ -1,134 +0,0 @@
-## HACK: Work-around to structural issue with RTEMS
-## The macros below violate most autoconf and canonicalization standards
-AC_DEFUN([RTEMS_CONFIG_BUILD_SUBDIRS],
-[AC_REQUIRE([_RTEMS_OUTPUT_BUILD_SUBDIRS])
-RTEMS_BUILD_SUBDIRS="$RTEMS_BUILD_SUBDIRS [$1]"
-])
-
-dnl Derived from automake-1.4's AC_OUTPUT_SUBDIRS
-AC_DEFUN([_RTEMS_OUTPUT_BUILD_SUBDIRS],
-[AC_CONFIG_COMMANDS([bsp-tools],
-[
-# HACK: This is a blantant hack and breaks Canadian crosses
-build_alias="$build_alias"
-host_alias="$build_alias"
-if test "$no_recursion" != yes; then
- if test x"$build_alias" != x"$host_alias"; then
- target_subdir="$host_alias"
- else
- target_subdir="."
- fi
- RTEMS_CONFIGURE_ARGS_QUOTE([ac_sub_configure_args],
- [
- -host* | --host* ) ;;
- --host ) ac_prev=host_alias;;
- -target* | --target* ) ;;
- -target ) ac_prev=target_alias ;;
- -build* | --build* ) ;;
- -build ) ac_prev_build_alias ;;
- CFLAGS=* );; # HACK: Strip CFLAGS
- *_alias=* ) ;; # HACK: Workaround to autoconf passing *_alias
- ],
- [rtems_configure_args])
-
- for rtems_config_dir in : $RTEMS_BUILD_SUBDIRS; do test "x$rtems_config_dir" = x: && continue
-
- # Do not complain, so a configure script can configure whichever
- # parts of a large source tree are present.
- if test ! -d $srcdir/$rtems_config_dir; then
- continue
- fi
-
- _RTEMS_PUSH_BUILDDIR([$rtems_config_dir])
-
- _RTEMS_SUB_SRCDIR([$rtems_config_dir])
-
- # The recursion is here.
- if test -n "$ac_sub_configure"; then
-# ac_sub_cache_file=./config.cache
- ac_sub_cache_file=/dev/null
- _RTEMS_GIVEN_INSTALL
-
- echo "[running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file] --srcdir=$ac_sub_srcdir"
- # The eval makes quoting arguments work.
- if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure \
- $ac_sub_configure_args \
- --srcdir=$ac_sub_srcdir \
- --with-target-subdir=$target_subdir \
- --cache-file=$ac_sub_cache_file
- then :
- else
- AC_MSG_ERROR([$ac_sub_configure failed for $rtems_config_dir])
- fi
- fi
-
- _RTEMS_POP_BUILDDIR
- done
-fi],
-[
-RTEMS_BUILD_SUBDIRS="$RTEMS_BUILD_SUBDIRS"
-rtems_configure_args="$ac_configure_args"
-])
-])
-
-dnl
-dnl Misc utility macros for subdir handling to work around missing abilities
-dnl in autoconf, automake and structural issues with RTEMS
-dnl
-dnl Contains parts derived from autoconf-2.13 AC_OUTPUT_SUBDIRS and Cygnus'
-dnl configure.ac.
-dnl
-
-dnl
-dnl _RTEMS_PUSH_BUILDDIR(SUBDIR)
-dnl
-AC_DEFUN([_RTEMS_PUSH_BUILDDIR],
-[
-# _RTEMS_PUSH_BUILDDIR
- echo configuring in $1
- case "$srcdir" in
- .) ;;
- *) AS_MKDIR_P([$1])
- ;;
- esac
-
- ac_popdir=`pwd`
- cd $1
-])
-
-dnl
-dnl _RTEMS_POP_BUILDDIR
-dnl
-AC_DEFUN([_RTEMS_POP_BUILDDIR],
-[
- cd "$ac_popdir"
-])
-
-dnl
-dnl _RTEMS_GIVEN_INSTALL
-dnl
-AC_DEFUN([_RTEMS_GIVEN_INSTALL],
-[
-ifdef([AC_PROVIDE_AC_PROG_INSTALL],[
- case "$ac_given_INSTALL" in
- [[\\/]]* | ?:[[\\/]]*) INSTALL="$ac_given_INSTALL" ;;
- *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
- esac
-])dnl
-])
-
-dnl
-dnl _RTEMS_SUB_SRCDIR(AC_CONFIG_DIR[,TARGET_SUBDIR])
-dnl
-AC_DEFUN([_RTEMS_SUB_SRCDIR],[
-# _RTEMS_SUB_SRCDIR
- _RTEMS_ADJUST_SRCDIR(ac_sub_srcdir,$1,$2)
-
- # Check for configure
- if test -f $ac_sub_srcdir/configure; then
- ac_sub_configure=$ac_sub_srcdir/configure
- else
- AC_MSG_WARN([no configuration information is in $1])
- ac_sub_configure=
- fi
-])
diff --git a/c/src/aclocal/tool-paths.m4 b/c/src/aclocal/tool-paths.m4
deleted file mode 100644
index ff6e5f830e..0000000000
--- a/c/src/aclocal/tool-paths.m4
+++ /dev/null
@@ -1,23 +0,0 @@
-AC_DEFUN([RTEMS_TOOLPATHS],
-[
-# tooldir='$(exec_prefix)/'$target_alias
-# Temporary work-around until building in source tree is supported
-AC_REQUIRE([RTEMS_PROJECT_ROOT])
-
-tooldir='$(PROJECT_ROOT)'
-AC_SUBST(tooldir)
-
-project_includedir='$(tooldir)'/include
-AC_SUBST(project_includedir)
-
-project_libdir='$(tooldir)/lib$(MULTISUBDIR)'
-AC_SUBST(project_libdir)
-
-project_bindir='$(tooldir)/bin'
-AC_SUBST(project_bindir)
-
-rtems_bspdir='$(prefix)/${RTEMS_BSP}'
-AC_SUBST(rtems_bspdir)
-rtems_makedir='$(prefix)/make'
-AC_SUBST(rtems_makedir)
-])
diff --git a/c/src/aclocal/version.m4 b/c/src/aclocal/version.m4
deleted file mode 100644
index 69e3eea10a..0000000000
--- a/c/src/aclocal/version.m4
+++ /dev/null
@@ -1,4 +0,0 @@
-AC_DEFUN([RTEMS_VERSIONING],
-m4_define([_RTEMS_VERSION],[6.0.0]))
-
-m4_define([_RTEMS_API],[6])
diff --git a/c/src/automake/compile.am b/c/src/automake/compile.am
deleted file mode 100644
index 2cd9fd5d91..0000000000
--- a/c/src/automake/compile.am
+++ /dev/null
@@ -1,14 +0,0 @@
-## -------------------------------------------------------------------------
-
-CC = @CC@
-CXX = @CXX@
-CPP = @CPP@
-CCAS = @CCAS@
-
-##
-AM_CPPFLAGS = @RTEMS_CPPFLAGS@ @RTEMS_BSP_CPPFLAGS@
-AM_CFLAGS =
-AM_CXXFLAGS =
-AM_CCASFLAGS = @RTEMS_CCASFLAGS@
-
-ARFLAGS = crD
diff --git a/c/src/automake/host.am b/c/src/automake/host.am
deleted file mode 100644
index 2f0beadd89..0000000000
--- a/c/src/automake/host.am
+++ /dev/null
@@ -1,5 +0,0 @@
-## NOTE: This is a temporary work-around to keep
-## RTEMS's non automake standard make targets working.
-## Once automake is fully integrated these make targets
-## and this file will probably be removed
-
diff --git a/c/src/automake/subdirs.am b/c/src/automake/subdirs.am
deleted file mode 100644
index 47d88cffcd..0000000000
--- a/c/src/automake/subdirs.am
+++ /dev/null
@@ -1,64 +0,0 @@
-## Copyright 2017 Chris Johns <chrisj@rtems.org>
-
-##
-## The following builds in parallel. The subdirectories are
-## expanded into separate rules and all the targets are listed
-## and make runs as many as it can.
-##
-## A macro is defined and evaluated once for each directory. This
-## creates the instance of the rule. Use $(info ...) to print them.
-##
-
-SUBDIRS_dot = $(filter .,$(_SUBDIRS))
-SUBDIRS_no_dot = $(filter-out .,$(_SUBDIRS))
-SUBDIRS_no_dot_no_wrapup = $(filter-out wrapup,$(SUBDIRS_no_dot))
-SUBDIRS_no_dot_no_testsuites = $(filter-out testsuites,$(SUBDIRS_no_dot))
-SUBDIRS_no_dot_no_wrapup_no_testsuites = $(filter-out testsuites,$(SUBDIRS_no_dot_no_wrapup))
-SUBDIRS_wrapup = $(filter wrapup,$(SUBDIRS_no_dot))
-SUBDIRS_testsuites = $(filter testsuites,$(SUBDIRS_no_dot))
-
-define CPUKITDIR
-.PHONY: $1
-$1:
- @+set fnord $(MAKEFLAGS); amf=$$$$2; \
- subdir=$(2); \
- target=`echo $(MAKECMDGOALS) | sed s/-recursive//`; \
- if test "$$$$target" = "all-local-am"; then \
- target="all-am"; \
- fi; \
- if test "$$$$target" = "all-local"; then \
- target="all"; \
- fi; \
- echo "Making $$$$target in $$$$subdir"; \
- if test "$$$$subdir" != "."; then \
- cd $$$$subdir; \
- $(MAKE) $(AM_MAKEFLAGS) $$$$target; \
- fi;
-endef
-
-#
-# This GNU make syntax is being used to stop automake thinking the code is for
-# it.
-#
-$(if "$(SUBDIRS_dot)" ".",$(eval $(call CPUKITDIR,dot,.)))
-
-$(foreach D,$(SUBDIRS_no_dot),$(eval $(call CPUKITDIR,$(D),$(D))))
-
-#
-# If there is a wrapup make it depend on all other directories except the
-# testsuite so it is not entered until everything but the testsuite has
-# finished.
-#
-$(if "$(SUBDIRS_wrapup)" "wrapup",wrapup: dot $(SUBDIRS_no_dot_no_wrapup_no_testsuites))
-
-#
-# If there is a testsuite make it depend on all other directories so it is not
-# entered until everything else has finished.
-#
-$(if "$(SUBDIRS_testsuites)" "testsuites",testsuites: dot $(SUBDIRS_no_dot_no_testsuites))
-
-#
-# The general build all rule for automake.
-#
-all-local: $(if "$(SUBDIRS_dot)" ".",dot) $(SUBDIRS_no_dot)
-clean-local: $(if "$(SUBDIRS_dot)" ".",dot) $(SUBDIRS_no_dot)
diff --git a/c/src/bsp.pc.in b/c/src/bsp.pc.in
deleted file mode 100644
index 9d948b8c53..0000000000
--- a/c/src/bsp.pc.in
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# pkg-config support file for RTEMS BSP @RTEMS_BSP@
-#
-# Warning: This stuff is experimental and may be changed at any time.
-#
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-
-CFLAGS=@CFLAGS@
-RTEMS_BSP=@RTEMS_BSP@
-
-Name: @host_alias@-@RTEMS_BSP@
-Version: @VERSION@
-Description: RTEMS BSP @RTEMS_BSP@
-Libs:
-Cflags: -qrtems -B${exec_prefix}/lib/ -B${libdir}/ --specs bsp_specs ${CFLAGS}
diff --git a/c/src/configure.ac b/c/src/configure.ac
deleted file mode 100644
index 7e4986e03d..0000000000
--- a/c/src/configure.ac
+++ /dev/null
@@ -1,166 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-##
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-AC_CONFIG_SRCDIR([lib])
-RTEMS_TOP(../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_ENABLE_CXX
-RTEMS_ENABLE_NETWORKING
-
-RTEMS_CANONICAL_TARGET_CPU
-
-AM_INIT_AUTOMAKE([no-define subdir-objects no-exeext foreign 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENABLE_MULTIPROCESSING
-RTEMS_ENABLE_CXX
-RTEMS_ENV_RTEMSBSP
-
-RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
-
-RTEMS_CHECK_POSIX_API(RTEMS_BSP)
-
-AC_MSG_NOTICE([setting up make/custom])
-
-AS_MKDIR_P([make/custom])
-AM_SET_DEPDIR
-test -d ${DEPDIR} || mkdir ${DEPDIR}
-
-rm -f ${DEPDIR}/cfg.P
-cp ${srcdir}/make/custom/default.cfg.in make/custom/default.cfg
-cat << EOF > ${DEPDIR}/cfg.P
-# Do not edit - automatically generated by $0
-make/custom/default.cfg: \$(srcdir)/make/custom/default.cfg.in
- @\$(MKDIR_P) make/custom
- cp \$(srcdir)/make/custom/default.cfg.in make/custom/default.cfg
-EOF
-
-# Collect and copy the BSP's make/custom/*.cfg files from the toplevel make
-# directory into the build tree's <bsp>/make/custom subdirectories
-CUSTOM_CFG_FILES=
-f="${RTEMS_BSP}.cfg"
-while test -n "$f"; do
- cfg_file=
- _RTEMS_CHECK_CUSTOM_BSP([$f],cfg_file)
- if test -n "${cfg_file}"; then
- cp ${cfg_file} make/custom/$f
-cat << EOF >> ${DEPDIR}/cfg.P
-make/custom/$f: ${cfg_file} make/custom/default.cfg
- cp ${cfg_file} make/custom/$f
-EOF
- CUSTOM_CFG_FILES="$CUSTOM_CFG_FILES make/custom/$f"
- f=`grep "^include.*make/custom" ${cfg_file} \
- | sed \
- -e 's%^.*custom\/%%' \
- -e 's%default\.cfg%%'`;
- else break; fi;
-done
-
-AC_MSG_NOTICE([creating make/${RTEMS_BSP}.cache])
-${MAKE-make} -f ${srcdir}/make/bsp.mak \
-RTEMS_BSP=${RTEMS_BSP} \
-RTEMS_ROOT=. make/${RTEMS_BSP}.cache
-
-# Read back the cache
-AC_CACHE_CHECK([for RTEMS_CPU_MODEL], [ac_cv_env_RTEMS_CPU_MODEL],
-[. ./make/${RTEMS_BSP}.cache])
-RTEMS_CPU_MODEL=$ac_cv_env_RTEMS_CPU_MODEL
-AC_SUBST(RTEMS_CPU_MODEL)
-test -n "${RTEMS_CPU_MODEL}" && \
- ac_configure_args="$ac_configure_args 'RTEMS_CPU_MODEL=${RTEMS_CPU_MODEL}'"
-
-AC_CACHE_CHECK([for RTEMS_BSP_FAMILY],[ac_cv_env_RTEMS_BSP_FAMILY],
-[RTEMS_BSP_ALIAS([${RTEMS_BSP}],[ac_cv_env_RTEMS_BSP_FAMILY])])
-RTEMS_BSP_FAMILY=$ac_cv_env_RTEMS_BSP_FAMILY
-AC_SUBST(RTEMS_BSP_FAMILY)
-test -n "${RTEMS_BSP_FAMILY}" && \
- ac_configure_args="$ac_configure_args 'RTEMS_BSP_FAMILY=${RTEMS_BSP_FAMILY}'"
-
-AC_CACHE_CHECK([for CPU_CFLAGS],[ac_cv_env_CPU_CFLAGS],
-[. ./make/${RTEMS_BSP}.cache])
-CPU_CFLAGS=$ac_cv_env_CPU_CFLAGS
-
-AC_CACHE_CHECK([for CFLAGS_OPTIMIZE_V],[ac_cv_env_CFLAGS_OPTIMIZE_V],
-[. ./make/${RTEMS_BSP}.cache])
-CFLAGS_OPTIMIZE_V=$ac_cv_env_CFLAGS_OPTIMIZE_V
-
-# Was CFLAGS set?
-rtems_cv_CFLAGS_set="${CFLAGS+set}"
-
-CFLAGS="${CFLAGS-${CPU_CFLAGS} ${CFLAGS_OPTIMIZE_V}}"
-
-RTEMS_PROG_CC_FOR_TARGET
-RTEMS_PROG_CXX_FOR_TARGET
-AM_PROG_CC_C_O
-RTEMS_PROG_CCAS
-RTEMS_CANONICALIZE_TOOLS
-
-# Append warning flags if CFLAGS wasn't set.
-AS_IF([test "$GCC" = yes],
-[CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs"])
-
-AS_IF([test -n "${CFLAGS}"],[
-ac_configure_args="$ac_configure_args 'CFLAGS=${CFLAGS}'"])
-
-RTEMS_CHECK_GCC_WEAK
-
-AC_SUBST(CUSTOM_CFG_FILES)
-
-RTEMS_ENABLE_MULTILIB
-
-BSP_SUBDIRS=
-## Configure ${srcdir}/../../cpukit as cpukit/ if multilibs are disabled
-RTEMS_BSP_CONFIG_SUBDIR(
- [cpukit],[../../cpukit],
- ['--with-project-root=${with_project_root}../$RTEMS_BSP/' \
- '--includedir=${exec_prefix}/${RTEMS_BSP}/lib/include' \
- '--libdir=${exec_prefix}/${RTEMS_BSP}/lib' \
- ],
- [test x"$multilib" = xno])
-
-## Note: the order of the directories below is essential
-AC_CONFIG_SUBDIRS([make])
-BSP_SUBDIRS="$BSP_SUBDIRS make"
-
-# Is there code where there should be for this BSP?
-RTEMS_CPU_SUBDIRS([lib/libbsp])
-AC_SUBST(libbsp_cpu_subdir,$RTEMS_CPU)
-
-BSP_SUBDIRS="$BSP_SUBDIRS lib/libbsp"
-
-# Build testsuites
-RTEMS_BSP_CONFIG_SUBDIR(
- [testsuites],[../../testsuites],
- ['--enable-rtems-root=../' \
- '--enable-project-root=${with_project_root}../$RTEMS_BSP' \
- '--with-project-top=${with_project_top}../' \
- '--enable-rtemsbsp=$RTEMS_BSP' \
- '--includedir=${exec_prefix}/${RTEMS_BSP}/lib/include' \
- '--libdir=${exec_prefix}/${RTEMS_BSP}/lib' \
- ],
- [test x"$enable_tests" != x"no"])
-
-AC_SUBST([BSP_SUBDIRS],[$BSP_SUBDIRS])
-
-AS_IF([test "$host_cpu" = sparc],[
- AC_DEFINE_UNQUOTED([CPU_U32_FIX],[1],
- [whether to enable ipalignment work-around])
-])
-
-RTEMS_PROJECT_ROOT
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile],
-[${MAKE} make/${RTEMS_BSP}.cache],
-[RTEMS_BSP=${RTEMS_BSP}
- MAKE=${MAKE}])
-
-AC_CONFIG_FILES([
-lib/libbsp/Makefile
-])
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/.gitignore b/c/src/lib/libbsp/.gitignore
deleted file mode 100644
index e067316c09..0000000000
--- a/c/src/lib/libbsp/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-bspopts.h.in
diff --git a/c/src/lib/libbsp/Makefile.am b/c/src/lib/libbsp/Makefile.am
deleted file mode 100644
index 372391eef1..0000000000
--- a/c/src/lib/libbsp/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-include $(top_srcdir)/automake/compile.am
-
-_SUBDIRS = @libbsp_cpu_subdir@
-DIST_SUBDIRS = @libbsp_cpu_subdir@
-
-
-# shared
-
-
-
-include $(top_srcdir)/automake/subdirs.am
diff --git a/c/src/lib/libbsp/arm/Makefile.am b/c/src/lib/libbsp/arm/Makefile.am
deleted file mode 100644
index b558fb860b..0000000000
--- a/c/src/lib/libbsp/arm/Makefile.am
+++ /dev/null
@@ -1,16 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-## Descend into the @RTEMS_BSP_FAMILY@ directory
-## Currently, the shared directory is not explicitly
-## added but it is present in the source tree.
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-dist_project_lib_DATA = ../../../../../bsps/arm/shared/start/linkcmds.base
-dist_project_lib_DATA += ../../../../../bsps/arm/shared/start/linkcmds.armv4
-dist_project_lib_DATA += ../../../../../bsps/arm/shared/start/linkcmds.armv7m
-
-
-# comm
-
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(srcdir)/../../../../../bsps/arm/headers.am
diff --git a/c/src/lib/libbsp/arm/acinclude.m4 b/c/src/lib/libbsp/arm/acinclude.m4
deleted file mode 100644
index 6f75afe91a..0000000000
--- a/c/src/lib/libbsp/arm/acinclude.m4
+++ /dev/null
@@ -1,50 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- altera-cyclone-v )
- AC_CONFIG_SUBDIRS([altera-cyclone-v]);;
- atsam )
- AC_CONFIG_SUBDIRS([atsam]);;
- beagle )
- AC_CONFIG_SUBDIRS([beagle]);;
- csb336 )
- AC_CONFIG_SUBDIRS([csb336]);;
- csb337 )
- AC_CONFIG_SUBDIRS([csb337]);;
- edb7312 )
- AC_CONFIG_SUBDIRS([edb7312]);;
- gumstix )
- AC_CONFIG_SUBDIRS([gumstix]);;
- imx )
- AC_CONFIG_SUBDIRS([imx]);;
- lm3s69xx )
- AC_CONFIG_SUBDIRS([lm3s69xx]);;
- lpc176x )
- AC_CONFIG_SUBDIRS([lpc176x]);;
- lpc24xx )
- AC_CONFIG_SUBDIRS([lpc24xx]);;
- lpc32xx )
- AC_CONFIG_SUBDIRS([lpc32xx]);;
- raspberrypi )
- AC_CONFIG_SUBDIRS([raspberrypi]);;
- realview-pbx-a9 )
- AC_CONFIG_SUBDIRS([realview-pbx-a9]);;
- rtl22xx )
- AC_CONFIG_SUBDIRS([rtl22xx]);;
- smdk2410 )
- AC_CONFIG_SUBDIRS([smdk2410]);;
- stm32f4 )
- AC_CONFIG_SUBDIRS([stm32f4]);;
- tms570 )
- AC_CONFIG_SUBDIRS([tms570]);;
- xen )
- AC_CONFIG_SUBDIRS([xen]);;
- xilinx-zynq )
- AC_CONFIG_SUBDIRS([xilinx-zynq]);;
- xilinx-zynqmp )
- AC_CONFIG_SUBDIRS([xilinx-zynqmp]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am b/c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am
deleted file mode 100644
index c4a0464205..0000000000
--- a/c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am
+++ /dev/null
@@ -1,93 +0,0 @@
-##
-#
-# @file
-#
-# @brief Makefile of LibBSP for the Altera Cyclone-V platform.
-#
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/altera-cyclone-v/start/bsp_specs
-
-start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/arm/altera-cyclone-v/start/linkcmds.altcycv
-dist_project_lib_DATA += ../../../../../../bsps/arm/altera-cyclone-v/start/linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-
-# for the Altera hwlib
-CFLAGS += -Wno-missing-prototypes
-
-# hwlib from Altera
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_16550_uart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_address_space.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_clock_manager.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_dma.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_dma_program.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_generalpurpose_io.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_i2c.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_qspi.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_reset_manager.c
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bsp-fdt.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/start/bspclean.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/start/bspgetworkarea.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/start/bspstarthooks.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/start/mmu-config.c
-if HAS_SMP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/arm-a9mpcore-smp.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/start/bspsmp.c
-endif
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/irq/arm-gicv2.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios-init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/console/console-config.c
-
-# Clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-a9mpcore.c
-
-# I2C
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/i2c/i2cdrv.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.c
-# RTC
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/altera-cyclone-v/rtc/rtc.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-l2c-310.c
-
-###############################################################################
-# Special Rules #
-###############################################################################
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/altera-cyclone-v/headers.am
diff --git a/c/src/lib/libbsp/arm/altera-cyclone-v/configure.ac b/c/src/lib/libbsp/arm/altera-cyclone-v/configure.ac
deleted file mode 100644
index ad08d92ebc..0000000000
--- a/c/src/lib/libbsp/arm/altera-cyclone-v/configure.ac
+++ /dev/null
@@ -1,81 +0,0 @@
-##
-#
-# @file
-#
-# @brief Configure script of LibBSP for the Altera Cyclone-V platform.
-#
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-xilinx-zynq-a9],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[])
-RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
-
-RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_DATA_CACHE_ENABLED],[enable data cache])
-
-RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_INSTRUCTION_CACHE_ENABLED],[enable instruction cache])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_IS_SUPPORTED],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_FDT_IS_SUPPORTED],[define if FDT is supported])
-
-RTEMS_BSPOPTS_SET([BSP_START_COPY_FDT_FROM_U_BOOT],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_START_COPY_FDT_FROM_U_BOOT],[copy the U-Boot provided FDT to an internal storage])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_SIZE_MAX],[*],[262144])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_SIZE_MAX],[maximum size of the FDT blob in bytes])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_READ_ONLY],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_READ_ONLY],[place the FDT blob into the read-only data area])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA],[copy the FDT blob into the read-only load area via bsp_fdt_copy()])
-
-RTEMS_BSPOPTS_SET([BSP_ARM_A9MPCORE_PERIPHCLK],[*],[])
-RTEMS_BSPOPTS_HELP([BSP_ARM_A9MPCORE_PERIPHCLK],[define to set ARM Cortex-A9 MPCore PERIPHCLK clock frequency in Hz, otherwise alt_clk_freq_get() is used])
-
-RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_FAST_IDLE],[*qemu],[1])
-RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_FAST_IDLE],
-[This sets a mode where the time runs as fast as possible when a clock ISR
-occurs while the IDLE thread is executing. This can significantly reduce
-simulation times.])
-
-RTEMS_BSPOPTS_SET([BSP_CONSOLE_MINOR],[*],[0])
-RTEMS_BSPOPTS_HELP([BSP_CONSOLE_MINOR],[minor number of console device])
-
-RTEMS_BSPOPTS_SET([CYCLONE_V_CONFIG_CONSOLE],[*],[0])
-RTEMS_BSPOPTS_HELP([CYCLONE_V_CONFIG_CONSOLE],[configuration for console (UART 0)])
-
-RTEMS_BSPOPTS_SET([CYCLONE_V_CONFIG_UART_1],[*],[0])
-RTEMS_BSPOPTS_HELP([CYCLONE_V_CONFIG_UART_1],[configuration for UART 1])
-
-RTEMS_BSPOPTS_SET([CYCLONE_V_UART_BAUD],[*],[115200U])
-RTEMS_BSPOPTS_HELP([CYCLONE_V_UART_BAUD],[baud for UARTs])
-
-RTEMS_BSPOPTS_SET([BSP_USE_UART_INTERRUPTS],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_USE_UART_INTERRUPTS],[enable usage of interrupts for the UART modules])
-
-RTEMS_BSPOPTS_SET([CYCLONE_V_NO_I2C],[*],[1])
-RTEMS_BSPOPTS_HELP([CYCLONE_V_NO_I2C],
-[Number of configured I2C buses. Note that each bus has to be configured in an
-apropriate i2cdrv_config array.])
-
-RTEMS_BSPOPTS_SET([CYCLONE_V_I2C0_SPEED],[*],[100000])
-RTEMS_BSPOPTS_HELP([CYCLONE_V_I2C0_SPEED],[speed for I2C0 in HZ])
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/atsam/Makefile.am b/c/src/lib/libbsp/arm/atsam/Makefile.am
deleted file mode 100644
index 52234ce287..0000000000
--- a/c/src/lib/libbsp/arm/atsam/Makefile.am
+++ /dev/null
@@ -1,162 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-###############################################################################
-# Data #
-###############################################################################
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/atsam/start/bsp_specs
-
-start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-project_lib_DATA += linkcmds.memory
-dist_project_lib_DATA += ../../../../../../bsps/arm/atsam/start/linkcmds.intsram
-dist_project_lib_DATA += ../../../../../../bsps/arm/atsam/start/linkcmds.sdram
-dist_project_lib_DATA += ../../../../../../bsps/arm/atsam/start/linkcmds.qspiflash
-
-###############################################################################
-# Header #
-###############################################################################
-
-###############################################################################
-# LibBSP #
-###############################################################################
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-librtemsbsp_a_CPPFLAGS = $(AM_CPPFLAGS)
-librtemsbsp_a_LIBADD =
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-
-# libchip
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/acc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/aes.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/afec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/afe_dma.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/dac_dma.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/efc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/exceptions.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/flashd.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/gmac.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/gmacd.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/hsmci.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/icm.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/isi.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/mcan.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/mediaLB.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/mpu.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/pio.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/pio_capture.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/pio_it.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/pmc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/pwmc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/qspi.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/qspi_dma.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/rstc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/rtc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/rtt.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/sdramc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/spi.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/spi_dma.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/ssc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/supc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/tc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/trng.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/twi.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/twid.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/uart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/uart_dma.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/usart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/usart_dma.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/wdt.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/xdmad.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libchip/source/xdma_hardware_interface.c
-
-# libboard
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libboard/resources_v71/system_samv71.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libboard/source/board_lowlevel.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libboard/source/board_memories.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/contrib/libraries/libboard/source/dbg_console.c
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bspreset-armv7m.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cpucounter/cpucounter-armv7m.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/start/bspstarthooks.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/start/getentropy-trng.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/start/pin-config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/start/pmc-config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/start/power-clock.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/start/power-rtc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/start/power-wait.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/start/power.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/start/restart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/start/sdram-config.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-armv7m.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-dispatch-armv7m.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/console/debug-console.c
-
-# Clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-armv7m.c
-librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/atsam/clock/systick-freq.c
-
-# Timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-v7m.c
-
-# I2C
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/i2c/atsam_i2c_bus.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/i2c/atsam_i2c_init.c
-
-# SPI
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/spi/atsam_spi_bus.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/spi/atsam_spi_init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/spi/sc16is752.c
-
-# RTC
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/rtc/rtc-config.c
-
-# Helper functions
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/atsam/start/iocopy.c
-
-# Includes
-librtemsbsp_a_CPPFLAGS += -I$(RTEMS_SOURCE_ROOT)/bsps/arm/atsam/contrib/libraries/libboard
-librtemsbsp_a_CPPFLAGS += -I$(RTEMS_SOURCE_ROOT)/bsps/arm/atsam/contrib/libraries/libboard/include
-librtemsbsp_a_CPPFLAGS += -I$(RTEMS_SOURCE_ROOT)/bsps/arm/atsam/contrib/libraries/libchip
-librtemsbsp_a_CPPFLAGS += -I$(RTEMS_SOURCE_ROOT)/bsps/arm/atsam/contrib/libraries/libchip/include
-
-# hack to get the BSP to build
-librtemsbsp_a_CPPFLAGS += -I$(RTEMS_SOURCE_ROOT)/bsps/arm/atsam/include/libchip
-librtemsbsp_a_CPPFLAGS += -I$(RTEMS_SOURCE_ROOT)/bsps/arm/atsam/include/libchip/include
-
-###############################################################################
-# Special Rules #
-###############################################################################
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/atsam/headers.am
diff --git a/c/src/lib/libbsp/arm/atsam/configure.ac b/c/src/lib/libbsp/arm/atsam/configure.ac
deleted file mode 100644
index 2408a840e1..0000000000
--- a/c/src/lib/libbsp/arm/atsam/configure.ac
+++ /dev/null
@@ -1,111 +0,0 @@
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-atsam],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-AC_ARG_ENABLE(
-[chip],
-[AS_HELP_STRING([--enable-chip],[select a chip variant (default samv71q21)])],
-[case "${enableval}" in
- same70j19) AC_DEFINE([__SAME70J19__],[1],[chip variant]) INTFLASH=0x00080000 ; INTSRAM=0x00040000 ;;
- same70j20) AC_DEFINE([__SAME70J20__],[1],[chip variant]) INTFLASH=0x00100000 ; INTSRAM=0x00060000 ;;
- same70j21) AC_DEFINE([__SAME70J21__],[1],[chip variant]) INTFLASH=0x00200000 ; INTSRAM=0x00060000 ;;
- same70n19) AC_DEFINE([__SAME70N19__],[1],[chip variant]) INTFLASH=0x00080000 ; INTSRAM=0x00040000 ;;
- same70n20) AC_DEFINE([__SAME70N20__],[1],[chip variant]) INTFLASH=0x00100000 ; INTSRAM=0x00060000 ;;
- same70n21) AC_DEFINE([__SAME70N21__],[1],[chip variant]) INTFLASH=0x00200000 ; INTSRAM=0x00060000 ;;
- same70q19) AC_DEFINE([__SAME70Q19__],[1],[chip variant]) INTFLASH=0x00080000 ; INTSRAM=0x00040000 ;;
- same70q20) AC_DEFINE([__SAME70Q20__],[1],[chip variant]) INTFLASH=0x00100000 ; INTSRAM=0x00060000 ;;
- same70q21) AC_DEFINE([__SAME70Q21__],[1],[chip variant]) INTFLASH=0x00200000 ; INTSRAM=0x00060000 ;;
- sams70j19) AC_DEFINE([__SAMS70J19__],[1],[chip variant]) INTFLASH=0x00080000 ; INTSRAM=0x00040000 ;;
- sams70j20) AC_DEFINE([__SAMS70J20__],[1],[chip variant]) INTFLASH=0x00100000 ; INTSRAM=0x00060000 ;;
- sams70j21) AC_DEFINE([__SAMS70J21__],[1],[chip variant]) INTFLASH=0x00200000 ; INTSRAM=0x00060000 ;;
- sams70n19) AC_DEFINE([__SAMS70N19__],[1],[chip variant]) INTFLASH=0x00080000 ; INTSRAM=0x00040000 ;;
- sams70n20) AC_DEFINE([__SAMS70N20__],[1],[chip variant]) INTFLASH=0x00100000 ; INTSRAM=0x00060000 ;;
- sams70n21) AC_DEFINE([__SAMS70N21__],[1],[chip variant]) INTFLASH=0x00200000 ; INTSRAM=0x00060000 ;;
- sams70q19) AC_DEFINE([__SAMS70Q19__],[1],[chip variant]) INTFLASH=0x00080000 ; INTSRAM=0x00040000 ;;
- sams70q20) AC_DEFINE([__SAMS70Q20__],[1],[chip variant]) INTFLASH=0x00100000 ; INTSRAM=0x00060000 ;;
- sams70q21) AC_DEFINE([__SAMS70Q21__],[1],[chip variant]) INTFLASH=0x00200000 ; INTSRAM=0x00060000 ;;
- samv71j19) AC_DEFINE([__SAMV71J19__],[1],[chip variant]) INTFLASH=0x00080000 ; INTSRAM=0x00040000 ;;
- samv71j20) AC_DEFINE([__SAMV71J20__],[1],[chip variant]) INTFLASH=0x00100000 ; INTSRAM=0x00060000 ;;
- samv71j21) AC_DEFINE([__SAMV71J21__],[1],[chip variant]) INTFLASH=0x00200000 ; INTSRAM=0x00060000 ;;
- samv71n19) AC_DEFINE([__SAMV71N19__],[1],[chip variant]) INTFLASH=0x00080000 ; INTSRAM=0x00040000 ;;
- samv71n20) AC_DEFINE([__SAMV71N20__],[1],[chip variant]) INTFLASH=0x00100000 ; INTSRAM=0x00060000 ;;
- samv71n21) AC_DEFINE([__SAMV71N21__],[1],[chip variant]) INTFLASH=0x00200000 ; INTSRAM=0x00060000 ;;
- samv71q19) AC_DEFINE([__SAMV71Q19__],[1],[chip variant]) INTFLASH=0x00080000 ; INTSRAM=0x00040000 ;;
- samv71q20) AC_DEFINE([__SAMV71Q20__],[1],[chip variant]) INTFLASH=0x00100000 ; INTSRAM=0x00060000 ;;
- samv71q21) AC_DEFINE([__SAMV71Q21__],[1],[chip variant]) INTFLASH=0x00200000 ; INTSRAM=0x00060000 ;;
- *) AC_MSG_ERROR([bad value ${enableval} for chip variant]) ;;
-esac],
-[AC_DEFINE([__SAMV71Q21__],[1],[chip variant]) INTFLASH=0x00200000 ; INTSRAM=0x00060000])
-
-AC_ARG_ENABLE(
-[sdram],
-[AS_HELP_STRING([--enable-sdram],[select a SDRAM variant (default is42s16100e-7bli)])],
-[case "${enableval}" in
- is42s16100e-7bli) AC_DEFINE([ATSAM_SDRAM_IS42S16100E_7BLI],[1],[SDRAM variant]) EXTSDRAM=0x00200000 ;;
- is42s16320f-7bl) AC_DEFINE([ATSAM_SDRAM_IS42S16320F_7BL],[1],[SDRAM variant]) EXTSDRAM=0x04000000 ;;
- mt48lc16m16a2p-6a) AC_DEFINE([ATSAM_SDRAM_MT48LC16M16A2P_6A],[1],[SDRAM variant]) EXTSDRAM=0x02000000 ;;
- *) AC_MSG_ERROR([bad value ${enableval} for SDRAM variant]) ;;
-esac],
-[AC_DEFINE([ATSAM_SDRAM_IS42S16100E_7BLI],[1],[SDRAM variant]) EXTSDRAM=0x00200000])
-
-RTEMS_BSPOPTS_SET([BOARD_MAINOSC],[*],[12000000])
-RTEMS_BSPOPTS_HELP([BOARD_MAINOSC],[Main oscillator frequency in Hz (default 12MHz)])
-
-RTEMS_BSPOPTS_SET([ATSAM_MCK],[*],[123000000])
-RTEMS_BSPOPTS_HELP([ATSAM_MCK],
-[Frequency of the MCK in Hz. Set to 0 to force application defined speed.
-See start/pmc-config.c for available clock configurations.])
-
-RTEMS_BSPOPTS_SET([ATSAM_SLOWCLOCK_USE_XTAL],[*],[1])
-RTEMS_BSPOPTS_HELP([ATSAM_SLOWCLOCK_USE_XTAL],
-[Use the external crystal as source for the slow clock instead of the internal
-RC oscillator. Note that on the ATSAM the NRST pin seems to depend on the slow
-clock as well as all watchdogs. If ATSAM_SLOWCLOCK_USE_XTAL is set to 1 without
-a external crystal connected, the controller might hang in the switching process
-without a working NRST pin. ])
-
-RTEMS_BSPOPTS_SET([ATSAM_CHANGE_CLOCK_FROM_SRAM],[*],[0])
-RTEMS_BSPOPTS_HELP([ATSAM_CHANGE_CLOCK_FROM_SRAM],
-[Move the functions that set up the clock into the SRAM.
-This allows to change the clock frequency even if the application is started from SDRAM.
-Requires a TCM_SIZE > 0.])
-
-RTEMS_BSPOPTS_SET([ATSAM_CONSOLE_BAUD],[*],[115200])
-RTEMS_BSPOPTS_HELP([ATSAM_CONSOLE_BAUD],[initial baud for console devices (default 115200)])
-
-RTEMS_BSPOPTS_SET([ATSAM_CONSOLE_DEVICE_TYPE],[*],[0])
-RTEMS_BSPOPTS_HELP([ATSAM_CONSOLE_DEVICE_TYPE],[device type for /dev/console, use 0 for USART and 1 for UART (default USART)])
-
-RTEMS_BSPOPTS_SET([ATSAM_CONSOLE_DEVICE_INDEX],[*],[1])
-RTEMS_BSPOPTS_HELP([ATSAM_CONSOLE_DEVICE_INDEX],[device index for /dev/console (default 1, e.g. USART1)])
-
-RTEMS_BSPOPTS_SET([ATSAM_CONSOLE_USE_INTERRUPTS],[*],[1])
-RTEMS_BSPOPTS_HELP([ATSAM_CONSOLE_USE_INTERRUPTS],[use interrupt driven mode for console devices (used by default)])
-
-AC_DEFUN([ATSAM_LINKCMD],[
-AC_ARG_VAR([$1],[$2])dnl
-[$1]=[$]{[$1]:-[$3]}
-])
-
-ATSAM_LINKCMD([ATSAM_MEMORY_TCM_SIZE],[size of tightly coupled memories (TCM) in bytes],[0x00000000])
-ATSAM_LINKCMD([ATSAM_MEMORY_INTFLASH_SIZE],[size of internal flash in bytes],[${INTFLASH}])
-ATSAM_LINKCMD([ATSAM_MEMORY_INTSRAM_SIZE],[size of internal SRAM in bytes],[${INTSRAM}])
-ATSAM_LINKCMD([ATSAM_MEMORY_SDRAM_SIZE],[size of external SDRAM in bytes],[${EXTSDRAM}])
-ATSAM_LINKCMD([ATSAM_MEMORY_QSPIFLASH_SIZE],[size of QSPI flash in bytes],[0x00200000])
-ATSAM_LINKCMD([ATSAM_MEMORY_NOCACHE_SIZE],[size of NOCACHE section in bytes],[0x00001000])
-
-AC_CONFIG_FILES([
-Makefile
-linkcmds.memory:../../../../../../bsps/arm/atsam/start/linkcmds.memory.in
-])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/beagle/Makefile.am b/c/src/lib/libbsp/arm/beagle/Makefile.am
deleted file mode 100644
index 46e782bd64..0000000000
--- a/c/src/lib/libbsp/arm/beagle/Makefile.am
+++ /dev/null
@@ -1,106 +0,0 @@
-##
-#
-# @file
-#
-# @brief Makefile of LibBSP for the BeagleBoards.
-#
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/beagle/start/bsp_specs
-
-###############################################################################
-# Header #
-###############################################################################
-
-###############################################################################
-# Data #
-###############################################################################
-
-start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-###############################################################################
-# LibBSP #
-###############################################################################
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-librtemsbsp_a_LIBADD =
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bsp-fdt.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/gpio/gpio-support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterfrequency.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/start/bspdebug.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/start/bspstarthooks.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/start/bspstartmmu.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/irq/irq.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/console/console-config.c
-
-# I2C
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/i2c/bbb-i2c.c
-
-# SPI
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/spi/spi.c
-
-# GPIO
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/gpio/bbb-gpio.c
-
-#pwmss shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/pwmss/pwmss.c
-
-#pwm
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/pwm/pwm.c
-
-#qep
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/qep/qep.c
-
-#RTC
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/rtc/rtc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
-# Clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/clock/clock.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-v7ar-disable-data.S
-
-###############################################################################
-# Special Rules #
-###############################################################################
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/beagle/headers.am
diff --git a/c/src/lib/libbsp/arm/beagle/configure.ac b/c/src/lib/libbsp/arm/beagle/configure.ac
deleted file mode 100644
index 8783307555..0000000000
--- a/c/src/lib/libbsp/arm/beagle/configure.ac
+++ /dev/null
@@ -1,50 +0,0 @@
-##
-#
-# @file
-#
-# @brief Configure script of LibBSP for the BeagleBoards.
-#
-
-AC_PREREQ([2.68])
-AC_INIT([rtems-c-src-lib-libbsp-arm-beagle],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSPOPTS_SET([BSP_START_COPY_FDT_FROM_U_BOOT],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_START_COPY_FDT_FROM_U_BOOT],[copy the U-Boot provided FDT to an internal storage])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_SIZE_MAX],[*],[262144])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_SIZE_MAX],[maximum size of the FDT blob in bytes])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_READ_ONLY],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_READ_ONLY],[place the FDT blob into the read-only data area])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA],[copy the FDT blob into the read-only load area via bsp_fdt_copy()])
-
-RTEMS_BSPOPTS_SET([IS_DM3730],[beagleboard*],[1])
-RTEMS_BSPOPTS_HELP([IS_DM3730],[true if SOC is DM3730])
-
-RTEMS_BSPOPTS_SET([IS_AM335X],[beaglebone*],[1])
-RTEMS_BSPOPTS_HELP([IS_AM335X],[true if SOC is AM335X])
-
-RTEMS_BSPOPTS_SET([CONSOLE_BAUD],[*],[115200])
-RTEMS_BSPOPTS_HELP([CONSOLE_BAUD],[initial baud for console UART])
-
-RTEMS_BSPOPTS_SET([CONSOLE_POLLED],[*],[0])
-RTEMS_BSPOPTS_HELP([CONSOLE_POLLED],[polled console i/o (e.g. to run testsuite)])
-
-RTEMS_BSPOPTS_SET([BBB_DEBUG],[beaglebone*],[0])
-RTEMS_BSPOPTS_HELP([BBB_DEBUG],[Enable BBB debug])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/configure.ac b/c/src/lib/libbsp/arm/configure.ac
deleted file mode 100644
index 114e8c84c2..0000000000
--- a/c/src/lib/libbsp/arm/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-RTEMS_PROJECT_ROOT
-
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/csb336/Makefile.am b/c/src/lib/libbsp/arm/csb336/Makefile.am
deleted file mode 100644
index a6ef53cab7..0000000000
--- a/c/src/lib/libbsp/arm/csb336/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/csb336/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/arm/csb336/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-dist_project_lib_DATA += ../../../../../../bsps/arm/csb336/start/linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb336/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb336/start/memmap.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterfrequency.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
-librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/csb336/clock/clockdrv.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb336/btimer/btimer.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb336/console/uart.c
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb336/irq/irq.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm920-mmu.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/csb336/headers.am
diff --git a/c/src/lib/libbsp/arm/csb336/configure.ac b/c/src/lib/libbsp/arm/csb336/configure.ac
deleted file mode 100644
index b5a3c523a5..0000000000
--- a/c/src/lib/libbsp/arm/csb336/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-csb336],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/csb337/Makefile.am b/c/src/lib/libbsp/arm/csb337/Makefile.am
deleted file mode 100644
index b57b96158c..0000000000
--- a/c/src/lib/libbsp/arm/csb337/Makefile.am
+++ /dev/null
@@ -1,75 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/csb337/start/bsp_specs
-
-if ENABLE_LCD
-endif
-
-noinst_PROGRAMS =
-
-
-if ENABLE_LCD
-endif
-
-start.$(OBJEXT): ../../../../../../bsps/arm/csb337/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/arm/csb337/start/linkcmds.csb337
-dist_project_lib_DATA += ../../../../../../bsps/arm/csb337/start/linkcmds.csb637
-
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/start/memmap.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterfrequency.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/start/pmc.c
-librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/csb337/clock/clock.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/btimer/btimer.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/console/uarts.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/console/dbgu.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/console/usart.c
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/irq/irq.c
-if ENABLE_LCD
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/console/sed1356.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/console/fbcons.c
-endif
-# umon
-if ENABLE_UMON
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/umon/monlib.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/umon/tfsDriver.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/umon/umonrtemsglue.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/start/umonsupp.c
-endif
-if ENABLE_UMON_CONSOLE
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/csb337/umon/umoncons.c
-endif
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm920-mmu.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/csb337/headers.am
diff --git a/c/src/lib/libbsp/arm/csb337/configure.ac b/c/src/lib/libbsp/arm/csb337/configure.ac
deleted file mode 100644
index 41b6008017..0000000000
--- a/c/src/lib/libbsp/arm/csb337/configure.ac
+++ /dev/null
@@ -1,66 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-csb337],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([csb637],[kit637_v6],[1])
-RTEMS_BSPOPTS_SET([csb637],[csb637],[1])
-RTEMS_BSPOPTS_SET([csb637],[*],[0])
-RTEMS_BSPOPTS_HELP([csb637],
-[If defined, this indicates that the BSP is being built for the
- csb637 variant.])
-
-RTEMS_BSPOPTS_SET([ENABLE_LCD],[kit637_v6],[0])
-RTEMS_BSPOPTS_SET([ENABLE_LCD],[*],[0])
-RTEMS_BSPOPTS_HELP([ENABLE_LCD],
-[If defined, enable use of the SED1356 controller and LCD.])
-AM_CONDITIONAL(ENABLE_LCD,test "$ENABLE_LCD" = "1")
-
-RTEMS_BSPOPTS_SET([ENABLE_UMON],[*],[1])
-RTEMS_BSPOPTS_HELP([ENABLE_UMON],
-[If defined, enable use of the uMon console.])
-AM_CONDITIONAL(ENABLE_UMON,test "$ENABLE_UMON" = "1")
-
-RTEMS_BSPOPTS_SET([ENABLE_UMON_CONSOLE],[*],[1])
-RTEMS_BSPOPTS_HELP([ENABLE_UMON_CONSOLE],
-[If defined, enable use of the MicroMonitor console device.])
-AM_CONDITIONAL(ENABLE_UMON_CONSOLE,test "$ENABLE_UMON_CONSOLE" = "1")
-
-## If ENABLE_UMON is 0 and ENABLE_UMON_CONSOLE is 1, then it is an error.
-## TODO: Catch this error.
-
-RTEMS_BSPOPTS_SET([ENABLE_USART0],[*],[1])
-RTEMS_BSPOPTS_HELP([ENABLE_USART0],
-[If defined, enable use of the USART 0.])
-AM_CONDITIONAL(ENABLE_USART0,test "$ENABLE_USART0" = "1")
-
-RTEMS_BSPOPTS_SET([ENABLE_USART1],[*],[1])
-RTEMS_BSPOPTS_HELP([ENABLE_USART1],
-[If defined, enable use of the USART 1.])
-AM_CONDITIONAL(ENABLE_USART1,test "$ENABLE_USART1" = "1")
-
-RTEMS_BSPOPTS_SET([ENABLE_USART2],[*],[1])
-RTEMS_BSPOPTS_HELP([ENABLE_USART2],
-[If defined, enable use of the USART 2.])
-AM_CONDITIONAL(ENABLE_USART2,test "$ENABLE_USART2" = "1")
-
-RTEMS_BSPOPTS_SET([ENABLE_USART3],[*],[1])
-RTEMS_BSPOPTS_HELP([ENABLE_USART3],
-[If defined, enable use of the USART 3.])
-AM_CONDITIONAL(ENABLE_USART3,test "$ENABLE_USART3" = "1")
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/edb7312/Makefile.am b/c/src/lib/libbsp/arm/edb7312/Makefile.am
deleted file mode 100644
index d7b7aeac49..0000000000
--- a/c/src/lib/libbsp/arm/edb7312/Makefile.am
+++ /dev/null
@@ -1,50 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/edb7312/start/bsp_specs
-
-noinst_PROGRAMS =
-
-start.$(OBJEXT): ../../../../../../bsps/arm/edb7312/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/edb7312/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/edb7312/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterfrequency.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
-
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/edb7312/clock/clockdrv.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/edb7312/console/uart.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/edb7312/btimer/btimer.c
-
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/edb7312/irq/irq.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/edb7312/irq/bsp_irq_asm.S
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/edb7312/headers.am
diff --git a/c/src/lib/libbsp/arm/edb7312/configure.ac b/c/src/lib/libbsp/arm/edb7312/configure.ac
deleted file mode 100644
index 539cdbd163..0000000000
--- a/c/src/lib/libbsp/arm/edb7312/configure.ac
+++ /dev/null
@@ -1,27 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-edb7312],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([ON_SKYEYE],[*],[])
-RTEMS_BSPOPTS_HELP([ON_SKYEYE],
-[If defined, enable options which optimize executingon the Skyeye
- simulator. Speed up the clock ticks while the idle task is running so
- time spent in the idle task is minimized. This significantly reduces
- the wall time required to execute the RTEMS test suites.])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/gumstix/Makefile.am b/c/src/lib/libbsp/arm/gumstix/Makefile.am
deleted file mode 100644
index 257e22f1b9..0000000000
--- a/c/src/lib/libbsp/arm/gumstix/Makefile.am
+++ /dev/null
@@ -1,52 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/gumstix/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/arm/gumstix/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/gumstix/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/gumstix/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/gumstix/start/memmap.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterfrequency.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
-librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/gumstix/clock/clock.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/gumstix/btimer/btimer.c
-
-#console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/gumstix/console/uarts.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/gumstix/console/ffuart.c
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/gumstix/irq/irq.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/gumstix/fb/fb.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm920-mmu.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/gumstix/headers.am
diff --git a/c/src/lib/libbsp/arm/gumstix/configure.ac b/c/src/lib/libbsp/arm/gumstix/configure.ac
deleted file mode 100644
index bfbe96dc86..0000000000
--- a/c/src/lib/libbsp/arm/gumstix/configure.ac
+++ /dev/null
@@ -1,28 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-gumstix],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSPOPTS_SET([ON_SKYEYE],[*],[0])
-RTEMS_BSPOPTS_HELP([ON_SKYEYE],
-[If defined, enable options which optimize executingon the Skyeye
- simulator. Speed up the clock ticks while the idle task is running so
- time spent in the idle task is minimized. This significantly reduces
- the wall time required to execute the RTEMS test suites.])
-AM_CONDITIONAL(ON_SKYEYE,test "$ON_SKYEYE" = "1")
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/imx/Makefile.am b/c/src/lib/libbsp/arm/imx/Makefile.am
deleted file mode 100644
index 7eb46af1e5..0000000000
--- a/c/src/lib/libbsp/arm/imx/Makefile.am
+++ /dev/null
@@ -1,88 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/imx/start/bsp_specs
-
-###############################################################################
-# Header #
-###############################################################################
-
-###############################################################################
-# Data #
-###############################################################################
-
-start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/arm/imx/start/linkcmds
-
-###############################################################################
-# LibBSP #
-###############################################################################
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bsp-fdt.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/imx/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/imx/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/imx/start/ccm.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/pins/imx_iomux.c
-if HAS_SMP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/arm-a9mpcore-smp.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/imx/start/bspsmp.c
-endif
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/irq/arm-gicv2.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/imx/console/console-config.c
-
-# Clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/clock/arm-generic-timer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/arm-generic-timer-aarch32.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-v7ar-disable-data.S
-
-# GPIO
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/pins/imx-gpio.c
-
-# I2C
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/imx/i2c/imx-i2c.c
-
-# SPI
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/imx/spi/imx-ecspi.c
-
-# Start hooks
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/imx/start/bspstarthooks.c
-
-###############################################################################
-# Special Rules #
-###############################################################################
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/imx/headers.am
diff --git a/c/src/lib/libbsp/arm/imx/configure.ac b/c/src/lib/libbsp/arm/imx/configure.ac
deleted file mode 100644
index fbb9d9278a..0000000000
--- a/c/src/lib/libbsp/arm/imx/configure.ac
+++ /dev/null
@@ -1,58 +0,0 @@
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-imx],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[])
-RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
-
-RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[*qemu],[])
-RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_DATA_CACHE_ENABLED],[enable data cache])
-
-RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[*qemu],[])
-RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_INSTRUCTION_CACHE_ENABLED],[enable instruction cache])
-
-RTEMS_BSPOPTS_SET([BSP_START_COPY_FDT_FROM_U_BOOT],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_START_COPY_FDT_FROM_U_BOOT],[copy the U-Boot provided FDT to an internal storage])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_SIZE_MAX],[*],[262144])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_SIZE_MAX],[maximum size of the FDT blob in bytes])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_READ_ONLY],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_READ_ONLY],[place the FDT blob into the read-only data area])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA],[copy the FDT blob into the read-only load area via bsp_fdt_copy()])
-
-RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[1])
-RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],[use interrupt driven mode for console devices (used by default)])
-
-RTEMS_BSPOPTS_SET([IMX_CCM_IPG_HZ],[*],[67500000])
-RTEMS_BSPOPTS_HELP([IMX_CCM_IPG_HZ],[IPG clock frequency in Hz])
-
-RTEMS_BSPOPTS_SET([IMX_CCM_UART_HZ],[*],[24000000])
-RTEMS_BSPOPTS_HELP([IMX_CCM_UART_HZ],[UART clock frequency in Hz])
-
-RTEMS_BSPOPTS_SET([IMX_CCM_ECSPI_HZ],[*],[67500000])
-RTEMS_BSPOPTS_HELP([IMX_CCM_ECSPI_HZ],[ECSPI clock frequency in Hz])
-
-RTEMS_BSPOPTS_SET([IMX_CCM_AHB_HZ],[*],[135000000])
-RTEMS_BSPOPTS_HELP([IMX_CCM_AHB_HZ],[AHB clock frequency in Hz])
-
-RTEMS_BSPOPTS_SET([IMX_CCM_SDHCI_HZ],[*],[196363000])
-RTEMS_BSPOPTS_HELP([IMX_CCM_SDHCI_HZ],[SDHCI clock frequency in Hz])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am b/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am
deleted file mode 100644
index 40ddfce691..0000000000
--- a/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am
+++ /dev/null
@@ -1,82 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-###############################################################################
-# Data #
-###############################################################################
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/lm3s69xx/start/bsp_specs
-
-start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/arm/lm3s69xx/start/linkcmds.lm3s3749
-dist_project_lib_DATA += ../../../../../../bsps/arm/lm3s69xx/start/linkcmds.lm3s6965
-dist_project_lib_DATA += ../../../../../../bsps/arm/lm3s69xx/start/linkcmds.lm3s6965_qemu
-
-###############################################################################
-# Header #
-###############################################################################
-
-###############################################################################
-# LibBSP #
-###############################################################################
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterfrequency.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bspreset-armv7m.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lm3s69xx/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lm3s69xx/start/bspstarthook.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lm3s69xx/start/io.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lm3s69xx/start/syscon.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-armv7m.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-dispatch-armv7m.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lm3s69xx/console/console-config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lm3s69xx/console/uart.c
-
-# Clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-armv7m.c
-
-# Timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-# SSI
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lm3s69xx/i2c/ssi.c
-
-###############################################################################
-# Special Rules #
-###############################################################################
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/lm3s69xx/headers.am
diff --git a/c/src/lib/libbsp/arm/lm3s69xx/configure.ac b/c/src/lib/libbsp/arm/lm3s69xx/configure.ac
deleted file mode 100644
index b2158a7e57..0000000000
--- a/c/src/lib/libbsp/arm/lm3s69xx/configure.ac
+++ /dev/null
@@ -1,77 +0,0 @@
-##
-#
-# @file
-#
-# @brief Configure script of LibBSP for the LM3S39XX boards.
-#
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-lm3s69xx],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([LM3S69XX_SYSTEM_CLOCK],[lm3s*],[50000000U])
-RTEMS_BSPOPTS_SET([LM3S69XX_SYSTEM_CLOCK],[lm4f*],[80000000U])
-RTEMS_BSPOPTS_HELP([LM3S69XX_SYSTEM_CLOCK],[system clock in Hz])
-
-RTEMS_BSPOPTS_SET([LM3S69XX_XTAL_CONFIG],[lm3s6965*],[0xE]) dnl 8MHz XTAL
-RTEMS_BSPOPTS_SET([LM3S69XX_XTAL_CONFIG],[lm3s3749*],[0x10]) dnl 10MHz XTAL
-RTEMS_BSPOPTS_SET([LM3S69XX_XTAL_CONFIG],[lm4f120*],[0x15]) dnl 16MHz XTAL
-RTEMS_BSPOPTS_HELP([LM3S69XX_XTAL_CONFIG],[crystal configuration for RCC register])
-
-RTEMS_BSPOPTS_SET([LM3S69XX_SSI_CLOCK],[*],[1000000U])
-RTEMS_BSPOPTS_HELP([LM3S69XX_SSI_CLOCK],[SSI clock in Hz])
-
-RTEMS_BSPOPTS_SET([LM3S69XX_UART_BAUD],[*],[115200U])
-RTEMS_BSPOPTS_HELP([LM3S69XX_UART_BAUD],[baud for UARTs])
-
-RTEMS_BSPOPTS_SET([LM3S69XX_ENABLE_UART_0],[*],[1])
-RTEMS_BSPOPTS_HELP([LM3S69XX_ENABLE_UART_0],[enable UART 0])
-
-RTEMS_BSPOPTS_SET([LM3S69XX_ENABLE_UART_1],[*],[])
-RTEMS_BSPOPTS_HELP([LM3S69XX_ENABLE_UART_1],[enable UART 1])
-
-RTEMS_BSPOPTS_SET([LM3S69XX_ENABLE_UART_2],[*],[])
-RTEMS_BSPOPTS_HELP([LM3S69XX_ENABLE_UART_2],[enable UART 2])
-
-RTEMS_BSPOPTS_SET([LM3S69XX_NUM_GPIO_BLOCKS],[lm3s3749*],[8])
-RTEMS_BSPOPTS_SET([LM3S69XX_NUM_GPIO_BLOCKS],[lm3s6965*],[7])
-RTEMS_BSPOPTS_SET([LM3S69XX_NUM_GPIO_BLOCKS],[lm4f120*],[6])
-RTEMS_BSPOPTS_HELP([LM3S69XX_NUM_GPIO_BLOCKS],[number of GPIO blocks supported by MCU])
-
-RTEMS_BSPOPTS_SET([LM3S69XX_NUM_SSI_BLOCKS],[lm3s3749*],[2])
-RTEMS_BSPOPTS_SET([LM3S69XX_NUM_SSI_BLOCKS],[lm3s6965*],[1])
-RTEMS_BSPOPTS_SET([LM3S69XX_NUM_SSI_BLOCKS],[lm4f120*],[4])
-RTEMS_BSPOPTS_HELP([LM3S69XX_NUM_SSI_BLOCKS],[number of SSI blocks supported by MCU])
-
-RTEMS_BSPOPTS_SET([LM3S69XX_HAS_UDMA],[lm3s3749*],[1])
-RTEMS_BSPOPTS_SET([LM3S69XX_HAS_UDMA],[lm4f*],[1])
-RTEMS_BSPOPTS_SET([LM3S69XX_HAS_UDMA],[*],[0])
-RTEMS_BSPOPTS_HELP([LM3S69XX_HAS_UDMA],[defined if MCU supports UDMA])
-
-RTEMS_BSPOPTS_SET([LM3S69XX_USE_AHB_FOR_GPIO],[lm3s3749*],[1])
-RTEMS_BSPOPTS_SET([LM3S69XX_USE_AHB_FOR_GPIO],[lm4f*],[1])
-RTEMS_BSPOPTS_SET([LM3S69XX_USE_AHB_FOR_GPIO],[*],[0])
-RTEMS_BSPOPTS_HELP([LM3S69XX_USE_AHB_FOR_GPIO],[use AHB apperture to access GPIO registers])
-
-RTEMS_BSPOPTS_SET([LM3S69XX_MCU_LM3S3749],[lm3s3749*],[1])
-RTEMS_BSPOPTS_HELP([LM3S69XX_MCU_LM3S3749],[board has LM3S3749 MCU])
-
-RTEMS_BSPOPTS_SET([LM3S69XX_MCU_LM3S6965],[lm3s6965*],[1])
-RTEMS_BSPOPTS_HELP([LM3S69XX_MCU_LM3S6965],[board has LM3S6965 MCU])
-
-RTEMS_BSPOPTS_SET([LM3S69XX_MCU_LM4F120],[lm4f120*],[1])
-RTEMS_BSPOPTS_HELP([LM3S69XX_MCU_LM4F120],[board has LM4F120xxx MCU])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/lpc176x/Makefile.am b/c/src/lib/libbsp/arm/lpc176x/Makefile.am
deleted file mode 100644
index 9a125a01a0..0000000000
--- a/c/src/lib/libbsp/arm/lpc176x/Makefile.am
+++ /dev/null
@@ -1,118 +0,0 @@
-##
-#
-# @file
-#
-# @brief Makefile of LibBSP for the LPC176x boards.
-#
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/lpc176x/start/bsp_specs
-
-
-# ----------------------------
-# ------ Headers
-# ----------------------------
-
-
-# ----------------------------
-# ------ Data
-# ----------------------------
-
-start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed_ahb_ram
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed_ahb_ram_eth
-
-# ----------------------------
-# ------ LibBSP
-# ----------------------------
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/uart-output-char.c
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bspreset-armv7m.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/bspstart.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-armv7m.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-dispatch-armv7m.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/irq/irq.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios-init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/console/console-config.c
-
-# Clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-nxp-lpc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-armv7m.c
-
-# RTC
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/rtc/rtc-config.c
-
-# GPIO
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/gpio/lpc-gpio.c
-
-# CAN
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/can/can.c
-
-# PWMOUT
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/pwm/pwmout.c
-
-# ADC
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/adc.c
-
-# Timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/timer/timer.c
-
-# Benchmark Timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/btimer/btimer.c
-
-# Misc
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/system-clocks.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/dma.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/dma-copy.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/bspidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/io.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/restart.c
-
-# Watchdog
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/watchdog.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-# Start hooks
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/bspstarthooks.c
-
-
-# ----------------------------
-# ------ Special Rules
-# ----------------------------
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/lpc176x/headers.am
diff --git a/c/src/lib/libbsp/arm/lpc176x/configure.ac b/c/src/lib/libbsp/arm/lpc176x/configure.ac
deleted file mode 100644
index 09f7478a65..0000000000
--- a/c/src/lib/libbsp/arm/lpc176x/configure.ac
+++ /dev/null
@@ -1,66 +0,0 @@
-##
-#
-# @file
-#
-# @brief Configure script of LibBSP for the LPC176X board.
-#
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-lpc176x],[_RTEMS_VERSION],
- [https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([ARM_LPC1768],[*],[0])
-RTEMS_BSPOPTS_HELP([ARM_LPC1768],[target used for identify LPC1768 board])
-
-RTEMS_BSPOPTS_SET([BSP_MINIMUM_TASK_STACK_SIZE],[*],[1024])
-RTEMS_BSPOPTS_HELP([BSP_MINIMUM_TASK_STACK_SIZE],[Suggested minimum task stack
- size in bytes])
-
-RTEMS_BSPOPTS_SET([LPC176X_OSCILLATOR_MAIN],[*],[12000000U])
-RTEMS_BSPOPTS_HELP([LPC176X_OSCILLATOR_MAIN],[main oscillator frequency in Hz])
-
-RTEMS_BSPOPTS_SET([LPC176X_OSCILLATOR_RTC],[*],[32768U])
-RTEMS_BSPOPTS_HELP([LPC176X_OSCILLATOR_RTC],[RTC oscillator frequency in Hz])
-
-RTEMS_BSPOPTS_SET([LPC176X_CCLK],[*],[96000000U])
-RTEMS_BSPOPTS_HELP([LPC176X_CCLK],[CPU clock in Hz])
-
-RTEMS_BSPOPTS_SET([LPC176X_PCLKDIV],[*],[1U])
-RTEMS_BSPOPTS_HELP([LPC176X_PCLKDIV],[clock divider for default
- PCLK (PCLK = CCLK / PCLKDIV)])
-
-RTEMS_BSPOPTS_SET([LPC176X_UART_BAUD],[*],[9600U])
-RTEMS_BSPOPTS_HELP([LPC176X_UART_BAUD],[baud for UARTs])
-
-RTEMS_BSPOPTS_SET([LPC176X_CONFIG_UART_1],[*],[1])
-RTEMS_BSPOPTS_HELP([LPC176X_CONFIG_UART_1],[Use Uart 1])
-
-RTEMS_BSPOPTS_SET([LPC176X_CONFIG_CONSOLE],[*],[0])
-RTEMS_BSPOPTS_HELP([LPC176X_CONFIG_CONSOLE],[configuration
- for console (UART 0)])
-
-RTEMS_BSPOPTS_SET([LPC176X_STOP_GPDMA],[*],[1])
-RTEMS_BSPOPTS_HELP([LPC176X_STOP_GPDMA],[stop general purpose DMA
- at start-up to avoid DMA interference])
-
-RTEMS_BSPOPTS_SET([LPC176X_STOP_USB],[*],[1])
-RTEMS_BSPOPTS_HELP([LPC176X_STOP_USB],[stop USB controller
- at start-up to avoid DMA interference])
-
-RTEMS_BSPOPTS_SET([LPC_DMA_CHANNEL_COUNT],[*],[2])
-RTEMS_BSPOPTS_HELP([LPC_DMA_CHANNEL_COUNT],[DMA channel count])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/lpc24xx/Makefile.am b/c/src/lib/libbsp/arm/lpc24xx/Makefile.am
deleted file mode 100644
index cf69e86c3e..0000000000
--- a/c/src/lib/libbsp/arm/lpc24xx/Makefile.am
+++ /dev/null
@@ -1,126 +0,0 @@
-##
-#
-# @file
-#
-# @brief Makefile of LibBSP for the LPC24XX boards.
-#
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/lpc24xx/start/bsp_specs
-
-###############################################################################
-# Header #
-###############################################################################
-
-###############################################################################
-# Data #
-###############################################################################
-
-start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc24xx/start/linkcmds.lpc17xx_ea_ram
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc24xx/start/linkcmds.lpc17xx_ea_rom_int
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc24xx/start/linkcmds.lpc17xx_plx800_ram
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc24xx/start/linkcmds.lpc17xx_plx800_rom_int
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc24xx/start/linkcmds.lpc2362
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc24xx/start/linkcmds.lpc23xx_tli800
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc24xx/start/linkcmds.lpc24xx_ea
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc24xx/start/linkcmds.lpc24xx_ncs_ram
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc24xx/start/linkcmds.lpc24xx_ncs_rom_ext
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc24xx/start/linkcmds.lpc24xx_ncs_rom_int
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc24xx/start/linkcmds.lpc24xx_plx800_ram
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc24xx/start/linkcmds.lpc24xx_plx800_rom_int
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc24xx/start/linkcmds.lpc40xx_ea_ram
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc24xx/start/linkcmds.lpc40xx_ea_rom_int
-
-###############################################################################
-# LibBSP #
-###############################################################################
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/uart-output-char.c
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bspreset-armv7m.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/start/bspreset-armv4.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/start/bspstart.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-armv7m.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-dispatch-armv7m.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/irq/irq.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/irq/irq-dispatch.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios-init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/console/console-config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/console/uart-probe-1.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/console/uart-probe-2.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/console/uart-probe-3.c
-
-# Clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-nxp-lpc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-armv7m.c
-
-# RTC
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/rtc/rtc-config.c
-
-# Misc
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/start/system-clocks.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/start/dma.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/start/dma-copy.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/start/bspidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/start/io.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/fb/lcd.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/start/restart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/start/timer.c
-
-# SSP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/spi/ssp.c
-
-# I2C
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/i2c/i2c.c
-
-# Framebuffer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/fb/arm-pl111.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/start/fb-config.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-# Start hooks
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/start/bspstarthooks.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/start/start-config-emc-dynamic.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/start/start-config-emc-static.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/start/start-config-mpu.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc24xx/start/start-config-pinsel.c
-
-###############################################################################
-# Special Rules #
-###############################################################################
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/lpc24xx/headers.am
diff --git a/c/src/lib/libbsp/arm/lpc24xx/configure.ac b/c/src/lib/libbsp/arm/lpc24xx/configure.ac
deleted file mode 100644
index 9456e6cb52..0000000000
--- a/c/src/lib/libbsp/arm/lpc24xx/configure.ac
+++ /dev/null
@@ -1,116 +0,0 @@
-##
-#
-# @file
-#
-# @brief Configure script of LibBSP for the LPC24XX boards.
-#
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-lpc24xx],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([LPC24XX_OSCILLATOR_MAIN],[lpc23*],[3686400U])
-RTEMS_BSPOPTS_SET([LPC24XX_OSCILLATOR_MAIN],[*],[12000000U])
-RTEMS_BSPOPTS_HELP([LPC24XX_OSCILLATOR_MAIN],[main oscillator frequency in Hz])
-
-RTEMS_BSPOPTS_SET([LPC24XX_OSCILLATOR_RTC],[*],[32768U])
-RTEMS_BSPOPTS_HELP([LPC24XX_OSCILLATOR_RTC],[RTC oscillator frequency in Hz])
-
-RTEMS_BSPOPTS_SET([LPC24XX_CCLK],[lpc17xx_ea* | lpc40xx_ea*],[96000000U])
-RTEMS_BSPOPTS_SET([LPC24XX_CCLK],[lpc23*],[58982400U])
-RTEMS_BSPOPTS_SET([LPC24XX_CCLK],[lpc24xx_plx800_*],[51612800U])
-RTEMS_BSPOPTS_SET([LPC24XX_CCLK],[*],[72000000U])
-RTEMS_BSPOPTS_HELP([LPC24XX_CCLK],[CPU clock in Hz])
-
-RTEMS_BSPOPTS_SET([LPC24XX_PCLKDIV],[lpc17xx_ea* | lpc40xx_ea*],[2U])
-RTEMS_BSPOPTS_SET([LPC24XX_PCLKDIV],[*],[1U])
-RTEMS_BSPOPTS_HELP([LPC24XX_PCLKDIV],[clock divider for default PCLK (PCLK = CCLK / PCLKDIV)])
-
-RTEMS_BSPOPTS_SET([LPC24XX_EMCCLKDIV],[lpc17xx_ea* | lpc40xx_ea*],[2U])
-RTEMS_BSPOPTS_SET([LPC24XX_EMCCLKDIV],[*],[1U])
-RTEMS_BSPOPTS_HELP([LPC24XX_EMCCLKDIV],[clock divider for EMCCLK (EMCCLK = CCLK / EMCCLKDIV)])
-
-RTEMS_BSPOPTS_SET([LPC24XX_UART_BAUD],[*],[115200U])
-RTEMS_BSPOPTS_HELP([LPC24XX_UART_BAUD],[baud for UARTs])
-
-RTEMS_BSPOPTS_SET([LPC24XX_ETHERNET_RMII],[*_ea_*],[1])
-RTEMS_BSPOPTS_SET([LPC24XX_ETHERNET_RMII],[*],[])
-RTEMS_BSPOPTS_HELP([LPC24XX_ETHERNET_RMII],[enable RMII for Ethernet])
-
-RTEMS_BSPOPTS_SET([LPC24XX_PIN_ETHERNET_POWER_DOWN],[*],[])
-RTEMS_BSPOPTS_HELP([LPC24XX_PIN_ETHERNET_POWER_DOWN],[optional Ethernet power-down pin, output is set to high to enable power])
-
-RTEMS_BSPOPTS_SET([LPC24XX_EMC_MT48LC4M16A2],[lpc24xx_ncs_rom_*],[1])
-RTEMS_BSPOPTS_HELP([LPC24XX_EMC_MT48LC4M16A2],[enable Micron MT48LC4M16A2 configuration for EMC])
-
-RTEMS_BSPOPTS_HELP([LPC24XX_EMC_W9825G2JB75I],[enable Winbond W9825G2JB75I configuration for EMC])
-
-RTEMS_BSPOPTS_SET([LPC24XX_EMC_IS42S32800D7],[*_plx800_rom_*],[1])
-RTEMS_BSPOPTS_HELP([LPC24XX_EMC_IS42S32800D7],[enable ISSI IS42S32800D7 configuration for EMC])
-
-RTEMS_BSPOPTS_SET([LPC24XX_EMC_IS42S32800B],[lpc17xx_ea_rom_* | lpc40xx_ea_rom_*],[1])
-RTEMS_BSPOPTS_HELP([LPC24XX_EMC_IS42S32800B],[enable ISSI IS42S32800B configuration for EMC])
-
-RTEMS_BSPOPTS_SET([LPC24XX_EMC_M29W160E],[lpc24xx_ncs_rom_*],[1])
-RTEMS_BSPOPTS_HELP([LPC24XX_EMC_M29W160E],[enable M29W160E configuration for EMC])
-
-RTEMS_BSPOPTS_SET([LPC24XX_EMC_M29W320E70],[*_plx800_rom_*],[1])
-RTEMS_BSPOPTS_HELP([LPC24XX_EMC_M29W320E70],[enable M29W320E70 configuration for EMC])
-
-RTEMS_BSPOPTS_HELP([LPC24XX_EMC_SST39VF3201],[enable SST39VF3201 configuration for EMC])
-
-RTEMS_BSPOPTS_SET([LPC24XX_EMC_TEST],[*],[])
-RTEMS_BSPOPTS_HELP([LPC24XX_EMC_TEST],[enable tests for EMC])
-
-RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_CONSOLE],[*],[0])
-RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_CONSOLE],[configuration for console (UART 0)])
-
-RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_1],[*_plx800_*],[0])
-RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_UART_1],[configuration for UART 1])
-
-RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_2],[lpc23*],[0])
-RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_2],[lpc24xx_ncs_*],[0])
-RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_2],[*_plx800_*],[0])
-RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_UART_2],[configuration for UART 2])
-
-RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_3],[lpc23*],[0])
-RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_3],[lpc24xx_ncs_*],[0])
-RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_UART_3],[configuration for UART 3])
-
-RTEMS_BSPOPTS_SET([LPC24XX_HEAP_EXTEND],[lpc23*],[1])
-RTEMS_BSPOPTS_HELP([LPC24XX_HEAP_EXTEND],[enable heap extend by Ethernet and USB regions])
-
-RTEMS_BSPOPTS_SET([LPC24XX_STOP_GPDMA],[*],[1])
-RTEMS_BSPOPTS_HELP([LPC24XX_STOP_GPDMA],[stop general purpose DMA at start-up to avoid DMA interference])
-
-RTEMS_BSPOPTS_SET([LPC24XX_STOP_ETHERNET],[lpc23*],[])
-RTEMS_BSPOPTS_SET([LPC24XX_STOP_ETHERNET],[*],[1])
-RTEMS_BSPOPTS_HELP([LPC24XX_STOP_ETHERNET],[stop Ethernet controller at start-up to avoid DMA interference])
-
-RTEMS_BSPOPTS_SET([LPC24XX_STOP_USB],[lpc23*],[])
-RTEMS_BSPOPTS_SET([LPC24XX_STOP_USB],[*],[1])
-RTEMS_BSPOPTS_HELP([LPC24XX_STOP_USB],[stop USB controller at start-up to avoid DMA interference])
-
-RTEMS_BSPOPTS_SET([LPC_DMA_CHANNEL_COUNT],[lpc17* | lpc40*],[8])
-RTEMS_BSPOPTS_SET([LPC_DMA_CHANNEL_COUNT],[*],[2])
-RTEMS_BSPOPTS_HELP([LPC_DMA_CHANNEL_COUNT],[DMA channel count])
-
-RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[lpc24xx_ncs_rom_ext],[0x80000040])
-RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
-
-RTEMS_BSPOPTS_SET([BSP_USB_OTG_TRANSCEIVER_I2C_ADDR],[lpc17xx_ea* | lpc40xx_ea*],[(0x2f << 1)])
-RTEMS_BSPOPTS_HELP([BSP_USB_OTG_TRANSCEIVER_I2C_ADDR],[USB OTG transceiver I2C address used by USB stack])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/lpc32xx/Makefile.am b/c/src/lib/libbsp/arm/lpc32xx/Makefile.am
deleted file mode 100644
index e80a663c8c..0000000000
--- a/c/src/lib/libbsp/arm/lpc32xx/Makefile.am
+++ /dev/null
@@ -1,106 +0,0 @@
-##
-#
-# @file
-#
-# @brief Makefile of LibBSP for the LPC32XX boards.
-#
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/lpc32xx/start/bsp_specs
-
-###############################################################################
-# Header #
-###############################################################################
-
-###############################################################################
-# Data #
-###############################################################################
-
-start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc32xx/start/linkcmds.lpc32xx
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc32xx/start/linkcmds.lpc32xx_phycore
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx_stage_1
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx_stage_2
-dist_project_lib_DATA += ../../../../../../bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx
-
-###############################################################################
-# LibBSP #
-###############################################################################
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/uart-output-char.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/start/bspstart.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/irq/irq.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios-init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/console/console-config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/console/hsu.c
-
-# Clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-nxp-lpc.c
-
-# RTC
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/rtc/rtc-config.c
-
-# Misc
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/start/boot.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/start/emc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/i2c/i2c.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/nand/nand-mlc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/nand/nand-mlc-erase-block-safe.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/nand/nand-mlc-read-blocks.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/nand/nand-mlc-write-blocks.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/start/restart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/start/system-clocks.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/start/timer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/nand/nand-select.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/start/bspidle.c
-
-# SSP
-
-# I2C
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
-
-# Start hooks
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc32xx/start/bspstarthooks.c
-
-
-###############################################################################
-# Special Rules #
-###############################################################################
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/lpc32xx/headers.am
diff --git a/c/src/lib/libbsp/arm/lpc32xx/configure.ac b/c/src/lib/libbsp/arm/lpc32xx/configure.ac
deleted file mode 100644
index 8b8f20fad7..0000000000
--- a/c/src/lib/libbsp/arm/lpc32xx/configure.ac
+++ /dev/null
@@ -1,105 +0,0 @@
-##
-#
-# @file
-#
-# @brief Configure script of LibBSP for the LPC32XX boards.
-#
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-lpc32xx],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([LPC32XX_OSCILLATOR_MAIN],[*],[13000000U])
-RTEMS_BSPOPTS_HELP([LPC32XX_OSCILLATOR_MAIN],[main oscillator frequency in Hz])
-
-RTEMS_BSPOPTS_SET([LPC32XX_OSCILLATOR_RTC],[*],[32768U])
-RTEMS_BSPOPTS_HELP([LPC32XX_OSCILLATOR_RTC],[RTC oscillator frequency in Hz])
-
-RTEMS_BSPOPTS_SET([LPC32XX_PERIPH_CLK],[*],[13000000U])
-RTEMS_BSPOPTS_HELP([LPC32XX_PERIPH_CLK],[peripheral clock in Hz])
-
-RTEMS_BSPOPTS_SET([LPC32XX_ETHERNET_RMII],[*],[1])
-RTEMS_BSPOPTS_HELP([LPC32XX_ETHERNET_RMII],[enable RMII for Ethernet])
-
-RTEMS_BSPOPTS_SET([LPC32XX_UART_1_BAUD],[*],[])
-RTEMS_BSPOPTS_HELP([LPC32XX_UART_1_BAUD],[baud for UART 1])
-
-RTEMS_BSPOPTS_SET([LPC32XX_UART_2_BAUD],[*],[])
-RTEMS_BSPOPTS_HELP([LPC32XX_UART_2_BAUD],[baud for UART 2])
-
-RTEMS_BSPOPTS_SET([LPC32XX_UART_3_BAUD],[*],[115200])
-RTEMS_BSPOPTS_HELP([LPC32XX_UART_3_BAUD],[baud for UART 3])
-
-RTEMS_BSPOPTS_SET([LPC32XX_UART_4_BAUD],[*],[115200])
-RTEMS_BSPOPTS_HELP([LPC32XX_UART_4_BAUD],[baud for UART 4])
-
-RTEMS_BSPOPTS_SET([LPC32XX_UART_5_BAUD],[*],[115200])
-RTEMS_BSPOPTS_HELP([LPC32XX_UART_5_BAUD],[baud for UART 5])
-
-RTEMS_BSPOPTS_SET([LPC32XX_UART_6_BAUD],[*],[115200])
-RTEMS_BSPOPTS_HELP([LPC32XX_UART_6_BAUD],[baud for UART 6])
-
-RTEMS_BSPOPTS_SET([LPC32XX_UART_7_BAUD],[*],[])
-RTEMS_BSPOPTS_HELP([LPC32XX_UART_7_BAUD],[baud for UART 7])
-
-RTEMS_BSPOPTS_SET([LPC32XX_CONFIG_U3CLK],[*],[0x00001386])
-RTEMS_BSPOPTS_HELP([LPC32XX_CONFIG_U3CLK],[clock configuration for UART 3])
-
-RTEMS_BSPOPTS_SET([LPC32XX_CONFIG_U4CLK],[*],[0x00001386])
-RTEMS_BSPOPTS_HELP([LPC32XX_CONFIG_U4CLK],[clock configuration for UART 4])
-
-RTEMS_BSPOPTS_SET([LPC32XX_CONFIG_U5CLK],[*],[0x00001386])
-RTEMS_BSPOPTS_HELP([LPC32XX_CONFIG_U5CLK],[clock configuration for UART 5])
-
-RTEMS_BSPOPTS_SET([LPC32XX_CONFIG_U6CLK],[*],[0x00001386])
-RTEMS_BSPOPTS_HELP([LPC32XX_CONFIG_U6CLK],[clock configuration for UART 6])
-
-RTEMS_BSPOPTS_SET([LPC32XX_DISABLE_MMU],[*],[])
-RTEMS_BSPOPTS_HELP([LPC32XX_DISABLE_MMU],[disable MMU])
-
-RTEMS_BSPOPTS_SET([LPC32XX_DISABLE_READ_WRITE_DATA_CACHE],[*],[])
-RTEMS_BSPOPTS_HELP([LPC32XX_DISABLE_READ_WRITE_DATA_CACHE],[disable cache for read-write data sections])
-
-RTEMS_BSPOPTS_SET([LPC32XX_DISABLE_READ_ONLY_PROTECTION],[*],[])
-RTEMS_BSPOPTS_HELP([LPC32XX_DISABLE_READ_ONLY_PROTECTION],[disable MMU protection of read-only sections])
-
-RTEMS_BSPOPTS_SET([LPC32XX_SCRATCH_AREA_SIZE],[lpc32xx_mzx*],[4096])
-RTEMS_BSPOPTS_HELP([LPC32XX_SCRATCH_AREA_SIZE],[size of scratch area])
-
-RTEMS_BSPOPTS_SET([LPC32XX_STOP_GPDMA],[*],[1])
-RTEMS_BSPOPTS_HELP([LPC32XX_STOP_GPDMA],[stop general purpose DMA at start-up to avoid DMA interference])
-
-RTEMS_BSPOPTS_SET([LPC32XX_STOP_ETHERNET],[*],[1])
-RTEMS_BSPOPTS_HELP([LPC32XX_STOP_ETHERNET],[stop Ethernet controller at start-up to avoid DMA interference])
-
-RTEMS_BSPOPTS_SET([LPC32XX_STOP_USB],[*],[1])
-RTEMS_BSPOPTS_HELP([LPC32XX_STOP_USB],[stop USB controller at start-up to avoid DMA interference])
-
-RTEMS_BSPOPTS_SET([LPC32XX_ENABLE_WATCHDOG_RESET],[*],[1])
-RTEMS_BSPOPTS_HELP([LPC32XX_ENABLE_WATCHDOG_RESET],[bsp_reset() will use the watchdog to reset the chip])
-
-RTEMS_BSPOPTS_SET([LPC_DMA_CHANNEL_COUNT],[*],[8])
-RTEMS_BSPOPTS_HELP([LPC_DMA_CHANNEL_COUNT],[DMA channel count])
-
-RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[])
-RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
-
-RTEMS_BSPOPTS_SET([BSP_USB_OTG_TRANSCEIVER_I2C_ADDR],[lpc32xx_mzx*],[(0x2c << 1)])
-RTEMS_BSPOPTS_HELP([BSP_USB_OTG_TRANSCEIVER_I2C_ADDR],[USB OTG transceiver I2C address used by USB stack])
-
-RTEMS_BSPOPTS_SET([BSP_USB_OTG_TRANSCEIVER_VBUS],[lpc32xx_mzx*],[USB_OTG_VBUS_POWER_WITH_CHARGE_PUMP])
-RTEMS_BSPOPTS_HELP([BSP_USB_OTG_TRANSCEIVER_VBUS],[USB OTG transceiver VBUS policy])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/raspberrypi/Makefile.am b/c/src/lib/libbsp/arm/raspberrypi/Makefile.am
deleted file mode 100644
index 048b28f44c..0000000000
--- a/c/src/lib/libbsp/arm/raspberrypi/Makefile.am
+++ /dev/null
@@ -1,114 +0,0 @@
-##
-#
-# @file
-#
-# @brief Makefile of LibBSP for the raspberrypi board.
-#
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/raspberrypi/start/bsp_specs
-
-###############################################################################
-# Header #
-###############################################################################
-
-noinst_HEADERS = ../../../../../../bsps/arm/raspberrypi/console/font_data.h
-
-###############################################################################
-# Data #
-###############################################################################
-
-start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-###############################################################################
-# LibBSP #
-###############################################################################
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterfrequency.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bsp-fdt.c
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/cmdline.c
-if HAS_SMP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspsmp.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspsmp_init.c
-endif
-
-# Restart
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspreset.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/irq/irq.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/arm-pl011.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/console-config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/fb.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/fbcons.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/outch.c
-
-# Mailbox
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/mailbox.c
-
-# VideoCore
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/vc.c
-
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/raspberrypi/clock/clockdrv.c
-
-# Timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/timer.c
-
-# GPIO
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/gpio/gpio-support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/gpio/rpi-gpio.c
-
-# RTC
-
-# SSP
-
-# I2C
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/i2c/i2c.c
-
-# SPI
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/spi/spi.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-v7ar-disable-data.S
-
-# Start hooks
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspstarthooks.c
-
-###############################################################################
-# Special Rules #
-###############################################################################
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/raspberrypi/headers.am
diff --git a/c/src/lib/libbsp/arm/raspberrypi/configure.ac b/c/src/lib/libbsp/arm/raspberrypi/configure.ac
deleted file mode 100644
index 84780db4c0..0000000000
--- a/c/src/lib/libbsp/arm/raspberrypi/configure.ac
+++ /dev/null
@@ -1,67 +0,0 @@
-##
-#
-# @file
-#
-# @brief Configure script of LibBSP for the Raspberry Pi boards.
-#
-
-AC_PREREQ([2.68])
-AC_INIT([rtems-c-src-lib-libbsp-arm-raspberrypi],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-RTEMS_BSPOPTS_SET([BSP_START_COPY_FDT_FROM_U_BOOT],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_START_COPY_FDT_FROM_U_BOOT],[copy the U-Boot provided FDT to an internal storage])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_SIZE_MAX],[*],[262144])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_SIZE_MAX],[maximum size of the FDT blob in bytes])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_READ_ONLY],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_READ_ONLY],[place the FDT blob into the read-only data area])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA],[copy the FDT blob into the read-only load area via bsp_fdt_copy()])
-
-RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[])
-RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
-
-RTEMS_BSPOPTS_SET([BSP_START_IN_HYP_SUPPORT],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_START_IN_HYP_SUPPORT], [Support start of BSP in ARM HYP mode])
-AM_CONDITIONAL(BSP_START_IN_HYP_SUPPORT,test "$BSP_START_IN_HYP_SUPPORT" = "1")
-
-RTEMS_BSPOPTS_SET([I2C_IO_MODE],[*],[1])
-RTEMS_BSPOPTS_HELP([I2C_IO_MODE],[Define to 1 to use interrupt-driven I/O with the Raspberry Pi I2C bus. If defined to other value the access will be polled-driven.])
-
-RTEMS_BSPOPTS_SET([SPI_IO_MODE],[*],[1])
-RTEMS_BSPOPTS_HELP([SPI_IO_MODE],[Define to 1 to use interrupt-driven I/O with the Raspberry Pi SPI bus. If defined to other value the access will be polled-driven.])
-
-# Is this a Raspberry Pi 2?
-RTEMS_BSPOPTS_SET([BSP_IS_RPI2],[raspberrypi2],[1])
-RTEMS_BSPOPTS_SET([BSP_IS_RPI2],[*],[0])
-RTEMS_BSPOPTS_HELP([BSP_IS_RPI2],[Set if the BSP variant is Raspberry Pi 2.])
-AM_CONDITIONAL(RTEMS_RPI2,[test "$BSP_IS_RPI2" = "1"])
-
-RPI_RAM_MMU_LENGTH="16k"
-RPI_RAM_LENGTH_AVAILABLE="256M"
-RPI_RAM_NOCACHE_LENGTH="2M"
-
-AC_DEFUN([RPI_LINKCMD],[
-AC_ARG_VAR([$1],[$2; default $3])dnl
-[$1]=[$]{[$1]:-[$3]}
-])
-
-RPI_LINKCMD([RPI_RAM_MMU_LENGTH],[MMU region length],[${BSP_RPI_RAM_MMU_LENGTH}])
-RPI_LINKCMD([RPI_RAM_LENGTH_AVAILABLE],[RAM region length],[${BSP_RPI_RAM_LENGTH_AVAILABLE}])
-RPI_LINKCMD([RPI_RAM_NOCACHE_LENGTH],[No-cache region length],[${BSP_RPI_RAM_NOCACHE_LENGTH}])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_CONFIG_FILES([
-Makefile
-linkcmds:../../../../../../bsps/arm/raspberrypi/start/linkcmds.in])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/realview-pbx-a9/Makefile.am b/c/src/lib/libbsp/arm/realview-pbx-a9/Makefile.am
deleted file mode 100644
index 2aad8b1220..0000000000
--- a/c/src/lib/libbsp/arm/realview-pbx-a9/Makefile.am
+++ /dev/null
@@ -1,92 +0,0 @@
-##
-#
-# @file
-#
-# @brief Makefile of LibBSP for the RealView PBX A9 board.
-#
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/realview-pbx-a9/start/bsp_specs
-
-###############################################################################
-# Header #
-###############################################################################
-
-###############################################################################
-# Data #
-###############################################################################
-
-start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/arm/realview-pbx-a9/start/linkcmds.realview_pbx_a9_qemu
-
-###############################################################################
-# LibBSP #
-###############################################################################
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/realview-pbx-a9/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/realview-pbx-a9/start/bspstart.c
-if HAS_SMP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/arm-a9mpcore-smp.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/realview-pbx-a9/start/bspsmp.c
-endif
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/irq/arm-gicv2.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios-init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/getserialmouseps2.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/arm-pl011.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/serial/arm-pl050.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/realview-pbx-a9/console/console-config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/realview-pbx-a9/console/console-polled.c
-
-# Clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-a9mpcore.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-v7ar-disable-data.S
-
-# Start hooks
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/realview-pbx-a9/start/bspstarthooks.c
-
-# Framebuffer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/fb/arm-pl111.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/realview-pbx-a9/start/fb-config.c
-
-###############################################################################
-# Special Rules #
-###############################################################################
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/realview-pbx-a9/headers.am
diff --git a/c/src/lib/libbsp/arm/realview-pbx-a9/configure.ac b/c/src/lib/libbsp/arm/realview-pbx-a9/configure.ac
deleted file mode 100644
index 0718865a69..0000000000
--- a/c/src/lib/libbsp/arm/realview-pbx-a9/configure.ac
+++ /dev/null
@@ -1,52 +0,0 @@
-##
-#
-# @file
-#
-# @brief Configure script of LibBSP for the RealView PBX A9 board.
-#
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-realview-bpx-a9],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[])
-RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
-
-RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[*qemu],[])
-RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_DATA_CACHE_ENABLED],[enable data cache])
-
-RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[*qemu],[])
-RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_INSTRUCTION_CACHE_ENABLED],[enable instruction cache])
-
-RTEMS_BSPOPTS_SET([BSP_ARM_A9MPCORE_PERIPHCLK],[*],[100000000U])
-RTEMS_BSPOPTS_HELP([BSP_ARM_A9MPCORE_PERIPHCLK],[ARM Cortex-A9 MPCore PERIPHCLK clock frequency in Hz])
-
-RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_FAST_IDLE],[*qemu*],[1])
-RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_FAST_IDLE],
-[This sets a mode where the time runs as fast as possible when a clock ISR
-occurs while the IDLE thread is executing. This can significantly reduce
-simulation times.])
-
-RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR],[*qemu*],[1])
-RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR],
-[If defined, then do the clock tick processing on the boot processor on behalf
-of all other processors.])
-
-RTEMS_BSPOPTS_SET([ARM_MMU_USE_SMALL_PAGES],[*],[1])
-RTEMS_BSPOPTS_HELP([ARM_MMU_USE_SMALL_PAGES],[use MMU with small pages (4KiB)])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/rtl22xx/Makefile.am b/c/src/lib/libbsp/arm/rtl22xx/Makefile.am
deleted file mode 100644
index 7a4ac7f922..0000000000
--- a/c/src/lib/libbsp/arm/rtl22xx/Makefile.am
+++ /dev/null
@@ -1,47 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/rtl22xx/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/arm/rtl22xx/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/rtl22xx/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/rtl22xx/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterfrequency.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/rtl22xx/btimer/btimer.c
-librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/rtl22xx/clock/clockdrv.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/rtl22xx/console/uart.c
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/rtl22xx/irq/irq.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/rtl22xx/headers.am
diff --git a/c/src/lib/libbsp/arm/rtl22xx/configure.ac b/c/src/lib/libbsp/arm/rtl22xx/configure.ac
deleted file mode 100644
index 3ff195f04f..0000000000
--- a/c/src/lib/libbsp/arm/rtl22xx/configure.ac
+++ /dev/null
@@ -1,27 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-rtl22xx],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([ON_SKYEYE],[*],[])
-RTEMS_BSPOPTS_HELP([ON_SKYEYE],
-[If defined, enable options which optimize executingon the Skyeye
- simulator. Speed up the clock ticks while the idle task is running so
- time spent in the idle task is minimized. This significantly reduces
- the wall time required to execute the RTEMS test suites.])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/smdk2410/Makefile.am b/c/src/lib/libbsp/arm/smdk2410/Makefile.am
deleted file mode 100644
index ce072ec1c5..0000000000
--- a/c/src/lib/libbsp/arm/smdk2410/Makefile.am
+++ /dev/null
@@ -1,52 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/smdk2410/start/bsp_specs
-
-
-start.$(OBJEXT): ../../../../../../bsps/arm/smdk2410/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/smdk2410/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/smdk2410/start/bspidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/smdk2410/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/smdk2410/start/memmap.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterfrequency.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/smdk2410/btimer/btimer.c
-librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/smdk2410/clock/clockdrv.c
-librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/smdk2410/clock/support.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/smdk2410/console/uart.c
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/smdk2410/irq/irq.c
-# smc
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/smdk2410/smc/smc.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm920-mmu.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/smdk2410/headers.am
diff --git a/c/src/lib/libbsp/arm/smdk2410/configure.ac b/c/src/lib/libbsp/arm/smdk2410/configure.ac
deleted file mode 100644
index 9e796515f1..0000000000
--- a/c/src/lib/libbsp/arm/smdk2410/configure.ac
+++ /dev/null
@@ -1,30 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-smdk2410],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-RTEMS_BSPOPTS_SET([ON_SKYEYE],[*],[])
-RTEMS_BSPOPTS_HELP([ON_SKYEYE],
-[If defined, enable options which optimize executingon the Skyeye
- simulator. Speed up the clock ticks while the idle task is running so
- time spent in the idle task is minimized. This significantly reduces
- the wall time required to execute the RTEMS test suites.])
-
-RTEMS_BSPOPTS_SET([CPU_S3C2410],[smdk2410],[1])
-RTEMS_BSPOPTS_SET([CPU_S3C2410],[*],[])
-RTEMS_BSPOPTS_HELP([CPU_S3C2410],
-[If defined, enable optons for the S3C2410 CPU model.])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/stm32f4/Makefile.am b/c/src/lib/libbsp/arm/stm32f4/Makefile.am
deleted file mode 100644
index d3e0710fb9..0000000000
--- a/c/src/lib/libbsp/arm/stm32f4/Makefile.am
+++ /dev/null
@@ -1,83 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-###############################################################################
-# Data #
-###############################################################################
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/stm32f4/start/bsp_specs
-
-start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/arm/stm32f4/start/linkcmds.stm32f105rc
-dist_project_lib_DATA += ../../../../../../bsps/arm/stm32f4/start/linkcmds.stm32f4
-
-###############################################################################
-# Header #
-###############################################################################
-
-###############################################################################
-# LibBSP #
-###############################################################################
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterfrequency.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/start/bspstarthook.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/start/io.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/start/rcc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/start/start-config-io.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-armv7m.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-dispatch-armv7m.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/console/console-config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/console/usart.c
-
-# I2C
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/i2c/i2c.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/i2c/i2c-config.c
-
-# Clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-armv7m.c
-
-# Timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-###############################################################################
-# Special Rules #
-###############################################################################
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/stm32f4/headers.am
diff --git a/c/src/lib/libbsp/arm/stm32f4/configure.ac b/c/src/lib/libbsp/arm/stm32f4/configure.ac
deleted file mode 100644
index 00ca0b73ae..0000000000
--- a/c/src/lib/libbsp/arm/stm32f4/configure.ac
+++ /dev/null
@@ -1,70 +0,0 @@
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-stm32f4],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([STM32F4_FAMILY_F10XXX],[stm32f1*],[1])
-RTEMS_BSPOPTS_HELP([STM32F4_FAMILY_F10XXX],[Chip belongs to the STM32F10XXX family.])
-
-RTEMS_BSPOPTS_SET([STM32F4_FAMILY_F4XXXX],[stm32f4*],[1])
-RTEMS_BSPOPTS_HELP([STM32F4_FAMILY_F4XXXX],[Chip belongs to the STM32F4XXXX family.])
-
-RTEMS_BSPOPTS_SET([STM32F4_HSE_OSCILLATOR],[*],[8000000])
-RTEMS_BSPOPTS_HELP([STM32F4_HSE_OSCILLATOR],[HSE oscillator frequency in Hz])
-
-RTEMS_BSPOPTS_SET([STM32F4_SYSCLK],[stm32f1*],[8000000])
-RTEMS_BSPOPTS_SET([STM32F4_SYSCLK],[*],[16000000])
-RTEMS_BSPOPTS_HELP([STM32F4_SYSCLK],[SYSCLK frequency in Hz])
-
-RTEMS_BSPOPTS_SET([STM32F4_HCLK],[stm32f1*],[8000000])
-RTEMS_BSPOPTS_SET([STM32F4_HCLK],[*],[16000000])
-RTEMS_BSPOPTS_HELP([STM32F4_HCLK],[HCLK frequency in Hz])
-
-RTEMS_BSPOPTS_SET([STM32F4_PCLK1],[stm32f1*],[8000000])
-RTEMS_BSPOPTS_SET([STM32F4_PCLK1],[*],[16000000])
-RTEMS_BSPOPTS_HELP([STM32F4_PCLK1],[PCLK1 frequency in Hz])
-
-RTEMS_BSPOPTS_SET([STM32F4_PCLK2],[stm32f1*],[8000000])
-RTEMS_BSPOPTS_SET([STM32F4_PCLK2],[*],[16000000])
-RTEMS_BSPOPTS_HELP([STM32F4_PCLK2],[PCLK2 frequency in Hz])
-
-RTEMS_BSPOPTS_SET([STM32F4_USART_BAUD],[*],[115200])
-RTEMS_BSPOPTS_HELP([STM32F4_USART_BAUD],[baud for USARTs])
-
-RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_1],[*],[])
-RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_1],[enable USART 1])
-
-RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_2],[*],[])
-RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_2],[enable USART 2])
-
-RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_3],[*],[1])
-RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_3],[enable USART 3])
-
-RTEMS_BSPOPTS_SET([STM32F4_ENABLE_UART_4],[*],[])
-RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_UART_4],[enable UART 4])
-
-RTEMS_BSPOPTS_SET([STM32F4_ENABLE_UART_5],[*],[])
-RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_UART_5],[enable UART 5])
-
-RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_6],[*],[])
-RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_6],[enable USART 6])
-
-RTEMS_BSPOPTS_SET([STM32F4_ENABLE_I2C1],[stm32f1*],[1])
-RTEMS_BSPOPTS_SET([STM32F4_ENABLE_I2C1],[*],[])
-RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_I2C1],[enable I2C 1])
-
-RTEMS_BSPOPTS_SET([STM32F4_ENABLE_I2C2],[*],[])
-RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_I2C2],[enable I2C 2])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/tms570/Makefile.am b/c/src/lib/libbsp/arm/tms570/Makefile.am
deleted file mode 100644
index d2564f6683..0000000000
--- a/c/src/lib/libbsp/arm/tms570/Makefile.am
+++ /dev/null
@@ -1,115 +0,0 @@
-##
-#
-# @file makefile.am
-#
-# @brief Makefile of LibBSP for the TMS570 boards.
-#
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/tms570/start/bsp_specs
-
-# ----------------------------
-# ------ Headers
-# ----------------------------
-
-# ----------------------------
-# ------ Data
-# ----------------------------
-
-start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk
-dist_project_lib_DATA += ../../../../../../bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk_intram
-dist_project_lib_DATA += ../../../../../../bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk_sdram
-dist_project_lib_DATA += ../../../../../../bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk_with_loader
-
-# ----------------------------
-# ------ LibBSP
-# ----------------------------
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/bspstart.c
-
-# POM
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570-pom.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/irq/irq.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/console/printk-support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/console/tms570-sci.c
-
-# Clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/tms570/clock/clock.c
-
-# RTC
-
-# GPIO
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/pinmux.c
-
-# Benchmark Timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-cpucounter.c
-
-# Misc
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/cpucounter/cpucounterread.c
-
-# Watchdog
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-if TMS570_USE_HWINIT_STARTUP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570_sys_core.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/fail_notification.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/init_emif_sdram.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/init_esm.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/init_pinmux.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/init_system.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570_selftest.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570_selftest_par_can.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570_selftest_par_mibspi.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570_selftest_par_std.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570_selftest_parity.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570_tcram_tests.c
-
-# Start hooks
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/bspstarthooks-hwinit.c
-else
-# Start hooks
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/bspstarthooks.c
-endif
-
-# ----------------------------
-# ------ Special Rules
-# ----------------------------
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/tms570/headers.am
diff --git a/c/src/lib/libbsp/arm/tms570/configure.ac b/c/src/lib/libbsp/arm/tms570/configure.ac
deleted file mode 100644
index 7b0157c3c3..0000000000
--- a/c/src/lib/libbsp/arm/tms570/configure.ac
+++ /dev/null
@@ -1,57 +0,0 @@
-##
-#
-# @file configure.ac
-#
-# @brief Configure script of LibBSP for the TMS570 board.
-#
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-tms570],[_RTEMS_VERSION],
- [https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([TMS570_SCI_BAUD_RATE],[*],[115200U])
-RTEMS_BSPOPTS_HELP([TMS570_SCI_BAUD_RATE],[baud for UARTs])
-
-RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[1])
-RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],
-[The tms570 console driver can operate in either polled or interrupt mode.])
-
-RTEMS_BSPOPTS_SET([ARM_TMS570LS3137],[*],[0])
-RTEMS_BSPOPTS_HELP([ARM_TMS570LS3137],[target used for identify TMS570LS3137 board])
-
-RTEMS_BSPOPTS_SET([BSP_MINIMUM_TASK_STACK_SIZE],[*],[1024])
-RTEMS_BSPOPTS_HELP([BSP_MINIMUM_TASK_STACK_SIZE],[Suggested minimum task stack
- size in bytes])
-
-RTEMS_BSPOPTS_SET([BSP_START_NEEDS_REGISTER_INITIALIZATION],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_START_NEEDS_REGISTER_INITIALIZATION],
- [The TMS570 needs to have the registers of its CPU initialized
- to avoid CCMR4F errors])
-
-RTEMS_BSPOPTS_SET([TMS570_OSCILLATOR_MAIN],[*],[12000000U])
-RTEMS_BSPOPTS_HELP([TMS570_OSCILLATOR_MAIN],[main oscillator frequency in Hz])
-
-RTEMS_BSPOPTS_SET([TMS570_OSCILLATOR_RTC],[*],[32768U])
-RTEMS_BSPOPTS_HELP([TMS570_OSCILLATOR_RTC],[RTC oscillator frequency in Hz])
-
-RTEMS_BSPOPTS_SET([TMS570_CCLK],[*],[96000000U])
-RTEMS_BSPOPTS_HELP([TMS570_CCLK],[CPU clock in Hz])
-
-RTEMS_BSPOPTS_SET([TMS570_USE_HWINIT_STARTUP],[*],[0])
-RTEMS_BSPOPTS_HELP([TMS570_USE_HWINIT_STARTUP],[Include BSP startup code for TMS570LS3137 which allows to start RTEMS application directly after reset])
-AM_CONDITIONAL(TMS570_USE_HWINIT_STARTUP,test "$TMS570_USE_HWINIT_STARTUP" = "1")
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/xen/Makefile.am b/c/src/lib/libbsp/arm/xen/Makefile.am
deleted file mode 100644
index b414a7bc53..0000000000
--- a/c/src/lib/libbsp/arm/xen/Makefile.am
+++ /dev/null
@@ -1,50 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/xen/start/bsp_specs
-
-noinst_PROGRAMS =
-
-start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xen/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xen/start/bspstarthooks.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xen/start/bspstartmmu.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
-# clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/clock/arm-generic-timer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/arm-generic-timer-aarch32.c
-# cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/irq/arm-gicv2.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xen/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios-init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/arm-pl011.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/xen/headers.am
diff --git a/c/src/lib/libbsp/arm/xen/configure.ac b/c/src/lib/libbsp/arm/xen/configure.ac
deleted file mode 100644
index 86ec0033ef..0000000000
--- a/c/src/lib/libbsp/arm/xen/configure.ac
+++ /dev/null
@@ -1,64 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-xen],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[*qemu],[])
-RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_DATA_CACHE_ENABLED],[enable data cache])
-
-RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[*qemu],[])
-RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_INSTRUCTION_CACHE_ENABLED],[enable instruction cache])
-
-RTEMS_BSPOPTS_SET([ARM_GENERIC_TIMER_USE_VIRTUAL],[*],[1])
-RTEMS_BSPOPTS_HELP([ARM_GENERIC_TIMER_USE_VIRTUAL],[use virtual ARM generic timer])
-
-RTEMS_BSPOPTS_SET([ARM_GENERIC_TIMER_UNMASK_AT_TICK],[*],[1])
-RTEMS_BSPOPTS_HELP([ARM_GENERIC_TIMER_UNMASK_AT_TICK],[unmask the timer in the tick handler, since Xen will mask the virtual timer before injecting the interrupt to the guest])
-
-RTEMS_BSPOPTS_SET([BSP_START_ZIMAGE_HEADER],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_START_ZIMAGE_HEADER],[include zImage boot header])
-
-RTEMS_BSPOPTS_SET([BSP_XEN_RAM_LENGTH],[*],[8M])
-RTEMS_BSPOPTS_HELP([BSP_XEN_RAM_LENGTH],[length of memory area available to the BSP])
-
-RTEMS_BSPOPTS_SET([BSP_XEN_NOCACHE_LENGTH],[*],[1M])
-RTEMS_BSPOPTS_HELP([BSP_XEN_NOCACHE_LENGTH],[length of nocache RAM region])
-
-RTEMS_BSPOPTS_SET([BSP_XEN_RAM_BASE],[*],[0x40000000])
-RTEMS_BSPOPTS_HELP([BSP_XEN_RAM_BASE],[base address of memory area available to the BSP])
-
-RTEMS_BSPOPTS_SET([BSP_XEN_LOAD_OFFSET],[*],[0x8000])
-RTEMS_BSPOPTS_HELP([BSP_XEN_LOAD_OFFSET],[offset of RAM region from memory area base])
-
-RTEMS_BSPOPTS_SET([BSP_XEN_MMU_LENGTH],[*],[16k])
-RTEMS_BSPOPTS_HELP([BSP_XEN_MMU_LENGTH],[length of MMU region])
-
-AC_DEFUN([XEN_LINKCMD],[
-AC_ARG_VAR([$1],[$2; default $3])dnl
-[$1]=[$]{[$1]:-[$3]}
-])
-
-XEN_LINKCMD([BSP_XEN_RAM_BASE],[normal RAM region origin],[${BSP_XEN_RAM_BASE}])
-XEN_LINKCMD([BSP_XEN_RAM_LENGTH],[normal RAM region length],[${BSP_XEN_RAM_LENGTH}])
-XEN_LINKCMD([BSP_XEN_LOAD_OFFSET],[entry point of guest],[${BSP_XEN_LOAD_OFFSET}])
-XEN_LINKCMD([BSP_XEN_MMU_LENGTH],[MMU region length],[${BSP_XEN_MMU_LENGTH}])
-XEN_LINKCMD([BSP_XEN_NOCACHE_LENGTH],[length of nocache RAM region],[${BSP_XEN_NOCACHE_LENGTH}])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([
-Makefile
-linkcmds:../../../../../../bsps/arm/xen/start/linkcmds.in])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am b/c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am
deleted file mode 100644
index f2db456170..0000000000
--- a/c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am
+++ /dev/null
@@ -1,93 +0,0 @@
-##
-#
-# @file
-#
-# @brief Makefile of LibBSP for the Xilinx Zynq platform.
-#
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/xilinx-zynq/start/bsp_specs
-
-###############################################################################
-# Header #
-###############################################################################
-
-###############################################################################
-# Data #
-###############################################################################
-
-start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-###############################################################################
-# LibBSP #
-###############################################################################
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynq/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynq/start/bspstart.c
-if HAS_SMP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/arm-a9mpcore-smp.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynq/start/bspsmp.c
-endif
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/irq/arm-gicv2.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynq/console/console-config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynq/console/console-init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynq/console/debug-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/zynq-uart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/zynq-uart-polled.c
-
-# Clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-a9mpcore.c
-
-# I2C
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynq/i2c/cadence-i2c.c
-
-# SPI
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/spi/cadence-spi.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/spi/xilinx-axi-spi.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-l2c-310.c
-
-# Start hooks
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynq/start/bspstarthooks.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynq/start/bspstartmmu.c
-
-###############################################################################
-# Special Rules #
-###############################################################################
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/xilinx-zynq/headers.am
diff --git a/c/src/lib/libbsp/arm/xilinx-zynq/configure.ac b/c/src/lib/libbsp/arm/xilinx-zynq/configure.ac
deleted file mode 100644
index 51e4a121e0..0000000000
--- a/c/src/lib/libbsp/arm/xilinx-zynq/configure.ac
+++ /dev/null
@@ -1,109 +0,0 @@
-##
-#
-# @file
-#
-# @brief Configure script of LibBSP for the Xilinx Zynq platform.
-#
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-xilinx-zynq-a9],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[])
-RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
-
-RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[*qemu],[])
-RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_DATA_CACHE_ENABLED],[enable data cache])
-
-RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[*qemu],[])
-RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_INSTRUCTION_CACHE_ENABLED],[enable instruction cache])
-
-RTEMS_BSPOPTS_SET([BSP_ARM_A9MPCORE_PERIPHCLK],[xilinx_zynq_zc702*],[333333333U])
-RTEMS_BSPOPTS_SET([BSP_ARM_A9MPCORE_PERIPHCLK],[xilinx_zynq_zedboard*],[666666667U])
-RTEMS_BSPOPTS_SET([BSP_ARM_A9MPCORE_PERIPHCLK],[*],[100000000U])
-RTEMS_BSPOPTS_HELP([BSP_ARM_A9MPCORE_PERIPHCLK],[ARM Cortex-A9 MPCore PERIPHCLK clock frequency in Hz])
-
-RTEMS_BSPOPTS_SET([ZYNQ_CLOCK_UART],[xilinx_zynq_zc702*],[50000000UL])
-RTEMS_BSPOPTS_SET([ZYNQ_CLOCK_UART],[xilinx_zynq_zedboard*],[50000000UL])
-RTEMS_BSPOPTS_SET([ZYNQ_CLOCK_UART],[*],[50000000UL])
-RTEMS_BSPOPTS_HELP([ZYNQ_CLOCK_UART],[Zynq UART clock frequency in Hz])
-
-RTEMS_BSPOPTS_SET([ZYNQ_CLOCK_CPU_1X],[xilinx_zynq_zc702*],[111111111U])
-RTEMS_BSPOPTS_SET([ZYNQ_CLOCK_CPU_1X],[xilinx_zynq_zedboard*],[111111111U])
-RTEMS_BSPOPTS_SET([ZYNQ_CLOCK_CPU_1X],[*],[111111111U])
-RTEMS_BSPOPTS_HELP([ZYNQ_CLOCK_CPU_1X],[Zynq cpu_1x clock frequency in Hz])
-
-USE_FAST_IDLE=0
-AS_IF([test "x${RTEMS_BSP}" == xxilinx_zynq_a9_qemu], [USE_FAST_IDLE=1])
-
-RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_FAST_IDLE],[*qemu],[${USE_FAST_IDLE}])
-RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_FAST_IDLE],
-[This sets a mode where the time runs as fast as possible when a clock ISR
-occurs while the IDLE thread is executing. This can significantly reduce
-simulation times.])
-
-RTEMS_BSPOPTS_SET([BSP_CONSOLE_MINOR],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_CONSOLE_MINOR],[minor number of console device])
-
-RTEMS_BSPOPTS_SET([ZYNQ_CONSOLE_USE_INTERRUPTS],[*],[1])
-RTEMS_BSPOPTS_HELP([ZYNQ_CONSOLE_USE_INTERRUPTS],[use interrupt driven mode for console devices (used by default)])
-
-#
-# Zynq Memory map can be controlled from the configure command line. Use ...
-#
-# ..../configure --target=arm-rtems4.11 ... BSP_ZYNQ_RAM_LENGTH=256M
-#
-RTEMS_BSPOPTS_SET([BSP_ZYNQ_RAM_LENGTH],[xilinx_zynq_a9_qemu],[256M])
-RTEMS_BSPOPTS_SET([BSP_ZYNQ_RAM_LENGTH],[xilinx_zynq_zc702],[1024M])
-RTEMS_BSPOPTS_SET([BSP_ZYNQ_RAM_LENGTH],[xilinx_zynq_zc706],[1024M])
-RTEMS_BSPOPTS_SET([BSP_ZYNQ_RAM_LENGTH],[xilinx_zynq_zedboard],[512M])
-RTEMS_BSPOPTS_SET([BSP_ZYNQ_RAM_LENGTH],[*],[256M])
-RTEMS_BSPOPTS_HELP([BSP_ZYNQ_RAM_LENGTH],[override a BSP's default RAM length])
-
-RTEMS_BSPOPTS_SET([ARM_MMU_USE_SMALL_PAGES],[*],[0])
-RTEMS_BSPOPTS_HELP([ARM_MMU_USE_SMALL_PAGES],[use MMU with small pages (4KiB)])
-
-RTEMS_BSPOPTS_SET([BSP_ZYNQ_NOCACHE_LENGTH],[*],[1M])
-RTEMS_BSPOPTS_HELP([BSP_ZYNQ_NOCACHE_LENGTH],[length of nocache RAM region])
-
-ZYNQ_RAM_ORIGIN="0x00100000"
-ZYNQ_RAM_MMU_LENGTH="16k"
-AS_IF([test "x${ARM_MMU_USE_SMALL_PAGES}" == x1], [ZYNQ_RAM_MMU_LENGTH="(16k+4M)"])
-ZYNQ_RAM_INT_0_ORIGIN="0x00000000"
-ZYNQ_RAM_INT_0_LENGTH="64k + 64k + 64k"
-ZYNQ_RAM_INT_1_ORIGIN="0xFFFF0000"
-ZYNQ_RAM_INT_1_LENGTH="64k - 512"
-
-AS_IF([test "x${RTEMS_BSP}" == xxilinx_zynq_zc706],
- [ZYNQ_RAM_ORIGIN="0x00400000"])
-
-AC_DEFUN([ZYNQ_LINKCMD],[
-AC_ARG_VAR([$1],[$2; default $3])dnl
-[$1]=[$]{[$1]:-[$3]}
-])
-
-ZYNQ_LINKCMD([ZYNQ_RAM_ORIGIN],[normal RAM region origin],[${ZYNQ_RAM_ORIGIN}])
-ZYNQ_LINKCMD([BSP_ZYNQ_RAM_LENGTH],[normal RAM region length],[${BSP_ZYNQ_RAM_LENGTH}])
-ZYNQ_LINKCMD([ZYNQ_RAM_MMU_LENGTH],[MMU region length],[${ZYNQ_RAM_MMU_LENGTH}])
-ZYNQ_LINKCMD([ZYNQ_RAM_NOCACHE_LENGTH],[length of nocache RAM region],[${BSP_ZYNQ_NOCACHE_LENGTH}])
-ZYNQ_LINKCMD([ZYNQ_RAM_INT_0_ORIGIN],[internal 0 RAM region origin],[${ZYNQ_RAM_INT_0_ORIGIN}])
-ZYNQ_LINKCMD([ZYNQ_RAM_INT_0_LENGTH],[internal 0 RAM region length],[${ZYNQ_RAM_INT_0_LENGTH}])
-ZYNQ_LINKCMD([ZYNQ_RAM_INT_1_ORIGIN],[internal 1 RAM region origin],[${ZYNQ_RAM_INT_1_ORIGIN}])
-ZYNQ_LINKCMD([ZYNQ_RAM_INT_1_LENGTH],[internal 1 RAM region length],[${ZYNQ_RAM_INT_1_LENGTH}])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_CONFIG_FILES([
-Makefile
-linkcmds:../../../../../../bsps/arm/xilinx-zynq/start/linkcmds.in])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/xilinx-zynqmp/Makefile.am b/c/src/lib/libbsp/arm/xilinx-zynqmp/Makefile.am
deleted file mode 100644
index e4be0567ab..0000000000
--- a/c/src/lib/libbsp/arm/xilinx-zynqmp/Makefile.am
+++ /dev/null
@@ -1,89 +0,0 @@
-##
-#
-# @file
-#
-# @brief Makefile of LibBSP for the Xilinx Zynq UltraScale+ MPSoC platform.
-#
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/arm/xilinx-zynqmp/start/bsp_specs
-
-###############################################################################
-# Header #
-###############################################################################
-
-###############################################################################
-# Data #
-###############################################################################
-
-start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-###############################################################################
-# LibBSP #
-###############################################################################
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynqmp/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynqmp/start/bspstart.c
-if HAS_SMP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/arm-a9mpcore-smp.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynqmp/start/bspsmp.c
-endif
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/irq/arm-gicv2.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynqmp/console/console-config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/zynq-uart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/zynq-uart-polled.c
-
-# Clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/clock/arm-generic-timer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/arm-generic-timer-aarch32.c
-
-# SPI
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/spi/cadence-spi.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/spi/xilinx-axi-spi.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
-
-# Start hooks
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynqmp/start/bspstarthooks.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynqmp/start/bspstartmmu.c
-
-###############################################################################
-# Special Rules #
-###############################################################################
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/arm/xilinx-zynqmp/headers.am
diff --git a/c/src/lib/libbsp/arm/xilinx-zynqmp/configure.ac b/c/src/lib/libbsp/arm/xilinx-zynqmp/configure.ac
deleted file mode 100644
index 3a3290e9fb..0000000000
--- a/c/src/lib/libbsp/arm/xilinx-zynqmp/configure.ac
+++ /dev/null
@@ -1,94 +0,0 @@
-##
-#
-# @file
-#
-# @brief Configure script of LibBSP for the Xilinx Zynq UltraScale+ MPSoC platform.
-#
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-arm-xilinx-zynqmp-a53],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[])
-RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
-
-RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[*qemu],[])
-RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_DATA_CACHE_ENABLED],[enable data cache])
-
-RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[*qemu],[])
-RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_INSTRUCTION_CACHE_ENABLED],[enable instruction cache])
-
-RTEMS_BSPOPTS_SET([ARM_GENERIC_TIMER_USE_VIRTUAL],[*],[])
-RTEMS_BSPOPTS_HELP([ARM_GENERIC_TIMER_USE_VIRTUAL],[Use virtual ARM generic timer])
-
-RTEMS_BSPOPTS_SET([ARM_GENERIC_TIMER_FREQ],[*],[])
-RTEMS_BSPOPTS_HELP([ARM_GENERIC_TIMER_FREQ],[ARM generic timer frequency in Hz])
-
-RTEMS_BSPOPTS_SET([ZYNQ_CLOCK_UART],[xilinx_zynqmp_ultra96*],[100000000UL])
-RTEMS_BSPOPTS_SET([ZYNQ_CLOCK_UART],[*],[100000000UL])
-RTEMS_BSPOPTS_HELP([ZYNQ_CLOCK_UART],[Zynq UART clock frequency in Hz])
-
-USE_FAST_IDLE=0
-AS_IF([test "x${RTEMS_BSP}" == xxilinx_zynqmp_a53_qemu], [USE_FAST_IDLE=1])
-
-RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_FAST_IDLE],[*qemu],[${USE_FAST_IDLE}])
-RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_FAST_IDLE],
-[This sets a mode where the time runs as fast as possible when a clock ISR
-occurs while the IDLE thread is executing. This can significantly reduce
-simulation times.])
-
-RTEMS_BSPOPTS_SET([BSP_CONSOLE_MINOR],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_CONSOLE_MINOR],[minor number of console device])
-
-RTEMS_BSPOPTS_SET([ZYNQ_CONSOLE_USE_INTERRUPTS],[*],[1])
-RTEMS_BSPOPTS_HELP([ZYNQ_CONSOLE_USE_INTERRUPTS],[use interrupt driven mode for console devices (used by default)])
-
-#
-# Zynq Memory map can be controlled from the configure command line. Use ...
-#
-# ..../configure --target=arm-rtems4.11 ... BSP_ZYNQMP_RAM_LENGTH=256M
-#
-RTEMS_BSPOPTS_SET([BSP_ZYNQMP_RAM_LENGTH],[xilinx_zynqmp_ultra96],[2048M])
-RTEMS_BSPOPTS_SET([BSP_ZYNQMP_RAM_LENGTH],[*],[256M])
-RTEMS_BSPOPTS_HELP([BSP_ZYNQMP_RAM_LENGTH],[override a BSP's default RAM length])
-
-RTEMS_BSPOPTS_SET([BSP_ZYNQMP_NOCACHE_LENGTH],[*],[1M])
-RTEMS_BSPOPTS_HELP([BSP_ZYNQMP_NOCACHE_LENGTH],[length of nocache RAM region])
-
-ZYNQMP_RAM_ORIGIN="0x00100000"
-ZYNQMP_RAM_MMU_LENGTH="16k"
-ZYNQMP_RAM_INT_0_ORIGIN="0x00000000"
-ZYNQMP_RAM_INT_0_LENGTH="64k + 64k + 64k"
-ZYNQMP_RAM_INT_1_ORIGIN="0xFFFF0000"
-ZYNQMP_RAM_INT_1_LENGTH="64k - 512"
-
-AC_DEFUN([ZYNQMP_LINKCMD],[
-AC_ARG_VAR([$1],[$2; default $3])dnl
-[$1]=[$]{[$1]:-[$3]}
-])
-
-ZYNQMP_LINKCMD([ZYNQMP_RAM_ORIGIN],[normal RAM region origin],[${ZYNQMP_RAM_ORIGIN}])
-ZYNQMP_LINKCMD([BSP_ZYNQMP_RAM_LENGTH],[normal RAM region length],[${BSP_ZYNQMP_RAM_LENGTH}])
-ZYNQMP_LINKCMD([ZYNQMP_RAM_MMU_LENGTH],[MMU region length],[${ZYNQMP_RAM_MMU_LENGTH}])
-ZYNQMP_LINKCMD([ZYNQMP_RAM_NOCACHE_LENGTH],[length of nocache RAM region],[${BSP_ZYNQMP_NOCACHE_LENGTH}])
-ZYNQMP_LINKCMD([ZYNQMP_RAM_INT_0_ORIGIN],[internal 0 RAM region origin],[${ZYNQMP_RAM_INT_0_ORIGIN}])
-ZYNQMP_LINKCMD([ZYNQMP_RAM_INT_0_LENGTH],[internal 0 RAM region length],[${ZYNQMP_RAM_INT_0_LENGTH}])
-ZYNQMP_LINKCMD([ZYNQMP_RAM_INT_1_ORIGIN],[internal 1 RAM region origin],[${ZYNQMP_RAM_INT_1_ORIGIN}])
-ZYNQMP_LINKCMD([ZYNQMP_RAM_INT_1_LENGTH],[internal 1 RAM region length],[${ZYNQMP_RAM_INT_1_LENGTH}])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_CONFIG_FILES([
-Makefile
-linkcmds:../../../../../../bsps/arm/xilinx-zynqmp/start/linkcmds.in])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/bfin/Makefile.am b/c/src/lib/libbsp/bfin/Makefile.am
deleted file mode 100644
index d36420401f..0000000000
--- a/c/src/lib/libbsp/bfin/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-# Descend into the @RTEMS_BSP_FAMILY@ directory
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(srcdir)/../../../../../bsps/bfin/headers.am
diff --git a/c/src/lib/libbsp/bfin/TLL6527M/Makefile.am b/c/src/lib/libbsp/bfin/TLL6527M/Makefile.am
deleted file mode 100644
index 2a9cfeb98e..0000000000
--- a/c/src/lib/libbsp/bfin/TLL6527M/Makefile.am
+++ /dev/null
@@ -1,36 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/bfin/TLL6527M/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/bfin/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES = ../../../../../../bsps/bfin/TLL6527M/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/TLL6527M/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/TLL6527M/start/interrupt.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/bfin/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/bfin/TLL6527M/headers.am
diff --git a/c/src/lib/libbsp/bfin/TLL6527M/configure.ac b/c/src/lib/libbsp/bfin/TLL6527M/configure.ac
deleted file mode 100644
index 5ce99c695c..0000000000
--- a/c/src/lib/libbsp/bfin/TLL6527M/configure.ac
+++ /dev/null
@@ -1,44 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-bfin-TLL6527M],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-## bsp-specific options
-RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[1])
-RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],
-[The console driver can operate in either polled or interrupt mode.])
-
-RTEMS_BSPOPTS_SET([UART_USE_DMA],[*],[1])
-RTEMS_BSPOPTS_HELP([UART_USE_DMA],
-[The uart driver can operate in dma mode with interrupts.
-Set to 1 if DMA operation is required ])
-
-RTEMS_BSPOPTS_SET([CONSOLE_BAUDRATE],[*],[9600])
-RTEMS_BSPOPTS_HELP([CONSOLE_BAUDRATE],
-[The baudrate of the console uart.])
-
-RTEMS_BSPOPTS_SET([INTERRUPT_USE_TABLE],[*],[1])
-RTEMS_BSPOPTS_HELP([INTERRUPT_USE_TABLE],
-[Select if INTERRUPT use table or link list])
-
-
-
-RTEMS_BSPOPTS_SET([BFIN_ON_SKYEYE],[*],[0])
-RTEMS_BSPOPTS_HELP([BFIN_ON_SKYEYE],
-[(BSP--Skyeye)
- If defined, disable features which are not supported on Skyeye.])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/bfin/acinclude.m4 b/c/src/lib/libbsp/bfin/acinclude.m4
deleted file mode 100644
index ab6082ef47..0000000000
--- a/c/src/lib/libbsp/bfin/acinclude.m4
+++ /dev/null
@@ -1,14 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- TLL6527M )
- AC_CONFIG_SUBDIRS([TLL6527M]);;
- bf537Stamp )
- AC_CONFIG_SUBDIRS([bf537Stamp]);;
- eZKit533 )
- AC_CONFIG_SUBDIRS([eZKit533]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am b/c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am
deleted file mode 100644
index 7bd6ca6d35..0000000000
--- a/c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am
+++ /dev/null
@@ -1,37 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/bfin/bf537Stamp/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/bfin/bf537Stamp/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/bf537Stamp/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/bf537Stamp/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/interrupt.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/bfin/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/bfin/bf537Stamp/headers.am
diff --git a/c/src/lib/libbsp/bfin/bf537Stamp/configure.ac b/c/src/lib/libbsp/bfin/bf537Stamp/configure.ac
deleted file mode 100644
index 708903b8dd..0000000000
--- a/c/src/lib/libbsp/bfin/bf537Stamp/configure.ac
+++ /dev/null
@@ -1,30 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-bfin-bf537Stamp],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-## bsp-specific options
-RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0])
-RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],
-[The console driver can operate in either polled or interrupt mode.])
-
-RTEMS_BSPOPTS_SET([BFIN_ON_SKYEYE],[*],[0])
-RTEMS_BSPOPTS_HELP([BFIN_ON_SKYEYE],
-[(BSP--Skyeye)
- If defined, disable features which are not supported on Skyeye.])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/bfin/configure.ac b/c/src/lib/libbsp/bfin/configure.ac
deleted file mode 100644
index 6afa9a5677..0000000000
--- a/c/src/lib/libbsp/bfin/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-bfin],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-RTEMS_PROJECT_ROOT
-
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/bfin/eZKit533/Makefile.am b/c/src/lib/libbsp/bfin/eZKit533/Makefile.am
deleted file mode 100644
index 71dd48696c..0000000000
--- a/c/src/lib/libbsp/bfin/eZKit533/Makefile.am
+++ /dev/null
@@ -1,37 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/bfin/eZKit533/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/bfin/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/eZKit533/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/eZKit533/console/console-io.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/interrupt.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/bfin/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/bfin/eZKit533/headers.am
diff --git a/c/src/lib/libbsp/bfin/eZKit533/configure.ac b/c/src/lib/libbsp/bfin/eZKit533/configure.ac
deleted file mode 100644
index 6d915bc5e5..0000000000
--- a/c/src/lib/libbsp/bfin/eZKit533/configure.ac
+++ /dev/null
@@ -1,29 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-bfin-eZKit533],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-## bsp-specific options
-RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0])
-RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],
-[The console driver can operate in either polled or interrupt mode.])
-
-RTEMS_BSPOPTS_SET([BFIN_ON_SKYEYE],[*],[0])
-RTEMS_BSPOPTS_HELP([BFIN_ON_SKYEYE],
-[(BSP--Skyeye)
- If defined, disable features which are not supported on Skyeye.])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/bsp.am b/c/src/lib/libbsp/bsp.am
deleted file mode 100644
index cd700a07e0..0000000000
--- a/c/src/lib/libbsp/bsp.am
+++ /dev/null
@@ -1,5 +0,0 @@
-## Explicitly set CPPASCOMPILE
-# to be able to use it for compilation of *.S even if automake
-# doesn't generate this variable. (automake-1.8.2+ only generates
-# this rule if *_SOURCES contain *.S.)
-CPPASCOMPILE = $(CCAS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
diff --git a/c/src/lib/libbsp/i386/Makefile.am b/c/src/lib/libbsp/i386/Makefile.am
deleted file mode 100644
index 093975a90b..0000000000
--- a/c/src/lib/libbsp/i386/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-## Descend into the @RTEMS_BSP_FAMILY@ directory
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-
-# shared/comm
-
-
-# shared/irq
-
-# shared/pci
-
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(srcdir)/../../../../../bsps/i386/headers.am
diff --git a/c/src/lib/libbsp/i386/acinclude.m4 b/c/src/lib/libbsp/i386/acinclude.m4
deleted file mode 100644
index a2f2384d45..0000000000
--- a/c/src/lib/libbsp/i386/acinclude.m4
+++ /dev/null
@@ -1,10 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- pc386 )
- AC_CONFIG_SUBDIRS([pc386]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/i386/configure.ac b/c/src/lib/libbsp/i386/configure.ac
deleted file mode 100644
index d5baa82f77..0000000000
--- a/c/src/lib/libbsp/i386/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-i386],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-RTEMS_PROJECT_ROOT
-
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/i386/pc386/Makefile.am b/c/src/lib/libbsp/i386/pc386/Makefile.am
deleted file mode 100644
index e1def64ce8..0000000000
--- a/c/src/lib/libbsp/i386/pc386/Makefile.am
+++ /dev/null
@@ -1,143 +0,0 @@
-##
-##
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-# FIXME: We must not include *.cfg
-include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
-
-CLEANFILES =
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/i386/pc386/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-start.$(OBJEXT): ../../../../../../bsps/i386/pc386/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/i386/pc386/clock/ckinit.c
-librtemsbsp_a_SOURCES +=../../../../../../bsps/i386/pc386/clock/todcfg.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
-
-if RTEMS_VGA
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/inch.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/outch.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/defkeymap.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/keyboard.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/pc_keyb.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/ps2_mouse.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/vgainit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/vt.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/videoAsm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/kbd_parser.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/vgacons.c
-if USE_VGA
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/fb_vga.c
-endif
-if USE_CIRRUS_GD5446
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/fb_cirrus.c
-endif
-if USE_VBE_RM
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/fb_vesa_rm.c
-endif
-endif
-
-# console (non-graphics support)
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/serial_mouse_config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/uart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/tty_drv.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/realmode_int.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/console_select.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/console_control.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/conscfg.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/printk_support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/exar17d15x.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/rtd316.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/uart_bus_pci.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/gdb_select.c
-
-# gdb
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/i386-stub.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/i386-stub-glue.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/gdb_glue.c
-
-# gnat
-
-# pci
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/pci/pcibios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/pci/pci_io.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/pci/pci_bus_count.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/pci/pci_find_device.c
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/bsp_fatal_halt.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/bspgetworkarea.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/bspidle.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/bspcmdline.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/irq/idt.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/irq/irq.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/irq/irq_init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/irq/elcr.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/ldsegs.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/irq/irq_asm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/btimer/btimer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/btimer/timerisr.S
-
-if HAS_IDE
-# ide
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/ata/ide.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/ata/idecfg.c
-endif
-
-if HAS_SMP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/smp-imps.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/bspsmp.c
-
-project_lib_DATA += appstart.$(OBJEXT)
-appcpustart.$(OBJEXT): ../../../../../../bsps/i386/pc386/start/startAP.S
- $(CPPASCOMPILE) $(AM_CPPFLAGS) -o $@ -c $<
-
-appstart.$(OBJEXT): appcpustart.$(OBJEXT)
- $(LD) -N \
- -Ttext 0x70000 -e app_processor_start -nostdlib \
- -o appstart_tmp.exe $<
- $(OBJCOPY) -O binary appstart_tmp.exe appstart.bin
- $(OBJCOPY) -I binary -O elf32-i386 -B i386 appstart.bin $@
-endif
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/cpuModel.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/displayCpu.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/idtr.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/page.c
-
-if HAS_SMP
-librtemsbsp_a_LIBADD = appstart.$(OBJEXT)
-endif
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(top_srcdir)/../../../../automake/subdirs.am
-include $(srcdir)/../../../../../../bsps/i386/pc386/headers.am
diff --git a/c/src/lib/libbsp/i386/pc386/configure.ac b/c/src/lib/libbsp/i386/pc386/configure.ac
deleted file mode 100644
index d751e5ee8b..0000000000
--- a/c/src/lib/libbsp/i386/pc386/configure.ac
+++ /dev/null
@@ -1,145 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-i386-pc386],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-RTEMS_CHECK_TOOL(OBJCOPY,objcopy,:)
-
-
-RTEMS_BSPOPTS_SET([BSP_ENABLE_VGA],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_ENABLE_VGA],
-[Set if the VGA and keyboard console support is enabled.])
-AM_CONDITIONAL(RTEMS_VGA,[test "$BSP_ENABLE_VGA" = "1"])
-
-RTEMS_BSPOPTS_SET([BSP_ENABLE_COM1_COM4],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_ENABLE_COM1_COM4],
-[Set if COM1..COM4 support is enabled.])
-
-RTEMS_BSPOPTS_SET([BSP_ENABLE_IDE],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_ENABLE_IDE],
-[Set if IDE support is enabled.])
-AM_CONDITIONAL(HAS_IDE,[test "$BSP_ENABLE_IDE" = "1"])
-
-RTEMS_BSPOPTS_SET([USE_COM1_AS_CONSOLE],[*],[0])
-RTEMS_BSPOPTS_HELP([USE_COM1_AS_CONSOLE],
-[Determines, whether the console will be associated with the standard
- VGA display or with the COM1 serial port. Currently only the VGA
- display and COM1 support printk.])
-
-RTEMS_BSPOPTS_SET([IDE_USE_PRIMARY_INTERFACE],[*],[1])
-RTEMS_BSPOPTS_HELP([IDE_USE_PRIMARY_INTERFACE],
-[Determines, whether RTEMS will try to use the primary IDE interface.
- Disable it, if:
- - you have no primary IDE interface
- - or you have no disk attached to this interface
- - or you do not want to access disks attached to this interface])
-
-RTEMS_BSPOPTS_SET([IDE_USE_SECONDARY_INTERFACE],[*],[0])
-RTEMS_BSPOPTS_HELP([IDE_USE_SECONDARY_INTERFACE],
-[Determines, whether RTEMS will try to use the secondary IDE interface.
- Enable it, if:
- - you have a secondary IDE interface
- - and you have at least one disk attached to this interface
- - and you do want to access disks attached to this interface])
-
-RTEMS_BSPOPTS_SET([BSP_VIDEO_80x50],[*],[0])
-RTEMS_BSPOPTS_HELP([BSP_VIDEO_80x50],
-[If defined, set the VGA display to 80x50.])
-
-RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_TSC],[*],[0])
-RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_TSC],
-[If enabled, the clock driver will use the TSC register available
- with Pentium-class CPUs to report close to nanosecond-accuracy
- clock times.
- Enable it, if:
- - you have nanosecond timing enabled (you do NOT have
- USE_TICKS_FOR_CPU_USAGE_STATISTICS enabled)
- - you do NOT have CLOCK_DRIVER_USE_8254 enabled (use one, the other,
- or neither)
- - you have a Pentium which supports TSC (all Intels, and probably
- all or most clones)
- - you do not have a variable-speed CPU clock. Note that some
- motherboard BIOS will automatically vary clock speed for thermal
- control. Note also, however, that really new Pentium-class chips
- from Intel and AMD will maintain a constant-rate TSC regardless.
-])
-
-#define CLOCK_DRIVER_USE_8254 $CLOCK_DRIVER_USE_8254
-RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_8254],[*],[0])
-RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_8254],
-[If enabled, the clock driver will use the good old 8254 chip
- to report microsecond-accuracy clock times.
- Enable it, if:
- - you have nanosecond timing enabled (you do NOT have
- USE_TICKS_FOR_CPU_USAGE_STATISTICS enabled)
- - you do NOT have CLOCK_DRIVER_USE_TSC enabled (use one, the other,
- or neither)
- - you do not mind adding roughly 5 microseconds to each context switch.
-])
-
-if test "${USE_CIRRUS_GD5446}" != "1" -a "${USE_VGA}" != "1"; then
- USE_VBE_RM=1;
- if test -z "${NUM_APP_DRV_GDT_DESCRIPTORS}"; then
- NUM_APP_DRV_GDT_DESCRIPTORS=2 ;
- else
- NUM_APP_DRV_GDT_DESCRIPTORS+=2 ;
- fi
-fi
-RTEMS_BSPOPTS_SET([NUM_APP_DRV_GDT_DESCRIPTORS],[*],[0])
-RTEMS_BSPOPTS_HELP([NUM_APP_DRV_GDT_DESCRIPTORS],
-[Defines how many descriptors in GDT may be allocated for application or
- driver usage.])
-
-RTEMS_BSPOPTS_SET([USE_CIRRUS_GD5446],[*],[0])
-RTEMS_BSPOPTS_HELP([USE_CIRRUS_GD5446],
-[If defined, enables use of the Cirrus GD5446 controller rather than the
- controller utilizing Vesa Bios Extensions - real mode interface.
-
- NOTE: This has only been tested on Qemu.])
-AM_CONDITIONAL(USE_CIRRUS_GD5446,test "$USE_CIRRUS_GD5446" = "1")
-
-RTEMS_BSPOPTS_SET([USE_VGA],[*],[0])
-RTEMS_BSPOPTS_HELP([USE_VGA],
-[If defined, enables use of the very basic VGA driver for framebuffer support
- rather than the controller utilizing Vesa Bios Extensions - real mode
- interface.])
-AM_CONDITIONAL(USE_VGA,test "$USE_VGA" = "1")
-
-RTEMS_BSPOPTS_SET([USE_VBE_RM],[*],[0])
-RTEMS_BSPOPTS_HELP([USE_VBE_RM],
-[Defined by default. Enables use of the Vesa Bios Extensions - real mode
- interface, which enables graphical mode and introduce it upon bootup.])
-AM_CONDITIONAL(USE_VBE_RM,test "$USE_VBE_RM" = "1")
-
-if test X${CLOCK_DRIVER_USE_TSC} = X1 -a X${CLOCK_DRIVER_USE_8254} = X1 ; then
- AC_MSG_ERROR([pc386 both TSC and 8254 specified for clock driver])
-fi
-
-RTEMS_BSPOPTS_SET([BSP_GDB_STUB],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_GDB_STUB],
-[Defined by default. Enables use of the GDB stub for debugging via a
- serial port.])
-AM_CONDITIONAL(BSP_GDB_STUB, test "$BSP_GDB_STUB" = "1")
-
-## if this is an i386, does gas have good code16 support?
-RTEMS_I386_GAS_CODE16
-AM_CONDITIONAL(RTEMS_GAS_CODE16,[test "$RTEMS_GAS_CODE16" = "yes"])
-
-
-AC_SUBST([RTEMS_ROOT],[${rtems_updir}'$(top_builddir)'])
-
-AC_SUBST(RTEMS_BSP)
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/lm32/Makefile.am b/c/src/lib/libbsp/lm32/Makefile.am
deleted file mode 100644
index 887b9252b9..0000000000
--- a/c/src/lib/libbsp/lm32/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-# Descend into the @RTEMS_BSP_FAMILY@ directory
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(srcdir)/../../../../../bsps/lm32/headers.am
diff --git a/c/src/lib/libbsp/lm32/acinclude.m4 b/c/src/lib/libbsp/lm32/acinclude.m4
deleted file mode 100644
index 3d29d7d226..0000000000
--- a/c/src/lib/libbsp/lm32/acinclude.m4
+++ /dev/null
@@ -1,12 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- lm32_evr )
- AC_CONFIG_SUBDIRS([lm32_evr]);;
- milkymist )
- AC_CONFIG_SUBDIRS([milkymist]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/lm32/configure.ac b/c/src/lib/libbsp/lm32/configure.ac
deleted file mode 100644
index bb98923429..0000000000
--- a/c/src/lib/libbsp/lm32/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-lm32],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-RTEMS_PROJECT_ROOT
-
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/lm32/lm32_evr/Makefile.am b/c/src/lib/libbsp/lm32/lm32_evr/Makefile.am
deleted file mode 100644
index 4d5f197d09..0000000000
--- a/c/src/lib/libbsp/lm32/lm32_evr/Makefile.am
+++ /dev/null
@@ -1,44 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/lm32/lm32_evr/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/lm32/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-librtemsbsp_a_LIBADD =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/start/bspreset.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/lm32/shared/clock/ckinit.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/console/uart.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/btimer/btimer.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/lm32/lm32_evr/headers.am
diff --git a/c/src/lib/libbsp/lm32/lm32_evr/configure.ac b/c/src/lib/libbsp/lm32/lm32_evr/configure.ac
deleted file mode 100644
index 5fa122e0d0..0000000000
--- a/c/src/lib/libbsp/lm32/lm32_evr/configure.ac
+++ /dev/null
@@ -1,32 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-lm32-lm32_evr],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-
-RTEMS_BSPOPTS_SET([LM32_ON_SIMULATOR],[lm32_evr_gdbsim],[1])
-RTEMS_BSPOPTS_SET([LM32_ON_SIMULATOR],[*],[])
-RTEMS_BSPOPTS_HELP([LM32_ON_SIMULATOR],
-[If defined, this indicates the BSP is being built to run on the lm32
- simulator in GDB. This enables fast idle support which speeds up the
- clock ticks while the idle task is running so time spent in the idle
- task is minimized. This significantly reduces the wall time required
- to execute the RTEMS test suites. It also enables a special exit and
- alternate printk support.])
-AM_CONDITIONAL(LM32_ON_SIMULATOR,test x"$LM32_ON_SIMULATOR" = "x1")
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/lm32/milkymist/Makefile.am b/c/src/lib/libbsp/lm32/milkymist/Makefile.am
deleted file mode 100644
index 479a0d531b..0000000000
--- a/c/src/lib/libbsp/lm32/milkymist/Makefile.am
+++ /dev/null
@@ -1,91 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/lm32/milkymist/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/lm32/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-librtemsbsp_a_LIBADD =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/milkymist/start/bspclean.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/irq/irq.c
-
-# clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_clock/ckinit.c
-
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_console/uart.c
-
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_timer/timer.c
-
-# framebuffer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_framebuffer/framebuffer.c
-
-# GPIO
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_gpio/gpio.c
-
-# buttons
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_buttons/buttons.c
-
-# ac97
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_ac97/ac97.c
-
-# usbinput
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_usbinput/usbinput.c
-
-# PFPU
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_pfpu/pfpu.c
-
-# TMU
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_tmu/tmu.c
-
-# memory card
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_memcard/memcard.c
-
-# flash
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_flash/flash.c
-
-# DMX
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_dmx/dmx.c
-
-# MIDI
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_midi/midi.c
-
-# IR
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_ir/ir.c
-
-# video input
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_video/video.c
-
-# versions
-librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/milkymist_versions/versions.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/lm32/milkymist/headers.am
diff --git a/c/src/lib/libbsp/lm32/milkymist/configure.ac b/c/src/lib/libbsp/lm32/milkymist/configure.ac
deleted file mode 100644
index 6f51def383..0000000000
--- a/c/src/lib/libbsp/lm32/milkymist/configure.ac
+++ /dev/null
@@ -1,31 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-lm32-milkymist],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([LM32_ON_SIMULATOR],[*],[])
-RTEMS_BSPOPTS_HELP([LM32_ON_SIMULATOR],
-[If defined, this indicates the BSP is being built to run on the lm32
- simulator in GDB. This enables fast idle support which speeds up the
- clock ticks while the idle task is running so time spent in the idle
- task is minimized. This significantly reduces the wall time required
- to execute the RTEMS test suites. It also enables a special exit and
- alternate printk support.])
-AM_CONDITIONAL(LM32_ON_SIMULATOR,test x"$LM32_ON_SIMULATOR" = "x1")
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-RTEMS_BSP_CLEANUP_OPTIONS
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/Makefile.am b/c/src/lib/libbsp/m68k/Makefile.am
deleted file mode 100644
index 1636535b2e..0000000000
--- a/c/src/lib/libbsp/m68k/Makefile.am
+++ /dev/null
@@ -1,12 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-## Descend into the @RTEMS_BSP_FAMILY@ directory
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-dist_project_lib_DATA = ../../../../../bsps/m68k/shared/start/linkcmds.base
-
-
-
-
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(srcdir)/../../../../../bsps/m68k/headers.am
diff --git a/c/src/lib/libbsp/m68k/acinclude.m4 b/c/src/lib/libbsp/m68k/acinclude.m4
deleted file mode 100644
index a6914ec090..0000000000
--- a/c/src/lib/libbsp/m68k/acinclude.m4
+++ /dev/null
@@ -1,40 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- av5282 )
- AC_CONFIG_SUBDIRS([av5282]);;
- csb360 )
- AC_CONFIG_SUBDIRS([csb360]);;
- gen68340 )
- AC_CONFIG_SUBDIRS([gen68340]);;
- gen68360 )
- AC_CONFIG_SUBDIRS([gen68360]);;
- genmcf548x )
- AC_CONFIG_SUBDIRS([genmcf548x]);;
- mcf5206elite )
- AC_CONFIG_SUBDIRS([mcf5206elite]);;
- mcf52235 )
- AC_CONFIG_SUBDIRS([mcf52235]);;
- mcf5225x )
- AC_CONFIG_SUBDIRS([mcf5225x]);;
- mcf5235 )
- AC_CONFIG_SUBDIRS([mcf5235]);;
- mcf5329 )
- AC_CONFIG_SUBDIRS([mcf5329]);;
- mrm332 )
- AC_CONFIG_SUBDIRS([mrm332]);;
- mvme147 )
- AC_CONFIG_SUBDIRS([mvme147]);;
- mvme147s )
- AC_CONFIG_SUBDIRS([mvme147s]);;
- mvme162 )
- AC_CONFIG_SUBDIRS([mvme162]);;
- mvme167 )
- AC_CONFIG_SUBDIRS([mvme167]);;
- uC5282 )
- AC_CONFIG_SUBDIRS([uC5282]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/m68k/av5282/Makefile.am b/c/src/lib/libbsp/m68k/av5282/Makefile.am
deleted file mode 100644
index 5f6540b024..0000000000
--- a/c/src/lib/libbsp/m68k/av5282/Makefile.am
+++ /dev/null
@@ -1,43 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/av5282/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/av5282/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-loop.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/av5282/start/init5282.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/av5282/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/av5282/clock/clock.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/av5282/console/console.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/av5282/btimer/btimer.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf5282.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/av5282/headers.am
diff --git a/c/src/lib/libbsp/m68k/av5282/configure.ac b/c/src/lib/libbsp/m68k/av5282/configure.ac
deleted file mode 100644
index 368856dd50..0000000000
--- a/c/src/lib/libbsp/m68k/av5282/configure.ac
+++ /dev/null
@@ -1,21 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-av5282],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/configure.ac b/c/src/lib/libbsp/m68k/configure.ac
deleted file mode 100644
index a331df8e3a..0000000000
--- a/c/src/lib/libbsp/m68k/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-RTEMS_PROJECT_ROOT
-
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/csb360/Makefile.am b/c/src/lib/libbsp/m68k/csb360/Makefile.am
deleted file mode 100644
index 9e89a0f893..0000000000
--- a/c/src/lib/libbsp/m68k/csb360/Makefile.am
+++ /dev/null
@@ -1,43 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/csb360/start/bsp_specs
-
-
-
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/csb360/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspstart-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/csb360/start/init5272.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/csb360/console/console-io.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/csb360/dev/ckinit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/csb360/dev/timer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/csb360/dev/timerisr.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/csb360/start/idle-mcf5272.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/csb360/headers.am
diff --git a/c/src/lib/libbsp/m68k/csb360/configure.ac b/c/src/lib/libbsp/m68k/csb360/configure.ac
deleted file mode 100644
index dce95eed78..0000000000
--- a/c/src/lib/libbsp/m68k/csb360/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-csb360],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/gen68340/Makefile.am b/c/src/lib/libbsp/m68k/gen68340/Makefile.am
deleted file mode 100644
index 1fa764ff7f..0000000000
--- a/c/src/lib/libbsp/m68k/gen68340/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/gen68340/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/gen68340/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspstart-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/gen68340/start/init68340.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/gen68340/start/dumpanic.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/gen68340/clock/ckinit.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/gen68340/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/gen68340/console/m340uart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/printk-dummy.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/gen68340/btimer/btimer.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/gen68340/headers.am
diff --git a/c/src/lib/libbsp/m68k/gen68340/configure.ac b/c/src/lib/libbsp/m68k/gen68340/configure.ac
deleted file mode 100644
index fdcec75315..0000000000
--- a/c/src/lib/libbsp/m68k/gen68340/configure.ac
+++ /dev/null
@@ -1,19 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-gen68340],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/gen68360/Makefile.am b/c/src/lib/libbsp/m68k/gen68360/Makefile.am
deleted file mode 100644
index dd5b1ffce8..0000000000
--- a/c/src/lib/libbsp/m68k/gen68360/Makefile.am
+++ /dev/null
@@ -1,51 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/gen68360/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/gen68360/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/m68k/gen68360/start/linkcmds.bootp
-dist_project_lib_DATA += ../../../../../../bsps/m68k/gen68360/start/linkcmds.prom
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/gen68360/start/alloc360.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspstart-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/gen68360/start/init68360.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/gen68360/clock/clock.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/gen68360/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/printk-dummy.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/gen68360/btimer/btimer.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-
-if HAS_FPSP
-include $(srcdir)/../../../../../../bsps/m68k/shared/fpsp-sources.am
-endif
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/gen68360/headers.am
diff --git a/c/src/lib/libbsp/m68k/gen68360/configure.ac b/c/src/lib/libbsp/m68k/gen68360/configure.ac
deleted file mode 100644
index 0efcbfc437..0000000000
--- a/c/src/lib/libbsp/m68k/gen68360/configure.ac
+++ /dev/null
@@ -1,34 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-gen68360],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-AM_CONDITIONAL(HAS_FPSP,[test "$RTEMS_CPU_MODEL" = "m68040"])
-
-RTEMS_BSPOPTS_SET([PGH360],[pgh360],[1])
-RTEMS_BSPOPTS_HELP([PGH360],
-[If defined, use custom settings for the pgh360 BSP.])
-
-RTEMS_BSPOPTS_SET([GEN68360],[gen68360],[1])
-RTEMS_BSPOPTS_HELP([GEN68360],
-[If defined, use custom settings for the gen68360 BSP.])
-
-RTEMS_BSPOPTS_SET([GEN68360_040],[gen68360_040],[1])
-RTEMS_BSPOPTS_HELP([GEN68360_040],
-[If defined, use custom settings for the gen68360_040 BSP.])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am b/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am
deleted file mode 100644
index 0ee5eafedf..0000000000
--- a/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am
+++ /dev/null
@@ -1,55 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/genmcf548x/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/genmcf548x/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/m68k/genmcf548x/start/linkcmds.COBRA5475
-dist_project_lib_DATA += ../../../../../../bsps/m68k/genmcf548x/start/linkcmds.m5484FireEngine
-dist_project_lib_DATA += ../../../../../../bsps/m68k/genmcf548x/start/linkcmds.m5484FireEngine.flash
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-loop.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/start/init548x.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/genmcf548x/clock/clock.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/console/console.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/btimer/btimer.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/irq/irq.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/irq/intc-icr-init-values.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/mcdma/MCD_dmaApi.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/mcdma/MCD_tasks.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/mcdma/MCD_tasksInit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/mcdma/mcdma_glue.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/start/cache.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/genmcf548x/headers.am
diff --git a/c/src/lib/libbsp/m68k/genmcf548x/configure.ac b/c/src/lib/libbsp/m68k/genmcf548x/configure.ac
deleted file mode 100644
index 1064812a1c..0000000000
--- a/c/src/lib/libbsp/m68k/genmcf548x/configure.ac
+++ /dev/null
@@ -1,46 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-genmcf548x],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-
-RTEMS_BSPOPTS_SET([BSP_CPU_CLOCK_SPEED],[COBRA5475],[132000000])
-RTEMS_BSPOPTS_SET([BSP_CPU_CLOCK_SPEED],[m5484FireEngine],[100000000])
-RTEMS_BSPOPTS_SET([BSP_CPU_CLOCK_SPEED],[*],[100000000])
-RTEMS_BSPOPTS_HELP([BSP_CPU_CLOCK_SPEED],
-[The bus clock to be used inside the mcf54xx])
-
-RTEMS_BSPOPTS_SET([M5484FIREENGINE],[m5484FireEngine],[1])
-RTEMS_BSPOPTS_SET([M5484FIREENGINE],[*],[])
-RTEMS_BSPOPTS_HELP([M5484FIREENGINE],
-[If defined, use custom settings for the m5484FireEngine BSP.])
-
-RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[COBRA5475],[19200])
-RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[9600])
-RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],[initial baudrate for UARTs])
-
-RTEMS_BSPOPTS_SET([HAS_DBUG],[COBRA5475],[1])
-RTEMS_BSPOPTS_SET([HAS_DBUG],[*],[])
-RTEMS_BSPOPTS_HELP([HAS_DBUG],
-[If defined, we will not boot from RESET, but from Freescale DBug monitor.])
-
-RTEMS_BSPOPTS_SET([HAS_LOW_LEVEL_INIT],[m5484FireEngine],[1])
-RTEMS_BSPOPTS_SET([HAS_LOW_LEVEL_INIT],[*],[])
-RTEMS_BSPOPTS_HELP([HAS_LOW_LEVEL_INIT],
-[If defined, we will do all the low level init of the chip (like bus/memory...).])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am b/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am
deleted file mode 100644
index 82303c898a..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am
+++ /dev/null
@@ -1,54 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/mcf5206elite/start/bsp_specs
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/mcf5206elite/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/m68k/mcf5206elite/start/linkcmds.flash
-
-dist_project_lib_DATA += ../../../../../../bsps/m68k/mcf5206elite/start/gdbinit
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspstart-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5206elite/start/init5206e.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5206elite/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/printk-dummy.c
-# i2c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5206elite/i2c/i2c.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5206elite/i2c/i2cdrv.c
-# tod
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5206elite/rtc/ds1307.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5206elite/rtc/todcfg.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
-# nvram
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5206elite/nvram/nvram.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5206elite/dev/ckinit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5206elite/dev/mcfmbus.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5206elite/dev/mcfuart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5206elite/dev/timer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5206elite/dev/timerisr.S
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/mcf5206elite/headers.am
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/configure.ac b/c/src/lib/libbsp/m68k/mcf5206elite/configure.ac
deleted file mode 100644
index 24453b4008..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5206elite/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-mcf5206elite],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mcf52235/Makefile.am b/c/src/lib/libbsp/m68k/mcf52235/Makefile.am
deleted file mode 100644
index 77eb886fac..0000000000
--- a/c/src/lib/libbsp/m68k/mcf52235/Makefile.am
+++ /dev/null
@@ -1,47 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/mcf52235/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/mcf52235/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-loop.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf52235/start/init52235.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspstart-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf52235/start/cfinit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf52235/start/bspgetcpuclockspeed.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mcf52235/clock/clock.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf52235/console/console.c
-# debugio
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf52235/console/debugio.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf52235/btimer/btimer.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf5223x.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/mcf52235/headers.am
diff --git a/c/src/lib/libbsp/m68k/mcf52235/configure.ac b/c/src/lib/libbsp/m68k/mcf52235/configure.ac
deleted file mode 100644
index 65d9bc738f..0000000000
--- a/c/src/lib/libbsp/m68k/mcf52235/configure.ac
+++ /dev/null
@@ -1,19 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-mcf52235],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am b/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am
deleted file mode 100644
index e9b6556028..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am
+++ /dev/null
@@ -1,38 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/mcf5225x/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/mcf5225x/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES = ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-loop.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5225x/start/init5225x.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5225x/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mcf5225x/clock/clock.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5225x/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5225x/console/debugio.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5225x/btimer/btimer.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf5225x.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/mcf5225x/headers.am
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/configure.ac b/c/src/lib/libbsp/m68k/mcf5225x/configure.ac
deleted file mode 100644
index 1fe6598948..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5225x/configure.ac
+++ /dev/null
@@ -1,22 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-dpu],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION
-RTEMS_BSP_BOOTCARD_OPTIONS
-RTEMS_BSP_CLEANUP_OPTIONS
-
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mcf5235/Makefile.am b/c/src/lib/libbsp/m68k/mcf5235/Makefile.am
deleted file mode 100644
index b86debbfe2..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5235/Makefile.am
+++ /dev/null
@@ -1,47 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/mcf5235/start/bsp_specs
-
-noinst_PROGRAMS =
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/mcf5235/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/m68k/mcf5235/start/linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/m68k/mcf5235/start/linkcmdsflash
-dist_project_lib_DATA += ../../../../../../bsps/m68k/mcf5235/start/linkcmdsram
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-loop.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5235/start/bspgetcpuclockspeed.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5235/start/init5235.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5235/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5235/start/copyvectors.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mcf5235/clock/clock.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5235/console/console.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5235/btimer/btimer.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf5235.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/mcf5235/headers.am
diff --git a/c/src/lib/libbsp/m68k/mcf5235/configure.ac b/c/src/lib/libbsp/m68k/mcf5235/configure.ac
deleted file mode 100644
index 416aa3c029..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5235/configure.ac
+++ /dev/null
@@ -1,21 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-mcf5235],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mcf5329/Makefile.am b/c/src/lib/libbsp/m68k/mcf5329/Makefile.am
deleted file mode 100644
index e58fbe1249..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5329/Makefile.am
+++ /dev/null
@@ -1,45 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/mcf5329/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/mcf5329/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/m68k/mcf5329/start/linkcmdsflash
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-loop.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5329/start/init5329.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5329/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5329/start/cfinit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mcf5329/clock/clock.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5329/console/console.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5329/btimer/btimer.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf532x.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/mcf5329/headers.am
diff --git a/c/src/lib/libbsp/m68k/mcf5329/configure.ac b/c/src/lib/libbsp/m68k/mcf5329/configure.ac
deleted file mode 100644
index aa7cebb657..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5329/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-mcf52235],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mrm332/Makefile.am b/c/src/lib/libbsp/m68k/mrm332/Makefile.am
deleted file mode 100644
index db3efb3ebf..0000000000
--- a/c/src/lib/libbsp/m68k/mrm332/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/mrm332/start/bsp_specs
-
-
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/mrm332/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mrm332/start/start_c.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mrm332/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspstart-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mrm332/clock/ckinit.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mrm332/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mrm332/console/sci.c
-# spurious
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mrm332/start/spinit.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mrm332/btimer/btimer.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/mrm332/headers.am
diff --git a/c/src/lib/libbsp/m68k/mrm332/configure.ac b/c/src/lib/libbsp/m68k/mrm332/configure.ac
deleted file mode 100644
index e9cbbaf170..0000000000
--- a/c/src/lib/libbsp/m68k/mrm332/configure.ac
+++ /dev/null
@@ -1,19 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-mrm332],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mvme147/Makefile.am b/c/src/lib/libbsp/m68k/mvme147/Makefile.am
deleted file mode 100644
index 7bfc46c070..0000000000
--- a/c/src/lib/libbsp/m68k/mvme147/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/mvme147/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-## Zilog component header files
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme147/start/bspclean.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme147/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mvme147/clock/ckinit.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme147/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/printk-dummy.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme147/btimer/btimer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme147/btimer/timerisr.S
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/mvme147/headers.am
diff --git a/c/src/lib/libbsp/m68k/mvme147/configure.ac b/c/src/lib/libbsp/m68k/mvme147/configure.ac
deleted file mode 100644
index a64e2aba0b..0000000000
--- a/c/src/lib/libbsp/m68k/mvme147/configure.ac
+++ /dev/null
@@ -1,19 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme147],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mvme147s/Makefile.am b/c/src/lib/libbsp/m68k/mvme147s/Makefile.am
deleted file mode 100644
index 328e91ed31..0000000000
--- a/c/src/lib/libbsp/m68k/mvme147s/Makefile.am
+++ /dev/null
@@ -1,55 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/mvme147s/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-## Zilog component header files
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme147s/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-# clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme147/clock/ckinit.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme147/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/printk-dummy.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme147/btimer/btimer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme147/btimer/timerisr.S
-
-if HAS_MP
-# shmsupp
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme147s/mpci/addrconv.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme147s/mpci/getcfg.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme147s/mpci/lock.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme147s/mpci/mpisr.c
-endif
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/mvme147s/headers.am
diff --git a/c/src/lib/libbsp/m68k/mvme147s/configure.ac b/c/src/lib/libbsp/m68k/mvme147s/configure.ac
deleted file mode 100644
index 24df6c6c3b..0000000000
--- a/c/src/lib/libbsp/m68k/mvme147s/configure.ac
+++ /dev/null
@@ -1,19 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme147s],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mvme162/Makefile.am b/c/src/lib/libbsp/m68k/mvme162/Makefile.am
deleted file mode 100644
index e519545ff9..0000000000
--- a/c/src/lib/libbsp/m68k/mvme162/Makefile.am
+++ /dev/null
@@ -1,52 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/mvme162/start/bsp_specs
-
-noinst_PROGRAMS =
-
-## Zilog component header files
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme162/start/bspclean.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme162/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme162/start/page_table.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme162/start/page_table.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mvme162/clock/ckinit.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme162/console/console.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme162/btimer/btimer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme162/btimer/timerisr.S
-# tod
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme162/rtc/tod.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-
-if HAS_FPSP
-include $(srcdir)/../../../../../../bsps/m68k/shared/fpsp-sources.am
-endif
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/mvme162/headers.am
diff --git a/c/src/lib/libbsp/m68k/mvme162/configure.ac b/c/src/lib/libbsp/m68k/mvme162/configure.ac
deleted file mode 100644
index f65c67dbe5..0000000000
--- a/c/src/lib/libbsp/m68k/mvme162/configure.ac
+++ /dev/null
@@ -1,22 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme162],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-AM_CONDITIONAL([HAS_FPSP],[test "$RTEMS_CPU_MODEL" = "m68040"])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mvme167/Makefile.am b/c/src/lib/libbsp/m68k/mvme167/Makefile.am
deleted file mode 100644
index b965c2a4d6..0000000000
--- a/c/src/lib/libbsp/m68k/mvme167/Makefile.am
+++ /dev/null
@@ -1,45 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/mvme167/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme167/start/bspclean.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme167/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme167/start/page_table.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mvme167/clock/ckinit.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme167/console/console.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme167/btimer/btimer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme167/btimer/timerisr.S
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/shared/fpsp-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/mvme167/headers.am
diff --git a/c/src/lib/libbsp/m68k/mvme167/configure.ac b/c/src/lib/libbsp/m68k/mvme167/configure.ac
deleted file mode 100644
index 989f98d4c9..0000000000
--- a/c/src/lib/libbsp/m68k/mvme167/configure.ac
+++ /dev/null
@@ -1,53 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme167],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-# HACK: Propagate #define mvme167 into bspopts.h
-# Used inside ../mvme162/include/mvme16x_hw.h
-AC_DEFINE_UNQUOTED([mvme167],[1],
-[If building the mvme167 BSP])
-
-RTEMS_BSPOPTS_SET([CD2401_INT_LEVEL],[*],[1])
-RTEMS_BSPOPTS_HELP([CD2401_INT_LEVEL],
-[Interrupt level for the CD2401(when CD2401_IO_MODE == 1).])
-
-RTEMS_BSPOPTS_SET([CD2401_IO_MODE],[*],[0])
-RTEMS_BSPOPTS_HELP([CD2401_IO_MODE],
-[0 for polled I/O, 1 for interrupt-driven.])
-
-RTEMS_BSPOPTS_SET([CD2401_USE_TERMIOS],[*],[0])
-RTEMS_BSPOPTS_HELP([CD2401_USE_TERMIOS],
-[1 for using termios based console.])
-
-RTEMS_BSPOPTS_SET([CONSOLE_MINOR],[*],[1])
-RTEMS_BSPOPTS_HELP([CONSOLE_MINOR],
-[Port to use for the RTEMS console.
- 0 - /dev/tty0, Serial Port 1/Console on the MVME712M.
- 1 - /dev/tty1, Serial Port 2/TTY01 on the MVME712M.
- 2 - /dev/tty2, Serial Port 3 on the MVME712M.
- 3 - /dev/tty3, Serial Port 4 on the MVME712M.])
-
-RTEMS_BSPOPTS_SET([PRINTK_MINOR],[*],[1])
-RTEMS_BSPOPTS_HELP([PRINTK_MINOR],
-[Port to use for printk debugging output.
- 0 - /dev/tty0, Serial Port 1/Console on the MVME712M.
- 1 - /dev/tty1, Serial Port 2/TTY01 on the MVME712M.
- 2 - /dev/tty2, Serial Port 3 on the MVME712M.
- 3 - /dev/tty3, Serial Port 4 on the MVME712M.])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/uC5282/Makefile.am b/c/src/lib/libbsp/m68k/uC5282/Makefile.am
deleted file mode 100644
index 5e6aba422b..0000000000
--- a/c/src/lib/libbsp/m68k/uC5282/Makefile.am
+++ /dev/null
@@ -1,43 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/m68k/uC5282/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/m68k/uC5282/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/uC5282/start/bspclean.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/uC5282/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/uC5282/start/init5282.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/uC5282/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/uC5282/clock/clock.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/uC5282/console/console.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/uC5282/btimer/btimer.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf5282.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/m68k/uC5282/headers.am
diff --git a/c/src/lib/libbsp/m68k/uC5282/configure.ac b/c/src/lib/libbsp/m68k/uC5282/configure.ac
deleted file mode 100644
index 4704dd5810..0000000000
--- a/c/src/lib/libbsp/m68k/uC5282/configure.ac
+++ /dev/null
@@ -1,21 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-m68k-uC5282],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/mips/Makefile.am b/c/src/lib/libbsp/mips/Makefile.am
deleted file mode 100644
index 3dd369de77..0000000000
--- a/c/src/lib/libbsp/mips/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-## Descend into the @RTEMS_BSP_FAMILY@ directory
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(srcdir)/../../../../../bsps/mips/headers.am
diff --git a/c/src/lib/libbsp/mips/acinclude.m4 b/c/src/lib/libbsp/mips/acinclude.m4
deleted file mode 100644
index cde1ebe01b..0000000000
--- a/c/src/lib/libbsp/mips/acinclude.m4
+++ /dev/null
@@ -1,20 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- csb350 )
- AC_CONFIG_SUBDIRS([csb350]);;
- hurricane )
- AC_CONFIG_SUBDIRS([hurricane]);;
- jmr3904 )
- AC_CONFIG_SUBDIRS([jmr3904]);;
- malta )
- AC_CONFIG_SUBDIRS([malta]);;
- rbtx4925 )
- AC_CONFIG_SUBDIRS([rbtx4925]);;
- rbtx4938 )
- AC_CONFIG_SUBDIRS([rbtx4938]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/mips/configure.ac b/c/src/lib/libbsp/mips/configure.ac
deleted file mode 100644
index 0699e143d1..0000000000
--- a/c/src/lib/libbsp/mips/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-mips],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-RTEMS_PROJECT_ROOT
-
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/mips/csb350/Makefile.am b/c/src/lib/libbsp/mips/csb350/Makefile.am
deleted file mode 100644
index 0ddfc7145f..0000000000
--- a/c/src/lib/libbsp/mips/csb350/Makefile.am
+++ /dev/null
@@ -1,48 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/mips/csb350/start/bsp_specs
-
-#isr
-
-noinst_PROGRAMS =
-
-start.$(OBJEXT): ../../../../../../bsps/mips/csb350/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/csb350/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/csb350/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/mips/csb350/clock/clockdrv.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/csb350/console/console-io.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/csb350/btimer/btimer.c
-#isr
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/vectorexceptions.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/irq.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/csb350/irq/vectorisrs.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/interruptmask.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/installisrentries.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/isr_entries.S
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/mips/csb350/headers.am
diff --git a/c/src/lib/libbsp/mips/csb350/configure.ac b/c/src/lib/libbsp/mips/csb350/configure.ac
deleted file mode 100644
index 892d796669..0000000000
--- a/c/src/lib/libbsp/mips/csb350/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-mips-csb350],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/mips/hurricane/Makefile.am b/c/src/lib/libbsp/mips/hurricane/Makefile.am
deleted file mode 100644
index 5a7ca09b85..0000000000
--- a/c/src/lib/libbsp/mips/hurricane/Makefile.am
+++ /dev/null
@@ -1,55 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/mips/hurricane/start/bsp_specs
-
-#isr
-
-
-start.$(OBJEXT): ../../../../../../bsps/mips/hurricane/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/hurricane/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/hurricane/start/inittlb.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/start/idtmem.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/start/idttlb.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/exception.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/hurricane/start/usc.S
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/mips/hurricane/clock/ckinit.c
-
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/hurricane/console/console.c
-# liblnk
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/liblnk/lnklib.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/liblnk/pmon.S
-#isr
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/vectorexceptions.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/irq.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/hurricane/irq/vectorisrs.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/interruptmask.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/installisrentries.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/isr_entries.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/timer/timer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/timer/gettime.S
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/mips/hurricane/headers.am
diff --git a/c/src/lib/libbsp/mips/hurricane/configure.ac b/c/src/lib/libbsp/mips/hurricane/configure.ac
deleted file mode 100644
index a173ab5a92..0000000000
--- a/c/src/lib/libbsp/mips/hurricane/configure.ac
+++ /dev/null
@@ -1,28 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-mips-hurricane],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSPOPTS_SET([BSP_HAS_USC320],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_HAS_USC320],
-[This BSP has a V3 USC320 system controller chip.])
-
-RTEMS_BSPOPTS_SET([BSP_HAS_RM52xx],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_HAS_RM52xx],
-[This BSP has a RM52xx compatible CPU.])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/mips/jmr3904/Makefile.am b/c/src/lib/libbsp/mips/jmr3904/Makefile.am
deleted file mode 100644
index ee34f6dd95..0000000000
--- a/c/src/lib/libbsp/mips/jmr3904/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/mips/jmr3904/start/bsp_specs
-
-#isr
-
-
-start.$(OBJEXT): ../../../../../../bsps/mips/jmr3904/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/jmr3904/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/mips/jmr3904/clock/clockdrv.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/jmr3904/console/console-io.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/jmr3904/btimer/btimer.c
-#isr
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/vectorexceptions.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/irq.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/jmr3904/irq/vectorisrs.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/interruptmask.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/installisrentries.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/isr_entries.S
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/mips/jmr3904/headers.am
diff --git a/c/src/lib/libbsp/mips/jmr3904/configure.ac b/c/src/lib/libbsp/mips/jmr3904/configure.ac
deleted file mode 100644
index c33729fcb0..0000000000
--- a/c/src/lib/libbsp/mips/jmr3904/configure.ac
+++ /dev/null
@@ -1,19 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-mips-jmr3904],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/mips/malta/Makefile.am b/c/src/lib/libbsp/mips/malta/Makefile.am
deleted file mode 100644
index 97d053ed15..0000000000
--- a/c/src/lib/libbsp/mips/malta/Makefile.am
+++ /dev/null
@@ -1,67 +0,0 @@
-##
-##
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/mips/malta/start/bsp_specs
-
-#isr
-#pci
-#irq
-
-
-start.$(OBJEXT): ../../../../../../bsps/mips/malta/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/malta/start/simple_access.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/malta/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/malta/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/malta/start/inittlb.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/start/idttlb.S
-
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/mips/shared/clock/clockdrv.c
-librtemsbsp_a_SOURCES +=../../../../../../bsps/mips/shared/clock/mips_timer.S
-
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/malta/console/conscfg.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/malta/console/printk_support.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/installisrentries.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/isr_entries.S
-
-# pci
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/malta/pci/pci.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/pci/pci_find_device.c
-
-#isr
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/vectorexceptions.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/irq.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/malta/irq/vectorisrs.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/malta/irq/interruptmask.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/i8259.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/mips/malta/headers.am
diff --git a/c/src/lib/libbsp/mips/malta/configure.ac b/c/src/lib/libbsp/mips/malta/configure.ac
deleted file mode 100644
index 7ecb00ae97..0000000000
--- a/c/src/lib/libbsp/mips/malta/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-mips-malta],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[*],[1])
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/mips/rbtx4925/Makefile.am b/c/src/lib/libbsp/mips/rbtx4925/Makefile.am
deleted file mode 100644
index 3f3f6ead71..0000000000
--- a/c/src/lib/libbsp/mips/rbtx4925/Makefile.am
+++ /dev/null
@@ -1,55 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/mips/rbtx4925/start/bsp_specs
-
-#isr
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/mips/rbtx4925/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/rbtx4925/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/rbtx4925/start/inittlb.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/start/idttlb.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/start/idtmem.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/exception.S
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/mips/rbtx4925/clock/clockdrv.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/rbtx4925/console/console-io.c
-# liblnk
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/liblnk/lnklib.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/liblnk/pmon.S
-#isr
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/vectorexceptions.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/irq.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/rbtx4925/irq/vectorisrs.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/interruptmask_TX49.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/installisrentries.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/isr_entries.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/timer/timer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/timer/gettime.S
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/mips/rbtx4925/headers.am
diff --git a/c/src/lib/libbsp/mips/rbtx4925/configure.ac b/c/src/lib/libbsp/mips/rbtx4925/configure.ac
deleted file mode 100644
index 20d5842b57..0000000000
--- a/c/src/lib/libbsp/mips/rbtx4925/configure.ac
+++ /dev/null
@@ -1,24 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-mips-rbtx4925],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSPOPTS_SET([BSP_HAS_TX49xx],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_HAS_TX49xx],
-[This BSP has a RM52xx compatible CPU.])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/mips/rbtx4938/Makefile.am b/c/src/lib/libbsp/mips/rbtx4938/Makefile.am
deleted file mode 100644
index 150168459d..0000000000
--- a/c/src/lib/libbsp/mips/rbtx4938/Makefile.am
+++ /dev/null
@@ -1,55 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/mips/rbtx4938/start/bsp_specs
-
-#isr
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/mips/rbtx4938/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/rbtx4938/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/rbtx4938/start/inittlb.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/start/idttlb.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/start/idtmem.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/exception.S
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/mips/rbtx4938/clock/clockdrv.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/rbtx4938/console/console-io.c
-# liblnk
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/liblnk/lnklib.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/liblnk/pmon.S
-#isr
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/vectorexceptions.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/irq.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/rbtx4938/irq/vectorisrs.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/interruptmask_TX49.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/installisrentries.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/irq/isr_entries.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/timer/timer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/mips/shared/timer/gettime.S
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/mips/rbtx4938/headers.am
diff --git a/c/src/lib/libbsp/mips/rbtx4938/configure.ac b/c/src/lib/libbsp/mips/rbtx4938/configure.ac
deleted file mode 100644
index 9be9573e67..0000000000
--- a/c/src/lib/libbsp/mips/rbtx4938/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-mips-rbtx4938],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/moxie/Makefile.am b/c/src/lib/libbsp/moxie/Makefile.am
deleted file mode 100644
index afc822edf3..0000000000
--- a/c/src/lib/libbsp/moxie/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-##
-## $Id: Makefile.am,v 1.8 2004/01/13 13:11:05 ralf Exp $
-##
-
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-# Descend into the @RTEMS_BSP_FAMILY@ directory
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-include $(top_srcdir)/../../../automake/subdirs.am
diff --git a/c/src/lib/libbsp/moxie/acinclude.m4 b/c/src/lib/libbsp/moxie/acinclude.m4
deleted file mode 100644
index 54c068d375..0000000000
--- a/c/src/lib/libbsp/moxie/acinclude.m4
+++ /dev/null
@@ -1,10 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- moxiesim )
- AC_CONFIG_SUBDIRS([moxiesim]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/moxie/configure.ac b/c/src/lib/libbsp/moxie/configure.ac
deleted file mode 100644
index 5c7cfd5c43..0000000000
--- a/c/src/lib/libbsp/moxie/configure.ac
+++ /dev/null
@@ -1,22 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-##
-## $Id: configure.ac,v 1.15 2009/11/28 06:28:39 ralf Exp $
-
-AC_PREREQ(2.60)
-AC_INIT([rtems-c-src-lib-libbsp-moxie],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-
-RTEMS_PROJECT_ROOT
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/moxie/moxiesim/Makefile.am b/c/src/lib/libbsp/moxie/moxiesim/Makefile.am
deleted file mode 100644
index 46ca404df0..0000000000
--- a/c/src/lib/libbsp/moxie/moxiesim/Makefile.am
+++ /dev/null
@@ -1,45 +0,0 @@
-##
-## $Id: Makefile.am,v 1.36 2008/10/02 21:39:40 joel Exp $
-##
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/moxie/moxiesim/start/bsp_specs
-
-
-
-start.$(OBJEXT): ../../../../../../bsps/moxie/moxiesim/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspstart-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-# clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/clock/clock-simidle.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/moxie/moxiesim/console/console-io.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/moxie/moxiesim/console/syscalls.S
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/moxie/moxiesim/headers.am
diff --git a/c/src/lib/libbsp/moxie/moxiesim/configure.ac b/c/src/lib/libbsp/moxie/moxiesim/configure.ac
deleted file mode 100644
index b26d0d1088..0000000000
--- a/c/src/lib/libbsp/moxie/moxiesim/configure.ac
+++ /dev/null
@@ -1,34 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-##
-## $Id: configure.ac,v 1.20 2009/11/28 06:28:39 ralf Exp $
-
-AC_PREREQ(2.60)
-AC_INIT([rtems-c-src-lib-libbsp-moxie-moxiesim],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_MSG_CHECKING([for old moxie assembly syntax])
-AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM(
- [],
- [asm("sub.l \$r0, \$r0");])],
- [HAVE_OLD_MOXIE_ASM=yes],
- [HAVE_OLD_MOXIE_ASM=no])
-AC_MSG_RESULT([$HAVE_OLD_MOXIE_ASM])
-if test "x$HAVE_OLD_MOXIE_ASM" = xyes; then
- AC_DEFINE(HAVE_OLD_MOXIE_ASM,
- 1, [Define if you are using old moxie asm syntax (sub.l)])
-fi
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/nios2/Makefile.am b/c/src/lib/libbsp/nios2/Makefile.am
deleted file mode 100644
index 46a80a8ab6..0000000000
--- a/c/src/lib/libbsp/nios2/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-# Descend into the @RTEMS_BSP_FAMILY@ directory
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-include $(top_srcdir)/../../../automake/subdirs.am
diff --git a/c/src/lib/libbsp/nios2/acinclude.m4 b/c/src/lib/libbsp/nios2/acinclude.m4
deleted file mode 100644
index 153d18b51c..0000000000
--- a/c/src/lib/libbsp/nios2/acinclude.m4
+++ /dev/null
@@ -1,10 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- nios2_iss )
- AC_CONFIG_SUBDIRS([nios2_iss]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/nios2/configure.ac b/c/src/lib/libbsp/nios2/configure.ac
deleted file mode 100644
index d854643fa0..0000000000
--- a/c/src/lib/libbsp/nios2/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-nios2],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-RTEMS_PROJECT_ROOT
-
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am b/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am
deleted file mode 100644
index f0c9a6b9af..0000000000
--- a/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am
+++ /dev/null
@@ -1,44 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/nios2/nios2_iss/start/bsp_specs
-
-
-
-start.$(OBJEXT): ../../../../../../bsps/nios2/nios2_iss/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-crtnn.$(OBJEXT): ../../../../../../bsps/nios2/nios2_iss/start/crtnn.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT) crtnn.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-loop.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/nios2/nios2_iss/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/nios2/nios2_iss/start/setvec.c
-
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/nios2/nios2_iss/clock/clock.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/nios2/nios2_iss/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/nios2/nios2_iss/btimer/btimer.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/nios2/nios2_iss/headers.am
diff --git a/c/src/lib/libbsp/nios2/nios2_iss/configure.ac b/c/src/lib/libbsp/nios2/nios2_iss/configure.ac
deleted file mode 100644
index 49adb87959..0000000000
--- a/c/src/lib/libbsp/nios2/nios2_iss/configure.ac
+++ /dev/null
@@ -1,19 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-nios2-nios2_iss],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/no_cpu/Makefile.am b/c/src/lib/libbsp/no_cpu/Makefile.am
deleted file mode 100644
index 46a80a8ab6..0000000000
--- a/c/src/lib/libbsp/no_cpu/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-# Descend into the @RTEMS_BSP_FAMILY@ directory
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-include $(top_srcdir)/../../../automake/subdirs.am
diff --git a/c/src/lib/libbsp/no_cpu/acinclude.m4 b/c/src/lib/libbsp/no_cpu/acinclude.m4
deleted file mode 100644
index 35ea252334..0000000000
--- a/c/src/lib/libbsp/no_cpu/acinclude.m4
+++ /dev/null
@@ -1,10 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- no_bsp )
- AC_CONFIG_SUBDIRS([no_bsp]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/no_cpu/configure.ac b/c/src/lib/libbsp/no_cpu/configure.ac
deleted file mode 100644
index 33c0a867e3..0000000000
--- a/c/src/lib/libbsp/no_cpu/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-no_cpu],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-RTEMS_PROJECT_ROOT
-
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am b/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am
deleted file mode 100644
index 1cb4287368..0000000000
--- a/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am
+++ /dev/null
@@ -1,39 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/no_cpu/no_bsp/start/bsp_specs
-
-noinst_PROGRAMS =
-
-project_lib_DATA = linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/no_cpu/no_bsp/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/no_cpu/no_bsp/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/no_cpu/no_bsp/clock/ckinit.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/no_cpu/no_bsp/console/console.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/no_cpu/no_bsp/btimer/btimer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/no_cpu/no_bsp/btimer/timerisr.c
-# shmsupp
-librtemsbsp_a_SOURCES += ../../../../../../bsps/no_cpu/no_bsp/mpci/addrconv.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/no_cpu/no_bsp/mpci/getcfg.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/no_cpu/no_bsp/mpci/lock.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/no_cpu/no_bsp/mpci/mpisr.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/no_cpu/no_bsp/headers.am
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/configure.ac b/c/src/lib/libbsp/no_cpu/no_bsp/configure.ac
deleted file mode 100644
index 3e54ec9f34..0000000000
--- a/c/src/lib/libbsp/no_cpu/no_bsp/configure.ac
+++ /dev/null
@@ -1,19 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-no_cpu-no_bsp],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/or1k/Makefile.am b/c/src/lib/libbsp/or1k/Makefile.am
deleted file mode 100644
index e00a907357..0000000000
--- a/c/src/lib/libbsp/or1k/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-## Descend into the @RTEMS_BSP_FAMILY@ directory
-## Currently, the shared directory is not explicitly
-## added but it is present in the source tree.
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(srcdir)/../../../../../bsps/or1k/headers.am
diff --git a/c/src/lib/libbsp/or1k/acinclude.m4 b/c/src/lib/libbsp/or1k/acinclude.m4
deleted file mode 100644
index c6bc720dfd..0000000000
--- a/c/src/lib/libbsp/or1k/acinclude.m4
+++ /dev/null
@@ -1,10 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- generic_or1k )
- AC_CONFIG_SUBDIRS([generic_or1k]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/or1k/configure.ac b/c/src/lib/libbsp/or1k/configure.ac
deleted file mode 100644
index c7fcd67947..0000000000
--- a/c/src/lib/libbsp/or1k/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-# Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-or1k],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-RTEMS_PROJECT_ROOT
-
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/or1k/generic_or1k/Makefile.am b/c/src/lib/libbsp/or1k/generic_or1k/Makefile.am
deleted file mode 100644
index e6e185cbeb..0000000000
--- a/c/src/lib/libbsp/or1k/generic_or1k/Makefile.am
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# @file
-#
-# @brief Makefile of LibBSP for the generic_or1k BSP.
-#
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/or1k/generic_or1k/start/bsp_specs
-
-###############################################################################
-# Header #
-###############################################################################
-
-###############################################################################
-# Data #
-###############################################################################
-
-start.$(OBJEXT): ../../../../../../bsps/or1k/generic_or1k/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/or1k/shared/start/linkcmds.base
-
-###############################################################################
-# LibBSP #
-###############################################################################
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-librtemsbsp_a_SOURCES =
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/or1k/generic_or1k/start/bspstart.c
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/or1k/generic_or1k/console/console-config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/or1k/generic_or1k/console/uart.c
-
-# Timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/or1k/generic_or1k/btimer/btimer.c
-
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/or1k/generic_or1k/clock/clockdrv.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/or1k/shared/cache/cache.c
-
-###############################################################################
-# Special Rules #
-###############################################################################
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/or1k/generic_or1k/headers.am
diff --git a/c/src/lib/libbsp/or1k/generic_or1k/configure.ac b/c/src/lib/libbsp/or1k/generic_or1k/configure.ac
deleted file mode 100644
index 150dda2d14..0000000000
--- a/c/src/lib/libbsp/or1k/generic_or1k/configure.ac
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# @file
-#
-# @brief Configure script of LibBSP for generic_or1k BSP.
-#
-
-AC_PREREQ(2.69)
-AC_INIT([rtems-c-src-lib-libbsp-or1k-generic],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[])
-RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
-
-RTEMS_BSPOPTS_SET([BSP_GENERIC_OR1K_PERIPHCLK],[*],[50000000U])
-RTEMS_BSPOPTS_HELP([BSP_GENERIC_OR1K_PERIPHCLK],[or1k PERIPHCLK clock frequency in Hz])
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/Makefile.am b/c/src/lib/libbsp/powerpc/Makefile.am
deleted file mode 100644
index c70691e510..0000000000
--- a/c/src/lib/libbsp/powerpc/Makefile.am
+++ /dev/null
@@ -1,41 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-## Descend into the @RTEMS_BSP_FAMILY@ directory
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-# FIXME: This does not work
-# DIST_SUBDIRS = @all_subdirs@ support/old_exception_processing \
-# support/new_exception_processing
-
-# FIXME: Herein lies madness ;)
-
-## shared/include
-
-## shared/bootloader
-
-## shared/clock
-
-## shared/console
-
-## shared/flash
-
-## shared/motorola
-
-## shared/pci
-
-## shared/residual
-
-## shared/openpic
-
-## shared/irq
-
-## shared/start
-
-## shared/startup
-
-## shared/tod
-
-## shared/vme
-
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(srcdir)/../../../../../bsps/powerpc/headers.am
diff --git a/c/src/lib/libbsp/powerpc/acinclude.m4 b/c/src/lib/libbsp/powerpc/acinclude.m4
deleted file mode 100644
index 4c83475dd8..0000000000
--- a/c/src/lib/libbsp/powerpc/acinclude.m4
+++ /dev/null
@@ -1,44 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- beatnik )
- AC_CONFIG_SUBDIRS([beatnik]);;
- gen5200 )
- AC_CONFIG_SUBDIRS([gen5200]);;
- gen83xx )
- AC_CONFIG_SUBDIRS([gen83xx]);;
- haleakala )
- AC_CONFIG_SUBDIRS([haleakala]);;
- motorola_powerpc )
- AC_CONFIG_SUBDIRS([motorola_powerpc]);;
- mpc55xxevb )
- AC_CONFIG_SUBDIRS([mpc55xxevb]);;
- mpc8260ads )
- AC_CONFIG_SUBDIRS([mpc8260ads]);;
- mvme3100 )
- AC_CONFIG_SUBDIRS([mvme3100]);;
- mvme5500 )
- AC_CONFIG_SUBDIRS([mvme5500]);;
- psim )
- AC_CONFIG_SUBDIRS([psim]);;
- qemuppc )
- AC_CONFIG_SUBDIRS([qemuppc]);;
- qoriq )
- AC_CONFIG_SUBDIRS([qoriq]);;
- ss555 )
- AC_CONFIG_SUBDIRS([ss555]);;
- t32mppc )
- AC_CONFIG_SUBDIRS([t32mppc]);;
- tqm8xx )
- AC_CONFIG_SUBDIRS([tqm8xx]);;
- virtex )
- AC_CONFIG_SUBDIRS([virtex]);;
- virtex4 )
- AC_CONFIG_SUBDIRS([virtex4]);;
- virtex5 )
- AC_CONFIG_SUBDIRS([virtex5]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/powerpc/beatnik/Makefile.am b/c/src/lib/libbsp/powerpc/beatnik/Makefile.am
deleted file mode 100644
index c232100ed1..0000000000
--- a/c/src/lib/libbsp/powerpc/beatnik/Makefile.am
+++ /dev/null
@@ -1,109 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-CLEANFILES =
-noinst_PROGRAMS =
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/beatnik/start/bsp_specs
-
-project_lib_DATA =
-
-#include
-
-#start
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -DASM -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-rtems_crtn.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crtn.S
- $(CPPASCOMPILE) -DASM -o $@ -c $<
-project_lib_DATA += rtems_crtn.$(OBJEXT)
-
-
-preload.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/preload.S
- $(CPPASCOMPILE) -DASM -o $@ -c $<
-
-vectors_entry.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/vectors_entry.S
- $(CPPASCOMPILE) -DASM -o $@ -c $<
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/start.S
- $(CPPASCOMPILE) -DASM -o $@ -c $<
-
-motld_start.$(OBJEXT): preload.$(OBJEXT) vectors_entry.$(OBJEXT) start.$(OBJEXT)
- $(LD) -o $@ -r $^
-
-project_lib_DATA += motld_start.$(OBJEXT)
-
-
-#startup
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/shared/start/linkcmds.share
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/beatnik/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/vpd.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/beatnik/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/beatnik/start/i2c_init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/bspgetworkarea.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/probeMemEnd.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/zerobss.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/pgtbl_setup.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/pgtbl_activate.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/beatnik/start/bspclean.c
-
-#pclock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/p_clock.c
-
-#console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/console/uart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/console/console.c
-
-#irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/beatnik/irq/irq_init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/beatnik/irq/discovery_pic.c
-
-#marvell
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/beatnik/marvell/discovery.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/beatnik/marvell/gti2c.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/beatnik/marvell/gt_timer.c
-
-#flash
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/flash/flash.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/flash/intelFlash.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/beatnik/flash/flashcfg.c
-
-#pci
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/pci/pci.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/beatnik/pci/gt_pci_init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/beatnik/pci/pci_io_remap.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/beatnik/pci/motload_fixup.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/pci/pcifinddevice.c
-
-# tod
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/beatnik/rtc/todcfg.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup_asm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/clock/clock-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/bat.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/mmuAsm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/pte121.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/vme-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/beatnik/headers.am
diff --git a/c/src/lib/libbsp/powerpc/beatnik/configure.ac b/c/src/lib/libbsp/powerpc/beatnik/configure.ac
deleted file mode 100644
index 584072d002..0000000000
--- a/c/src/lib/libbsp/powerpc/beatnik/configure.ac
+++ /dev/null
@@ -1,48 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-beatnik],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_CHECK_TOOL([OBJCOPY],[objcopy])
-
-
-AS=$CC
-AM_PROG_AS
-
-RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK], [*], [1])
-RTEMS_BSPOPTS_HELP([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK],
-[If defined then the BSP may reduce the available memory size
-initially. This can be useful for debugging (reduce the core
-size) or dynamic loading (std gcc text offsets/jumps are < +/-32M).
-Note that the policy can still be defined by the application
-(see sbrk.c, BSP_sbrk_policy). By undefining
-CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed
-and a little memory is saved.])
-
-RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[9600])
-RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],
-[default console baud])
-
-AC_DEFINE(__ppc_generic, 1, [PowerPC model option])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/configure.ac b/c/src/lib/libbsp/powerpc/configure.ac
deleted file mode 100644
index e52d333eaf..0000000000
--- a/c/src/lib/libbsp/powerpc/configure.ac
+++ /dev/null
@@ -1,21 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-
-RTEMS_PROJECT_ROOT
-
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/gen5200/Makefile.am b/c/src/lib/libbsp/powerpc/gen5200/Makefile.am
deleted file mode 100644
index 3e6670986d..0000000000
--- a/c/src/lib/libbsp/powerpc/gen5200/Makefile.am
+++ /dev/null
@@ -1,115 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/gen5200/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/gen5200/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/gen5200/start/linkcmds.gen5200_base
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/gen5200/start/linkcmds.icecube
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/gen5200/start/linkcmds.pm520_cr825
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/gen5200/start/linkcmds.pm520_ze30
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# bestcomm
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/bestcomm_api.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/bestcomm_glue.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/dma_image.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/dma_image.reloc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/load_task.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_ata.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_bdtable.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_0.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_1.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_fec_rx_bd.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_fec_tx_bd.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_0.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_1.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_2.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_3.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_0.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_1.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_gen_rx_bd.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_gen_tx_bd.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_lpc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_pci_rx.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/bestcomm/tasksetup_pci_tx.c
-# clock
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/clock.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/console/console.c
-# i2c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/i2c/i2c.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/i2c/i2cdrv.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/i2c/mpc5200mbus.c
-# ide
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/ata/idecfg.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/ata/pcmcia_ide.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/dev/mpc5200-ata.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/ata/ata-instance.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/ata/ata-dma-pio-single.c
-
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/irq/irq.c
-
-# mscan
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/mscan/mscan.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/mscan/mscan-base.c
-
-# nvram
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/nvram/nvram.c
-
-# slicetimer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/slicetimer/slicetimer.c
-
-# tod
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/rtc/todcfg.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/rtc/pcf8563.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bsp-uboot-board-info.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/showbats.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/memcpy.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/bspidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/u-boot/uboot_dump_bdinfo.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/u-boot/uboot_getenv.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/start/cpuinit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/start/uboot_support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/start/bestcomm.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/bat.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/mmuAsm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/pte121.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/gen5200/headers.am
diff --git a/c/src/lib/libbsp/powerpc/gen5200/configure.ac b/c/src/lib/libbsp/powerpc/gen5200/configure.ac
deleted file mode 100644
index 0b09f2f1b5..0000000000
--- a/c/src/lib/libbsp/powerpc/gen5200/configure.ac
+++ /dev/null
@@ -1,132 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-gen5200],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET([BENCHMARK_IRQ_PROCESSING],[*],[0])
-RTEMS_BSPOPTS_HELP([BENCHMARK_IRQ_PROCESSING],
-[If set to !0, enable code to benchmark IRQ processing.])
-
-RTEMS_BSPOPTS_SET([ALLOW_IRQ_NESTING],[icecube],[0])
-RTEMS_BSPOPTS_SET([ALLOW_IRQ_NESTING],[*],[1])
-RTEMS_BSPOPTS_HELP([ALLOW_IRQ_NESTING],
-[If set to !0, allow nested IRQ processing.])
-
-RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[icecube],[1])
-RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[*],[0])
-RTEMS_BSPOPTS_HELP([BSP_PRESS_KEY_FOR_RESET],
-[If set to !0, print a message and wait until pressed before resetting
- board when application exits.])
-
-RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[icecube],[1])
-RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[pm520_*],[1])
-RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[brs*l],[1])
-RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[*],[0])
-RTEMS_BSPOPTS_HELP([BSP_RESET_BOARD_AT_EXIT],
-[If set to !0, reset the board when the application exits.])
-
-RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITMASK],[pm520_ze30],[0x037F3F07])
-RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITVAL],[pm520_ze30],[0x01552104])
-
-RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITMASK],[brs*l],[0xb30F0F77])
-RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITVAL],[brs*l],[0x91050444])
-
-RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITMASK],[dp2],[0x337F3F77])
-RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITVAL],[dp2],[0x03550040])
-
-RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITMASK],[*],[0x330F0F77])
-RTEMS_BSPOPTS_SET([BSP_GPIOPCR_INITVAL],[*],[0x01050444])
-
-RTEMS_BSPOPTS_HELP([BSP_GPIOPCR_INITMASK],
-[Defines the bits cleared in the MPC5200 GPIOPCR register during
-initialization. Must match the hardware requirements. Must be consistent with
-BSP_GPIOPCR_INITVAL. The bits are cleared via BSP_GPIOPCR_INITMASK and then
-set via BSP_GPIOPCR_INITVAL.])
-RTEMS_BSPOPTS_HELP([BSP_GPIOPCR_INITVAL],
-[Defines the bits set in the MPC5200 GPIOPCR register during initialization.
-Must match the hardware requirements. Must be consistent with
-BSP_GPIOPCR_INITMASK. The bits are cleared via BSP_GPIOPCR_INITMASK and then
-set via BSP_GPIOPCR_INITVAL.])
-
-## on ze30, we have PSC1/4/5/6 ...
-RTEMS_BSPOPTS_SET([BSP_UART_AVAIL_MASK],[pm520_ze30],[0x39])
-## on cr825, we have PSC1/2/3
-RTEMS_BSPOPTS_SET([BSP_UART_AVAIL_MASK],[pm520_cr825],[0x07])
-## on brs5l and brs6l, we have PSC1/2/3
-RTEMS_BSPOPTS_SET([BSP_UART_AVAIL_MASK],[brs*l],[0x07])
-## on icecube, we only have PSC1
-RTEMS_BSPOPTS_SET([BSP_UART_AVAIL_MASK],[icecube],[0x01])
-## dp2: PSC2 (via USB connector), PSC6 (GPS module)
-RTEMS_BSPOPTS_SET([BSP_UART_AVAIL_MASK],[dp2],[0x22])
-## default
-RTEMS_BSPOPTS_SET([BSP_UART_AVAIL_MASK],[*],[0x01])
-RTEMS_BSPOPTS_HELP([BSP_UART_AVAIL_MASK],
-[bit mask to specify the UARTS (PSCs), which should be enabled on this board.
- Must match the hardware requirements. PSC1 corresponds to the LSB])
-
-RTEMS_BSPOPTS_SET([MPC5200_PSC_INDEX_FOR_GPS_MODULE],[dp2],[5])
-RTEMS_BSPOPTS_HELP([MPC5200_PSC_INDEX_FOR_GPS_MODULE],[PSC index for GPS module, if defined results in '/dev/gps'])
-
-RTEMS_BSPOPTS_SET([SINGLE_CHAR_MODE],[*],[])
-RTEMS_BSPOPTS_HELP([SINGLE_CHAR_MODE],[enable single character mode for the PSC console driver])
-
-RTEMS_BSPOPTS_SET([UARTS_USE_TERMIOS_INT],[*],[1])
-RTEMS_BSPOPTS_HELP([UARTS_USE_TERMIOS_INT],[enable interrupt support for the PSC console driver])
-
-RTEMS_BSPOPTS_SET([PRINTK_MINOR],[dp2],[1])
-RTEMS_BSPOPTS_SET([PRINTK_MINOR],[*],[0])
-RTEMS_BSPOPTS_HELP([PRINTK_MINOR],[console minor number used by printk()])
-
-RTEMS_BSPOPTS_SET([MPC5200_BOARD_PM520_ZE30],[pm520_ze30],[1])
-RTEMS_BSPOPTS_HELP([MPC5200_BOARD_PM520_ZE30],
-[enable settings for PM520 ZE30])
-
-RTEMS_BSPOPTS_SET([MPC5200_BOARD_PM520_CR825],[pm520_cr825],[1])
-RTEMS_BSPOPTS_HELP([MPC5200_BOARD_PM520_CR825],
-[enable settings for PM520 CR825])
-
-RTEMS_BSPOPTS_SET([MPC5200_BOARD_ICECUBE],[icecube],[1])
-RTEMS_BSPOPTS_HELP([MPC5200_BOARD_ICECUBE],
-[enable settings for IceCube])
-
-RTEMS_BSPOPTS_SET([MPC5200_BOARD_BRS5L],[brs5l],[1])
-RTEMS_BSPOPTS_HELP([MPC5200_BOARD_BRS5L],
-[enable settings for BRS5L])
-
-RTEMS_BSPOPTS_SET([MPC5200_BOARD_BRS6L],[brs6l],[1])
-RTEMS_BSPOPTS_HELP([MPC5200_BOARD_BRS6L],
-[enable settings for BRS6L])
-
-RTEMS_BSPOPTS_SET([MPC5200_BOARD_DP2],[dp2],[1])
-RTEMS_BSPOPTS_HELP([MPC5200_BOARD_DP2],
-[enable settings for DP2])
-
-RTEMS_BSPOPTS_SET([HAS_UBOOT],[pm520*],[1])
-RTEMS_BSPOPTS_SET([HAS_UBOOT],[icecube],[1])
-RTEMS_BSPOPTS_SET([HAS_UBOOT],[dp2],[1])
-RTEMS_BSPOPTS_HELP([HAS_UBOOT],[enable U-Boot startup])
-
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am b/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am
deleted file mode 100644
index a028658e07..0000000000
--- a/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am
+++ /dev/null
@@ -1,78 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/gen83xx/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/gen83xx/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/shared/start/linkcmds.base
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/gen83xx/start/linkcmds.br_uid
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/gen83xx/start/linkcmds.hsc_cm01
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/gen83xx/start/linkcmds.mpc8309som
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/gen83xx/start/linkcmds.mpc8313erdb
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/gen83xx/start/linkcmds.mpc8349eamds
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/gen83xx/start/linkcmds.mpc83xx
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/tictac.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/start/cpuinit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/bspidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/start/bsprestart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bsp-uboot-board-info.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/u-boot/uboot_getenv.c
-
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/clock.c
-
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/irq/irq.c
-
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios-init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/console/console-config.c
-
-# bsp_i2c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/i2c/i2c_init.c
-# bsp_spi
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/spi/spi_init.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/bat.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/mmuAsm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/pte121.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/dev/gtm.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/dev/mpc83xx_i2cdrv.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/dev/mpc83xx_spidrv.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/gen83xx/headers.am
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/configure.ac b/c/src/lib/libbsp/powerpc/gen83xx/configure.ac
deleted file mode 100644
index 293148f3ac..0000000000
--- a/c/src/lib/libbsp/powerpc/gen83xx/configure.ac
+++ /dev/null
@@ -1,92 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-gen83xx],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET([MPC83XX_BOARD_MPC8313ERDB],[mpc8313erdb],[1])
-RTEMS_BSPOPTS_HELP([MPC83XX_BOARD_MPC8313ERDB],
-[if defined, then use settings for the MPC8313ERDB board])
-
-RTEMS_BSPOPTS_SET([MPC83XX_BOARD_MPC8349EAMDS],[mpc8349eamds],[1])
-RTEMS_BSPOPTS_HELP([MPC83XX_BOARD_MPC8349EAMDS],
-[if defined, then use settings for the MPC8349EAMDS board])
-
-RTEMS_BSPOPTS_SET([MPC83XX_BOARD_HSC_CM01],[hsc_cm01],[1])
-RTEMS_BSPOPTS_HELP([MPC83XX_BOARD_HSC_CM01],
-[if defined, then use settings for the HSC_CM01 board])
-
-RTEMS_BSPOPTS_SET([MPC83XX_BOARD_MPC8309SOM],[mpc8309som],[1])
-RTEMS_BSPOPTS_HELP([MPC83XX_BOARD_MPC8309SOM],
-[if defined, then use settings for the MPC8309SOM board])
-
-RTEMS_BSPOPTS_SET([MPC83XX_BOARD_BR_UID],[br_uid],[1])
-RTEMS_BSPOPTS_HELP([MPC83XX_BOARD_BR_UID],
-[if defined, then use settings for the BR UID board])
-
-RTEMS_BSPOPTS_SET([MPC83XX_NETWORK_INTERFACE_0_PHY_ADDR],[mpc8309som],[0x11])
-RTEMS_BSPOPTS_SET([MPC83XX_NETWORK_INTERFACE_0_PHY_ADDR],[br_uid],[-1])
-RTEMS_BSPOPTS_HELP([MPC83XX_NETWORK_INTERFACE_0_PHY_ADDR],
-[PHY address of network interface 0])
-
-RTEMS_BSPOPTS_SET([MPC83XX_CHIP_TYPE],[mpc8309som],[8309])
-RTEMS_BSPOPTS_SET([MPC83XX_CHIP_TYPE],[br_uid],[8309])
-RTEMS_BSPOPTS_SET([MPC83XX_CHIP_TYPE],[mpc8349eamds],[8349])
-RTEMS_BSPOPTS_SET([MPC83XX_CHIP_TYPE],[hsc_cm01],[8349])
-RTEMS_BSPOPTS_SET([MPC83XX_CHIP_TYPE],[*],[8313])
-RTEMS_BSPOPTS_HELP([MPC83XX_CHIP_TYPE],[chip type of the MPC83XX family])
-
-RTEMS_BSPOPTS_SET([MPC83XX_HAS_NAND_LP_FLASH_ON_CS0],[br_uid],[1])
-RTEMS_BSPOPTS_SET([MPC83XX_HAS_NAND_LP_FLASH_ON_CS0],[*],[])
-RTEMS_BSPOPTS_HELP([MPC83XX_HAS_NAND_LP_FLASH_ON_CS0],[indicates if the board has a NAND large page flash on chip select 0])
-
-RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[hsc_cm01],[9600])
-RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[115200])
-RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],[default baud for console and other serial devices])
-
-RTEMS_BSPOPTS_SET([BSP_USE_UART_INTERRUPTS],[hsc_cm01],[])
-RTEMS_BSPOPTS_SET([BSP_USE_UART_INTERRUPTS],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_USE_UART_INTERRUPTS],[enable usage of interrupts for the UART modules])
-
-RTEMS_BSPOPTS_SET([BSP_USE_UART2],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_USE_UART2],[if defined, enables UART2])
-
-RTEMS_BSPOPTS_SET([HAS_UBOOT],[mpc8309som],[1])
-RTEMS_BSPOPTS_SET([HAS_UBOOT],[mpc8313erdb],[1])
-RTEMS_BSPOPTS_SET([HAS_UBOOT],[mpc8349eamds],[1])
-RTEMS_BSPOPTS_HELP([HAS_UBOOT],[if defined, enables U-Boot support])
-
-# Disable interrupt nesting for the interrupt server support. The interrupt
-# server is necessary for the USB stack.
-RTEMS_BSPOPTS_SET([GEN83XX_ENABLE_INTERRUPT_NESTING],[mpc8313erdb],[])
-RTEMS_BSPOPTS_SET([GEN83XX_ENABLE_INTERRUPT_NESTING],[br_uid],[])
-RTEMS_BSPOPTS_SET([GEN83XX_ENABLE_INTERRUPT_NESTING],[*],[1])
-RTEMS_BSPOPTS_HELP([GEN83XX_ENABLE_INTERRUPT_NESTING],[enable interrupt nesting])
-
-RTEMS_BSPOPTS_SET([BSP_USB_EHCI_MPC83XX_HAS_ULPI],[br_uid],[1])
-RTEMS_BSPOPTS_HELP([BSP_USB_EHCI_MPC83XX_HAS_ULPI],[the board has an ULPI PHY connected to the USB EHCI controller])
-
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_BSP_BOOTCARD_OPTIONS
-RTEMS_BSP_CLEANUP_OPTIONS
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/haleakala/Makefile.am b/c/src/lib/libbsp/powerpc/haleakala/Makefile.am
deleted file mode 100644
index 4e4af15f99..0000000000
--- a/c/src/lib/libbsp/powerpc/haleakala/Makefile.am
+++ /dev/null
@@ -1,49 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/haleakala/start/bsp_specs
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/haleakala/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-loop.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/haleakala/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/haleakala/start/mmu_405.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/haleakala/start/mmu_405asm.S
-
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/console/uart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/console/console.c
-
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/haleakala/irq/irq_init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/haleakala/irq/irq.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/clock/clock-ppc403.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/haleakala/headers.am
diff --git a/c/src/lib/libbsp/powerpc/haleakala/configure.ac b/c/src/lib/libbsp/powerpc/haleakala/configure.ac
deleted file mode 100644
index 627625b95c..0000000000
--- a/c/src/lib/libbsp/powerpc/haleakala/configure.ac
+++ /dev/null
@@ -1,41 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-haleakala],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[1])
-RTEMS_BSPOPTS_HELP([PPC_USE_SPRG],
-[If defined, then the PowerPC specific code in RTEMS will use some
- of the special purpose registers to slightly optimize interrupt
- response time. The use of these registers can conflict with
- other tools like debuggers.])
-
-RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0x0100])
-RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE],
-[This defines the base address of the exception table.
- NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.])
-
-RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[9600])
-RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],
-[default console baud])
-
-AC_DEFINE(ppc405, 1, [PowerPC model option])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am
deleted file mode 100644
index 32b2402311..0000000000
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am
+++ /dev/null
@@ -1,98 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-_SUBDIRS = .
-_SUBDIRS += bootloader
-if QEMU
-_SUBDIRS += qemu_fakerom
-endif
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/motorola_powerpc/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-vectors_entry.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/vectors_entry.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += vectors_entry.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/shared/start/linkcmds.share
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/motorola_powerpc/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/bspgetworkarea.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/showbats.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/zerobss.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/pgtbl_setup.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/pgtbl_activate.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/ppc_idle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/motorola_powerpc/start/bspreset.c
-
-
-# tod
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/rtc/todcfg.c
-# pclock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/p_clock.c
-
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/motorola_powerpc/console/polled_io.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/console/uart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/console/console.c
-
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/irq_init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/openpic_i8259_irq.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/i8259.c
-
-# motorola
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/motorola_powerpc/start/motorola.c
-
-# openpic
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/openpic.c
-
-# pci
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/pci/pci.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/pci/detect_raven_bridge.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/pci/generic_clear_hberrs.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/pci/pcifinddevice.c
-
-# residual
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/motorola_powerpc/start/residual.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup_asm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/clock/clock-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/bat.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/mmuAsm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/pte121.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(top_srcdir)/../../../../automake/subdirs.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/vme-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/motorola_powerpc/headers.am
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am
deleted file mode 100644
index 42b70544e6..0000000000
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am
+++ /dev/null
@@ -1,67 +0,0 @@
-## NOTE: This Makefile.am does not apply RTEMS's compilation rules.
-
-AUTOMAKE_OPTIONS = no-exeext
-
-noinst_PROGRAMS = bootloader
-
-## IMPORTANT: head.S must be first, T. Straumann 12/17/2001
-bootloader_SOURCES =
-bootloader_SOURCES += ../../../../../../../bsps/powerpc/motorola_powerpc/bootloader/head.S
-bootloader_SOURCES += ../../../../../../../bsps/powerpc/motorola_powerpc/bootloader/exception.S
-bootloader_SOURCES += ../../../../../../../bsps/powerpc/motorola_powerpc/bootloader/em86real.S
-bootloader_SOURCES += ../../../../../../../bsps/powerpc/motorola_powerpc/bootloader/misc.c
-bootloader_SOURCES += ../../../../../../../bsps/powerpc/motorola_powerpc/bootloader/pci.c
-bootloader_SOURCES += ../../../../../../../bsps/powerpc/motorola_powerpc/bootloader/zlib.c
-bootloader_SOURCES += ../../../../../../../bsps/powerpc/motorola_powerpc/bootloader/mm.c
-bootloader_SOURCES += ../../../../../../../bsps/powerpc/motorola_powerpc/bootloader/em86.c
-bootloader_SOURCES += ../../../../../../../bsps/powerpc/motorola_powerpc/console/polled_io.c
-bootloader_SOURCES += ../../../../../../../bsps/powerpc/motorola_powerpc/bootloader/lib.c
-
-# ----
-# Remove references to EABI when compiling bootloader
-BOOTLOADER_CPU_CFLAGS=$(subst -msdata=eabi,,$(subst -meabi,,$(CPU_CFLAGS)))
-AM_CPPFLAGS = -D__BOOT__ @RTEMS_CPPFLAGS@ @RTEMS_BSP_CPPFLAGS@
-AM_CFLAGS = -mrelocatable -msoft-float \
- -mstrict-align -fno-builtin -Wall -mmultiple -mstring -O2 \
- -fomit-frame-pointer -ffixed-r13 -mno-sdata $(BOOTLOADER_CPU_CFLAGS)
-AM_CCASFLAGS = $(AM_CPPFLAGS) \
- -mrelocatable -DASM $(BOOTLOADER_CPU_CFLAGS)
-
-#
-# CAUTION :
-#
-# As we use very specific compilation options in this directory
-# we shall not use any other code. This includes the newlib libc.a
-# as well as other code located in .$(OBJEXT) files in mcp750 directory.
-#
-# NEVER remove lib.c. You have been warned...
-#
-bootloader$(EXEEXT): $(bootloader_OBJECTS)
- $(LD) -r -o $@ $(bootloader_OBJECTS)
- $(NM) $@ | grep ' U '
- @echo "Every symbol listed should be defined in @srcdir@/ppcboot.lds"
-bootloader.$(OBJEXT): bootloader$(EXEEXT)
- cp $< $@
-
-project_lib_DATA = bootloader.$(OBJEXT)
-project_lib_DATA += ../../../../../../../bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds
-
-all-local: $(TMPINSTALL_FILES)
-
-TMPINSTALL_FILES =
-
-$(PROJECT_LIB)/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_LIB)
- @: > $(PROJECT_LIB)/$(dirstamp)
-TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
-
-$(PROJECT_LIB)/bootloader.$(OBJEXT): bootloader.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/bootloader.$(OBJEXT)
-TMPINSTALL_FILES += $(PROJECT_LIB)/bootloader.$(OBJEXT)
-
-$(PROJECT_LIB)/ppcboot.lds: ../../../../../../../bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/ppcboot.lds
-TMPINSTALL_FILES += $(PROJECT_LIB)/ppcboot.lds
-
-CLEANFILES = $(TMPINSTALL_FILES)
-
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac b/c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac
deleted file mode 100644
index 56d550c65a..0000000000
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac
+++ /dev/null
@@ -1,83 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-motorola_powerpc],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-RTEMS_CHECK_TOOL(NM,nm,no)
-
-
-AS=$CC
-AM_PROG_AS
-
-RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK], [*], [1])
-RTEMS_BSPOPTS_HELP([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK],
-[If defined then the BSP may reduce the available memory size
-initially. This can be useful for debugging (reduce the core
-size) or dynamic loading (std gcc text offsets/jumps are < +/-32M).
-Note that the policy can still be defined by the application
-(see sbrk.c, BSP_sbrk_policy). By undefining
-CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed
-and a little memory is saved.])
-
-RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[9600])
-RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],
-[default console baud])
-
-RTEMS_BSPOPTS_SET([mvme2100],[mvme2100],[1])
-RTEMS_BSPOPTS_SET([mvme2100],[*],[])
-RTEMS_BSPOPTS_HELP([mvme2100],
-[Defined for MVME2100 -- undefined for others])
-
-RTEMS_BSPOPTS_SET([mpc8240],[mvme2100],[1])
-RTEMS_BSPOPTS_SET([mpc8240],[*],[])
-RTEMS_BSPOPTS_HELP([mpc8240],
-[Defined for boards with MPC8240 -- undefined for others])
-
-RTEMS_BSPOPTS_SET([qemu],[qemuprep*],[1])
-RTEMS_BSPOPTS_SET([qemu],[*],[])
-RTEMS_BSPOPTS_HELP([qemu],[Defined for QEMU BSP -- undefined for others])
-
-RTEMS_BSPOPTS_SET([mpc750],[mcp750],[1])
-RTEMS_BSPOPTS_SET([mpc750],[*],[])
-RTEMS_BSPOPTS_HELP([mpc750],[Define when mpc750 -- undefined for others])
-
-RTEMS_BSPOPTS_SET([mpc603e],[mtx603e],[1])
-RTEMS_BSPOPTS_SET([mpc603e],[mvme2100],[1])
-RTEMS_BSPOPTS_SET([mpc603e],[*],[])
-RTEMS_BSPOPTS_HELP([mpc603e],[Define when ppc603e -- undefined for others])
-
-RTEMS_BSPOPTS_SET([__ppc_generic],[qemuprep],[1])
-RTEMS_BSPOPTS_SET([__ppc_generic],[qemuprep-altivec],[1])
-RTEMS_BSPOPTS_SET([__ppc_generic],[*],[])
-RTEMS_BSPOPTS_HELP([__ppc_generic],[Define when generic PPC -- undefined for others])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-case "${RTEMS_BSP}" in
- qemuprep* )
-AC_CONFIG_FILES([qemu_fakerom/Makefile])
- ;;
-esac
-AC_CONFIG_FILES([bootloader/Makefile])
-
-RTEMS_PPC_EXCEPTIONS
-
-AM_CONDITIONAL([QEMU],[case xx"${RTEMS_BSP}" in xxqemuprep*) true;; *) false;; esac])
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/qemu_fakerom/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/qemu_fakerom/Makefile.am
deleted file mode 100644
index 34bed1cc7a..0000000000
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/qemu_fakerom/Makefile.am
+++ /dev/null
@@ -1,26 +0,0 @@
-## NOTE: This Makefile.am does not apply RTEMS's compilation rules.
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-AUTOMAKE_OPTIONS = no-exeext
-
-project_lib_DATA = qemu_fakerom.$(OBJEXT)
-project_lib_DATA += qemu_fakerom.elf
-project_lib_DATA += qemu_fakerom.bin
-
-
-## IMPORTANT: head.S must be first, T. Straumann 12/17/2001
-qemu_fakerom.$(OBJEXT): ../../../../../../../bsps/powerpc/motorola_powerpc/bootloader/qemu_fakerom.S
- $(CPPASCOMPILE) -c -o $@ $^
-
-qemu_fakeres.$(OBJEXT): ../../../../../../../bsps/powerpc/motorola_powerpc/bootloader/qemu_fakeres.c
- $(CC) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o $@ $^
-
-qemu_fakerom.elf: qemu_fakerom.$(OBJEXT) qemu_fakeres.$(OBJEXT)
- $(LD) -o $@ $^ -nostdlib -Ttext 0xfff00000 --section-start=.romentry=0xfffffffc
-
-qemu_fakerom.bin: qemu_fakerom.$(OBJEXT) qemu_fakeres.$(OBJEXT)
- $(LD) -o $@ $^ --oformat binary -nostdlib -Ttext 0xfff00000 --section-start=.romentry=0xfffffffc
-
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am b/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am
deleted file mode 100644
index 0c536fb29e..0000000000
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am
+++ /dev/null
@@ -1,100 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/mpc55xxevb/start/bsp_specs
-
-
-
-noinst_PROGRAMS =
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/mpc55xxevb/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-# Link commands
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/shared/start/linkcmds.base
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/mpc55xxevb/start/linkcmds.gwlcfm
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/mpc55xxevb/start/linkcmds.mpc5566evb
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/mpc55xxevb/start/linkcmds.mpc55xx
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/mpc55xxevb/start/linkcmds.mpc5643l_evb
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/mpc55xxevb/start/linkcmds.mpc5668g
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/mpc55xxevb/start/linkcmds.mpc5674fevb
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/mpc55xxevb/start/linkcmds.phycore_mpc5554
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/bsp-start-zero.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/memcpy.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/tictac.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc-exc-handler-table.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/bspgetworkarea.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/exc-vector-base.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/get-system-clock.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/restart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/idle-thread.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/start-config-clock.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/start-config-ebi.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/start-config-ebi-cs.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/start-config-ebi-cs-cal.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/start-config-mmu.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/start-config-mmu-early.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/start-config-siu-pcr.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/start-prologue.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/start-early.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/start-cache.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/start-clock.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/start-flash.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/start-watchdog.c
-
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/mpc55xxevb/clock/clock-config.c
-
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/console/console-config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/console/console-esci.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/console/console-generic.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/console/console-linflex.c
-
-# irq_generic
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-
-# Misc
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/sd-card-init.c
-
-# I2C
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/i2c/i2c_init.c
-
-# BSP library
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/dev/mpc83xx_i2cdrv.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/dev/dspi.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/copy.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/edma.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/emios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/flash_support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/irq.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/siu.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/mpc55xxevb/headers.am
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/configure.ac b/c/src/lib/libbsp/powerpc/mpc55xxevb/configure.ac
deleted file mode 100644
index 809fcd14f2..0000000000
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/configure.ac
+++ /dev/null
@@ -1,225 +0,0 @@
-##
-#
-# @file
-#
-# @ingroup mpc55xx_config
-#
-# @brief Configure script of LibBSP for the MPC55xx evaluation boards.
-#
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-mpc55xxevb],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([gwlcfm],[])
-RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([mpc5643l*],[])
-RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([gwlcfm],[])
-RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_USE_WRITE_THROUGH],[mpc5674f_ecu508*],[1])
-RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_USE_WRITE_THROUGH],[*],[])
-RTEMS_BSPOPTS_HELP([BSP_DATA_CACHE_USE_WRITE_THROUGH],
-[use write-through for data cache])
-
-RTEMS_BSPOPTS_SET([PPC_EXC_CONFIG_USE_FIXED_HANDLER],[*],[1])
-RTEMS_BSPOPTS_HELP([PPC_EXC_CONFIG_USE_FIXED_HANDLER],
-[use fixed high-level exception handler])
-
-RTEMS_BSPOPTS_SET([PPC_EXC_CONFIG_BOOKE_ONLY],[*],[1])
-RTEMS_BSPOPTS_HELP([PPC_EXC_CONFIG_BOOKE_ONLY],
-[only support Book E exception types])
-
-RTEMS_BSPOPTS_SET([BSP_INTERRUPT_HANDLER_TABLE_SIZE],[mpc5643l*],[127])
-RTEMS_BSPOPTS_SET([BSP_INTERRUPT_HANDLER_TABLE_SIZE],[mpc5566*],[127])
-RTEMS_BSPOPTS_SET([BSP_INTERRUPT_HANDLER_TABLE_SIZE],[mpc5674f*],[255])
-RTEMS_BSPOPTS_SET([BSP_INTERRUPT_HANDLER_TABLE_SIZE],[*],[63])
-RTEMS_BSPOPTS_HELP([BSP_INTERRUPT_HANDLER_TABLE_SIZE],
-[defines the maximum number of interrupt handlers])
-
-RTEMS_BSPOPTS_SET([MPC55XX_CONSOLE_MINOR],[mpc5674f_ecu508*],[2])
-RTEMS_BSPOPTS_SET([MPC55XX_CONSOLE_MINOR],[*],[0])
-RTEMS_BSPOPTS_HELP([MPC55XX_CONSOLE_MINOR],
-[determines which serial device will be registered as /dev/console])
-
-RTEMS_BSPOPTS_SET([BSP_DEFAULT_BAUD_RATE],[*],[115200])
-RTEMS_BSPOPTS_HELP([BSP_DEFAULT_BAUD_RATE],
-[default console baud])
-
-RTEMS_BSPOPTS_SET([MPC55XX_ESCI_USE_INTERRUPTS],[*],[1])
-RTEMS_BSPOPTS_HELP([MPC55XX_ESCI_USE_INTERRUPTS],
-[define to zero or one to disable or enable interrupts for the eSCI devices])
-
-RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[gwlcfm],[40000000])
-RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[mpc5643l_evb*],[40000000])
-RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[mpc5668g*],[25000000])
-RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[mpc5674f*],[40000000])
-RTEMS_BSPOPTS_SET([MPC55XX_REFERENCE_CLOCK],[*],[8000000])
-RTEMS_BSPOPTS_HELP([MPC55XX_REFERENCE_CLOCK],
-[Must be defined to be the external reference clock (in Hz)
- for clock generation])
-
-RTEMS_BSPOPTS_SET([MPC55XX_SYSTEM_CLOCK],[gwlcfm],[66000000])
-RTEMS_BSPOPTS_SET([MPC55XX_SYSTEM_CLOCK],[mpc5668g*],[116000000])
-RTEMS_BSPOPTS_SET([MPC55XX_SYSTEM_CLOCK],[mpc5674f*],[264000000])
-RTEMS_BSPOPTS_SET([MPC55XX_SYSTEM_CLOCK],[*] ,[128000000])
-RTEMS_BSPOPTS_HELP([MPC55XX_SYSTEM_CLOCK],
-[The system clock frequency in Hz.])
-
-RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_PREDIV],[gwlcfm],[10])
-RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_PREDIV],[mpc5668g*],[6])
-RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_PREDIV],[mpc5674f*],[5])
-RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_PREDIV],[*] ,[1])
-RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_PREDIV],
-[Must be defined to be the PLL predivider factor for clock generation])
-
-RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_MFD],[gwlcfm],[99])
-RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_MFD],[mpc5668g*],[111])
-RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_MFD],[mpc5674f*],[66])
-RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_MFD],[*] ,[12])
-RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_MFD],
-[Must be defined to be the PLL multiplication factor for clock generation])
-
-RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_ESYNCR1_CLKCFG],[mpc5674f_rsm6],[6])
-RTEMS_BSPOPTS_SET([MPC55XX_FMPLL_ESYNCR1_CLKCFG],[*],[7])
-RTEMS_BSPOPTS_HELP([MPC55XX_FMPLL_ESYNCR1_CLKCFG],
-[the FMPLL ESYNCR1[CLKCFG] value])
-
-RTEMS_BSPOPTS_SET([MPC55XX_SYSTEM_CLOCK_DIVIDER],[mpc5674f*],[2])
-RTEMS_BSPOPTS_SET([MPC55XX_SYSTEM_CLOCK_DIVIDER],[*],[1])
-RTEMS_BSPOPTS_HELP([MPC55XX_SYSTEM_CLOCK_DIVIDER],
-[system clock divider])
-
-RTEMS_BSPOPTS_SET([MPC55XX_EMIOS_PRESCALER],[gwlcfm],[66])
-RTEMS_BSPOPTS_SET([MPC55XX_EMIOS_PRESCALER],[mpc5643l*],[])
-RTEMS_BSPOPTS_SET([MPC55XX_EMIOS_PRESCALER],[*] ,[1])
-RTEMS_BSPOPTS_HELP([MPC55XX_EMIOS_PRESCALER],
-[Must be defined to set the EMIOS prescaler])
-
-RTEMS_BSPOPTS_SET([MPC55XX_NULL_POINTER_PROTECTION],[mpc5566*],[1])
-RTEMS_BSPOPTS_SET([MPC55XX_NULL_POINTER_PROTECTION],[mpc5674f*],[1])
-RTEMS_BSPOPTS_SET([MPC55XX_NULL_POINTER_PROTECTION],[*],[])
-RTEMS_BSPOPTS_HELP([MPC55XX_NULL_POINTER_PROTECTION],
-[enable NULL pointer protection])
-
-RTEMS_BSPOPTS_SET([HAS_SMC91111],[phycore_mpc5554],[1])
-RTEMS_BSPOPTS_HELP([HAS_SMC91111],
-[If defined the board has the SMC91111 networking chip.])
-
-RTEMS_BSPOPTS_SET([SMC91111_ENADDR_IS_SETUP],[phycore_mpc5554],[1])
-RTEMS_BSPOPTS_HELP([SMC91111_ENADDR_IS_SETUP],
-[If defined the SMC91111 chip has the ethernet address loaded at reset.])
-
-RTEMS_BSPOPTS_SET([SMSC9218I_EDMA_RX_CHANNEL],[*],[49])
-RTEMS_BSPOPTS_HELP([SMSC9218I_EDMA_RX_CHANNEL],
-[receive eDMA channel for SMSC9218I network interface])
-
-RTEMS_BSPOPTS_SET([SMSC9218I_EDMA_TX_CHANNEL],[*],[48])
-RTEMS_BSPOPTS_HELP([SMSC9218I_EDMA_TX_CHANNEL],
-[transmit eDMA channel for SMSC9218I network interface])
-
-RTEMS_BSPOPTS_SET([SMSC9218I_BIG_ENDIAN_SUPPORT],[mpc5674f_ecu508*],[1])
-RTEMS_BSPOPTS_HELP([SMSC9218I_BIG_ENDIAN_SUPPORT],
-[enable big endian support for SMSC9218I network interface])
-
-RTEMS_BSPOPTS_SET([SMSC9218I_ENABLE_LED_OUTPUTS],[mpc5674f_ecu508*],[1])
-RTEMS_BSPOPTS_HELP([SMSC9218I_ENABLE_LED_OUTPUTS],
-[enable LED outputs for SMSC9218I network interface])
-
-RTEMS_BSPOPTS_SET([SMSC9218I_RESET_PIN],[mpc5674f_ecu508*],[433])
-RTEMS_BSPOPTS_SET([SMSC9218I_RESET_PIN],[mpc5566*],[186])
-RTEMS_BSPOPTS_SET([SMSC9218I_RESET_PIN],[*],[])
-RTEMS_BSPOPTS_HELP([SMSC9218I_RESET_PIN],
-[reset pin for SMSC9218I network interface])
-
-RTEMS_BSPOPTS_SET([SMSC9218I_IRQ_PIN],[mpc5674f_ecu508*],[450])
-RTEMS_BSPOPTS_SET([SMSC9218I_IRQ_PIN],[mpc5566*],[193])
-RTEMS_BSPOPTS_SET([SMSC9218I_IRQ_PIN],[*],[])
-RTEMS_BSPOPTS_HELP([SMSC9218I_IRQ_PIN],
-[IRQ pin for SMSC9218I network interface])
-
-RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_EMIOS_CHANNEL],[mpc5643l*],[])
-RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_EMIOS_CHANNEL],[mpc5668g*],[])
-RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_EMIOS_CHANNEL],[mpc5674f*],[31])
-RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_EMIOS_CHANNEL],[*],[23])
-RTEMS_BSPOPTS_HELP([MPC55XX_CLOCK_EMIOS_CHANNEL],
-[selects the eMIOS channel for the RTEMS system tick (the default is the last channel)])
-
-RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_PIT_CHANNEL],[mpc5643l*],[3])
-RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_PIT_CHANNEL],[mpc5668g*],[8])
-RTEMS_BSPOPTS_SET([MPC55XX_CLOCK_PIT_CHANNEL],[*],[])
-RTEMS_BSPOPTS_HELP([MPC55XX_CLOCK_PIT_CHANNEL],
-[selects the PIT channel for the RTEMS system tick (the default is the last channel)])
-
-RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[gwlcfm],[5516])
-RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[mpc5566*],[5566])
-RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[mpc5643l*],[5643])
-RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[mpc5668g*],[5668])
-RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[mpc5674f*],[5674])
-RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[*],[5554])
-RTEMS_BSPOPTS_HELP([MPC55XX_CHIP_TYPE],
-[specifies the chip type in use (e.g. 5554 for MPC5554)])
-
-RTEMS_BSPOPTS_SET([MPC55XX_CHIP_FAMILY],[*],[(MPC55XX_CHIP_TYPE / 10)])
-RTEMS_BSPOPTS_HELP([MPC55XX_CHIP_FAMILY],
-[specifies the chip family in use (e.g. 555 for MPC5554)])
-
-RTEMS_BSPOPTS_SET([MPC55XX_EARLY_STACK_SIZE],[*],[1024])
-RTEMS_BSPOPTS_HELP([MPC55XX_EARLY_STACK_SIZE],
-[size of the early initialization stack in bytes])
-
-RTEMS_BSPOPTS_SET([MPC55XX_BOOTFLAGS],[*],[])
-RTEMS_BSPOPTS_HELP([MPC55XX_BOOTFLAGS],
-[if defined, builds in bootflags above the RCHW for setup in a debugger to avoid startup MMU setup])
-
-RTEMS_BSPOPTS_SET([MPC55XX_BOARD_MPC5674FEVB],[mpc5674fevb*],[1])
-RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_MPC5674FEVB],[if defined, use custom settings for MPC5674FEVB board])
-
-RTEMS_BSPOPTS_SET([MPC55XX_BOARD_MPC5566EVB],[mpc5566evb*],[1])
-RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_MPC5566EVB],[if defined, use custom settings for MPC5566EVB board])
-
-RTEMS_BSPOPTS_SET([MPC55XX_BOARD_GWLCFM],[gwlcfm],[1])
-RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_GWLCFM],[if defined, use custom settings for GWLCFM board])
-
-RTEMS_BSPOPTS_SET([MPC55XX_BOARD_MPC5674F_ECU508],[mpc5674f_ecu508*],[1])
-RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_MPC5674F_ECU508],[if defined, use custom settings for ECU508 board])
-
-RTEMS_BSPOPTS_SET([MPC55XX_BOARD_MPC5674F_RSM6],[mpc5674f_rsm6],[1])
-RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_MPC5674F_RSM6],[if defined, use custom settings for RSM6 board])
-
-RTEMS_BSPOPTS_SET([MPC55XX_BOARD_PHYCORE_MPC5554],[phycore_mpc5554],[1])
-RTEMS_BSPOPTS_HELP([MPC55XX_BOARD_PHYCORE_MPC5554],[if defined, use custom settings for phyCORE MPC5554 board])
-
-RTEMS_BSPOPTS_SET([RTEMS_BSP_I2C_EEPROM_DEVICE_NAME],[gwlcfm],['"eeprom"'])
-RTEMS_BSPOPTS_HELP([RTEMS_BSP_I2C_EEPROM_DEVICE_NAME],[EEPROM name for LibI2C])
-RTEMS_BSPOPTS_SET([RTEMS_BSP_I2C_EEPROM_DEVICE_PATH],[gwlcfm],['"/dev/i2c1.eeprom"'])
-RTEMS_BSPOPTS_HELP([RTEMS_BSP_I2C_EEPROM_DEVICE_PATH],[EEPROM device file path])
-
-RTEMS_BSPOPTS_SET([MPC55XX_NEEDS_LOW_LEVEL_INIT],[mpc5674f_*app],[])
-RTEMS_BSPOPTS_SET([MPC55XX_NEEDS_LOW_LEVEL_INIT],[*],[1])
-RTEMS_BSPOPTS_HELP([MPC55XX_NEEDS_LOW_LEVEL_INIT],[if defined, do low level initialization])
-
-RTEMS_BSPOPTS_SET([MPC55XX_ENABLE_START_PROLOGUE],[mpc5674f_rsm6],[1])
-RTEMS_BSPOPTS_HELP([MPC55XX_ENABLE_START_PROLOGUE],[if defined, enable start prologue])
-
-AC_DEFINE(__ppc_generic, 1, [PowerPC model option])
-
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am b/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am
deleted file mode 100644
index 41925bb250..0000000000
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am
+++ /dev/null
@@ -1,59 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/mpc8260ads/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/mpc8260ads/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/clock.c
-
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc8260ads/console/console.c
-
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc8260ads/irq/irq.c
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/bspidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc8260ads/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc8260ads/start/cpuinit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc8260ads/dev/console-generic.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc8260ads/start/brg.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc8260ads/start/cp.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc8260ads/start/dpram.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc8260ads/start/mmu.c
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/mpc8260ads/headers.am
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac b/c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac
deleted file mode 100644
index b9bce068a6..0000000000
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac
+++ /dev/null
@@ -1,69 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-mpc8260ads],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[])
-RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[])
-RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET([UARTS_USE_TERMIOS],[*],[0])
-RTEMS_BSPOPTS_HELP([UARTS_USE_TERMIOS],
-[Define to 1 if you want termios support for every port.
- Termios support is independent of the choice of UART I/O mode.])
-
-RTEMS_BSPOPTS_SET([CONSOLE_MINOR],[*],[SCC2_MINOR])
-RTEMS_BSPOPTS_HELP([CONSOLE_MINOR],
-[(BSP--console driver) Must be defined to be one of SMC1_MINOR,
- SMC2_MINOR, SCC2_MINOR, SCC3_MINOR, or SCC4_MINOR.
- Determines which device will be registered as /dev/console.])
-
-RTEMS_BSPOPTS_SET([UARTS_IO_MODE],[*],[0])
-RTEMS_BSPOPTS_HELP([UARTS_IO_MODE],
-[(BSP--console driver)
- Define to 0 or 1 if you want polled I/O performed by RTEMS.
- Define to 1 if you want interrupt-driven performed by RTEMS.
- Define to 2 if you want polled I/O performed by EPPCBug.
- There is no provision to have a mix of interrupt-driven and polled I/O
- ports, except that the printk port may use a different mode from the
- other ports. If this is done, do not open the printk port from an RTEMS
- application. With EPPCBug 1.1, if mode 2 is selected, CONSOLE_MINOR
- must be set to SMC1_MINOR. This is a deficiency of the firmware: it
- does not perform serial I/O on any port other than its default debug
- port, which must be SMC1.])
-
-RTEMS_BSPOPTS_SET([PRINTK_MINOR],[*],[SMC2_MINOR])
-RTEMS_BSPOPTS_HELP([PRINTK_MINOR],
-[(BSP--console driver)
- Must be defined to be one of SMC1_MINOR, SMC2_MINOR, SCC2_MINOR,
- SCC3_MINOR, or SCC4_MINOR. Determines which device is used for output
- by printk(). If the port that printk() uses is also used for other
- I/O (e.g. if PRINTK_MINOR == \$CONSOLE_MINOR), then both ports should
- use the same type of I/O, otherwise the drivers will likely conflict with
- each other.])
-
-RTEMS_BSPOPTS_SET([DISPATCH_HANDLER_STAT],[*],[])
-RTEMS_BSPOPTS_HELP([DISPATCH_HANDLER_STAT],
-[used by irq/irq.c])
-
-AC_DEFINE(mpc8260, 1, [PowerPC model option])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list a Makefile here
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am b/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am
deleted file mode 100644
index bbcd4bcce2..0000000000
--- a/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am
+++ /dev/null
@@ -1,95 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/mvme3100/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-
-project_lib_DATA =
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/mvme3100/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-
-preload.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/preload.S
- $(CPPASCOMPILE) -DASM -o $@ -c $<
-
-vectors_entry.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/vectors_entry.S
- $(CPPASCOMPILE) -o $@ -c $<
-
-motld_start.$(OBJEXT): preload.$(OBJEXT) vectors_entry.$(OBJEXT) \
- start.$(OBJEXT)
- $(LD) -o $@ -r $^
-
-project_lib_DATA += motld_start.$(OBJEXT)
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/shared/start/linkcmds.share
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme3100/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme3100/start/misc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/bspgetworkarea.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/zerobss.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-# tod
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme3100/rtc/todcfg.c
-# pclock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/p_clock.c
-
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/console/uart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/console/console.c
-
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme3100/irq/irq_init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/openpic_i8259_irq.c
-
-# openpic
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/openpic.c
-
-# pci
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/pci/pci.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme3100/pci/detect_host_bridge.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/pci/generic_clear_hberrs.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/pci/pcifinddevice.c
-
-# flash
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/flash/flash.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/flash/spansionFlash.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme3100/flash/flashcfg.c
-
-# i2c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme3100/i2c/mpc8540_i2c.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme3100/i2c/i2c_init.c
-
-# vpd
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/vpd.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/clock/clock-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/e500-mmu.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/vme-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/mvme3100/headers.am
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/configure.ac b/c/src/lib/libbsp/powerpc/mvme3100/configure.ac
deleted file mode 100644
index cf35fd1ee6..0000000000
--- a/c/src/lib/libbsp/powerpc/mvme3100/configure.ac
+++ /dev/null
@@ -1,49 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-mvme3100],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-RTEMS_CHECK_TOOL(NM,nm,no)
-
-
-AS=$CC
-AM_PROG_AS
-
-RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK], [*], [1])
-RTEMS_BSPOPTS_HELP([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK],
-[If defined then the BSP may reduce the available memory size
-initially. This can be useful for debugging (reduce the core
-size) or dynamic loading (std gcc text offsets/jumps are < +/-32M).
-Note that the policy can still be defined by the application
-(see sbrk.c, BSP_sbrk_policy). By undefining
-CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed
-and a little memory is saved.])
-
-RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[9600])
-RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],
-[default console baud])
-
-AC_DEFINE(__ppc_generic, 1, [PowerPC model option])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am b/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am
deleted file mode 100644
index f1954b7bf2..0000000000
--- a/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am
+++ /dev/null
@@ -1,86 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/mvme5500/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# UNUSED
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme5500/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/pgtbl_setup.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme5500/start/pgtbl_activate.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/zerobss.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/bspgetworkarea.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme5500/start/bspclean.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme5500/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/probeMemEnd.c
-
-# pclock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/p_clock.c
-
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/console/uart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/console/console.c
-
-# pci
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme5500/pci/pci.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme5500/pci/pci_interface.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme5500/pci/detect_host_bridge.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/pci/pci_find_device.c
-
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme5500/irq/irq_init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme5500/irq/BSP_irq.c
-
-# tod
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme5500/rtc/todcfg.c
-
-# vectors
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme5500/start/exceptionhandler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/vectors_entry.S
-
-# GT64260
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme5500/GT64260/GT64260TWSI.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/mvme5500/GT64260/MVME5500I2C.c
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = rtems_crti.$(OBJEXT)
-
-noinst_PROGRAMS += mvme5500start.$(OBJEXT)
-mvme5500start___OBJEXT__SOURCES = ../../../../../../bsps/powerpc/shared/start/preload.S ../../../../../../bsps/powerpc/mvme5500/start/start.S
-mvme5500start___OBJEXT__LDFLAGS = $(RTEMS_RELLDFLAGS)
-
-project_lib_DATA += mvme5500start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/shared/start/linkcmds.share
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup_asm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/clock/clock-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/bat.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/mmuAsm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/pte121.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/vme-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/mvme5500/headers.am
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/configure.ac b/c/src/lib/libbsp/powerpc/mvme5500/configure.ac
deleted file mode 100644
index 76ce4057e8..0000000000
--- a/c/src/lib/libbsp/powerpc/mvme5500/configure.ac
+++ /dev/null
@@ -1,49 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-mvme5500],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-RTEMS_CHECK_TOOL(NM,nm,no)
-
-
-AS=$CC
-AM_PROG_AS
-
-RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK], [*], [1])
-RTEMS_BSPOPTS_HELP([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK],
-[If defined then the BSP may reduce the available memory size
-initially. This can be useful for debugging (reduce the core
-size) or dynamic loading (std gcc text offsets/jumps are < +/-32M).
-Note that the policy can still be defined by the application
-(see sbrk.c, BSP_sbrk_policy). By undefining
-CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed
-and a little memory is saved.])
-
-RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[9600])
-RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],
-[default console baud])
-
-AC_DEFINE(mpc7455, 1, [PowerPC model option])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/psim/Makefile.am b/c/src/lib/libbsp/powerpc/psim/Makefile.am
deleted file mode 100644
index dc29d7973a..0000000000
--- a/c/src/lib/libbsp/powerpc/psim/Makefile.am
+++ /dev/null
@@ -1,73 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/psim/start/bsp_specs
-
-
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/psim/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/shared/start/linkcmds.base
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/psim/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-
-# pclock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/p_clock.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
-# debugio
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/psim/console/console-io.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/psim/console/consupp.S
-
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/psim/irq/irq_init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/openpic_i8259_irq.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/openpic.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-
-# vectors
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/psim/start/align_h.S
-
-if HAS_MP
-# shmdr
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/psim/mpci/addrconv.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/psim/mpci/getcfg.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/psim/mpci/lock.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/psim/mpci/mpisr.c
-endif
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup_asm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/clock/clock-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/bat.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/mmuAsm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/pte121.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/psim/headers.am
diff --git a/c/src/lib/libbsp/powerpc/psim/configure.ac b/c/src/lib/libbsp/powerpc/psim/configure.ac
deleted file mode 100644
index 768f3cfa6d..0000000000
--- a/c/src/lib/libbsp/powerpc/psim/configure.ac
+++ /dev/null
@@ -1,54 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-psim],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-
-RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[0])
-RTEMS_BSPOPTS_HELP([PPC_USE_SPRG],
-[If defined, then the PowerPC specific code in RTEMS will use some
-of the special purpose registers to slightly optimize interrupt
-response time. The use of these registers can conflict with
-other tools like debuggers.])
-
-RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0xFFF00100])
-RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE],
-[This defines the base address of the exception table.
- NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.])
-
-RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_FAST_IDLE],[psim],[1])
-RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_FAST_IDLE],
-[This sets a mode where the time runs as fast as possible when
- a clock ISR occurs while the IDLE thread is executing. This can
- significantly reduce simulation times.])
-
-RTEMS_BSPOPTS_SET([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK], [*], [1])
-RTEMS_BSPOPTS_HELP([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK],
-[If defined then the BSP may reduce the available memory size
-initially. This can be useful for debugging (reduce the core
-size) or dynamic loading (std gcc text offsets/jumps are < +/-32M).
-Note that the policy can still be defined by the application
-(see sbrk.c, BSP_sbrk_policy). By undefining
-CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed
-and a little memory is saved.])
-
-AC_DEFINE(ppc603e, 1, [PowerPC model option])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/qemuppc/Makefile.am b/c/src/lib/libbsp/powerpc/qemuppc/Makefile.am
deleted file mode 100644
index 7a49ba0f1c..0000000000
--- a/c/src/lib/libbsp/powerpc/qemuppc/Makefile.am
+++ /dev/null
@@ -1,54 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/qemuppc/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/qemuppc/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-project_lib_DATA += ../../../../../../bsps/powerpc/shared/start/linkcmds.base
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qemuppc/start/cmain.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qemuppc/start/bspstart.c
-# pclock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/clock.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qemuppc/console/console-io.c
-
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qemuppc/irq/irq_init.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/bat.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/mmuAsm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/pte121.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/qemuppc/headers.am
diff --git a/c/src/lib/libbsp/powerpc/qemuppc/configure.ac b/c/src/lib/libbsp/powerpc/qemuppc/configure.ac
deleted file mode 100644
index f7f5a55680..0000000000
--- a/c/src/lib/libbsp/powerpc/qemuppc/configure.ac
+++ /dev/null
@@ -1,24 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-qemuppc],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-AC_DEFINE(ppc603e, 1, [PowerPC model option])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_PPC_EXCEPTIONS
-
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/qoriq/Makefile.am b/c/src/lib/libbsp/powerpc/qoriq/Makefile.am
deleted file mode 100644
index d1f158e5c7..0000000000
--- a/c/src/lib/libbsp/powerpc/qoriq/Makefile.am
+++ /dev/null
@@ -1,96 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/qoriq/start/bsp_specs
-
-
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/qoriq/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-rtems_crtn.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crtn.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crtn.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/shared/start/linkcmds.base
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/qoriq/start/linkcmds.qoriq_core_0
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/qoriq/start/linkcmds.qoriq_core_1
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/qoriq/start/linkcmds.qoriq_e500
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/qoriq/start/linkcmds.qoriq_e6500_32
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/qoriq/start/linkcmds.qoriq_e6500_64
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bsp-fdt.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc-exc-handler-table.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/tictac.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/bsp-start-zero.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/bspidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/start/epapr_hcalls.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/start/l1cache.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/start/l2cache.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/start/mmu.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/start/mmu-tlb1.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/start/mmu-config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/start/portal.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/start/restart.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/start/bsprestart.c
-
-# Clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/qoriq/clock/clock-config.c
-
-# Timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/btimer/btimer.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/irq/irq.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios-init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/console/uart-bridge-master.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/console/uart-bridge-slave.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/console/console-config.c
-
-# RTC
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/rtc/rtc-config.c
-
-# MPCI
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/mpci/lock.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/mpci/intercom.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/mpci/intercom-mpci.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/e500-mmu.c
-
-if HAS_SMP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/qoriq/start/bspsmp.c
-endif
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/qoriq/headers.am
diff --git a/c/src/lib/libbsp/powerpc/qoriq/configure.ac b/c/src/lib/libbsp/powerpc/qoriq/configure.ac
deleted file mode 100644
index 08f5394d45..0000000000
--- a/c/src/lib/libbsp/powerpc/qoriq/configure.ac
+++ /dev/null
@@ -1,165 +0,0 @@
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-qoriq],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET([BSP_USE_DATA_CACHE_BLOCK_TOUCH],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_USE_DATA_CACHE_BLOCK_TOUCH],[if defined use dcbt instruction])
-
-RTEMS_BSPOPTS_SET([PPC_EXC_CONFIG_USE_FIXED_HANDLER],[*],[1])
-RTEMS_BSPOPTS_HELP([PPC_EXC_CONFIG_USE_FIXED_HANDLER],
-[use fixed high-level exception handler])
-
-RTEMS_BSPOPTS_SET([PPC_EXC_CONFIG_BOOKE_ONLY],[*],[1])
-RTEMS_BSPOPTS_HELP([PPC_EXC_CONFIG_BOOKE_ONLY],
-[only support Book E exception types])
-
-RTEMS_BSPOPTS_SET([PPC_CACHE_ALIGNMENT],[qoriq_e6500*],[64])
-RTEMS_BSPOPTS_SET([PPC_CACHE_ALIGNMENT],[*],[])
-RTEMS_BSPOPTS_HELP([PPC_CACHE_ALIGNMENT],[the cache alignment])
-
-RTEMS_BSPOPTS_SET([PPC_CACHE_DATA_L1_SIZE],[*],[(32 * 1024)])
-RTEMS_BSPOPTS_HELP([PPC_CACHE_DATA_L1_SIZE],[the L1 data cache size])
-
-RTEMS_BSPOPTS_SET([PPC_CACHE_DATA_L2_SIZE],[qoriq_e6500*],[(2048 * 1024)])
-RTEMS_BSPOPTS_SET([PPC_CACHE_DATA_L2_SIZE],[*],[(256 * 1024)])
-RTEMS_BSPOPTS_HELP([PPC_CACHE_DATA_L2_SIZE],[the L2 data cache size])
-
-RTEMS_BSPOPTS_SET([PPC_CACHE_INSTRUCTION_L1_SIZE],[*],[(32 * 1024)])
-RTEMS_BSPOPTS_HELP([PPC_CACHE_INSTRUCTION_L1_SIZE],[the L1 instruction cache size])
-
-RTEMS_BSPOPTS_SET([PPC_CACHE_INSTRUCTION_L2_SIZE],[qoriq_e6500*],[(2048 * 1024)])
-RTEMS_BSPOPTS_SET([PPC_CACHE_INSTRUCTION_L2_SIZE],[*],[(256 * 1024)])
-RTEMS_BSPOPTS_HELP([PPC_CACHE_INSTRUCTION_L2_SIZE],[the L2 instruction cache size])
-
-RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[115200])
-RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],[default baud for console and other serial devices])
-
-RTEMS_BSPOPTS_SET([BSP_USE_UART_INTERRUPTS],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_USE_UART_INTERRUPTS],[enable usage of interrupts for the UART modules])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_SIZE_MAX],[*],[262144])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_SIZE_MAX],[maximum size of the FDT blob in bytes])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_READ_ONLY],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_READ_ONLY],[place the FDT blob into the read-only data area])
-
-RTEMS_BSPOPTS_SET([QORIQ_CPU_COUNT],[qoriq_e6500*],[24])
-RTEMS_BSPOPTS_SET([QORIQ_CPU_COUNT],[*],[2])
-RTEMS_BSPOPTS_HELP([QORIQ_CPU_COUNT],[maximum virtual processor count])
-
-RTEMS_BSPOPTS_SET([QORIQ_PHYSICAL_THREAD_COUNT],[qoriq_e6500*],[2])
-RTEMS_BSPOPTS_SET([QORIQ_PHYSICAL_THREAD_COUNT],[*],[1])
-RTEMS_BSPOPTS_HELP([QORIQ_PHYSICAL_THREAD_COUNT],[the number of threads per core])
-
-RTEMS_BSPOPTS_SET([QORIQ_ETSEC_1_PHY_ADDR],[*],[-1])
-RTEMS_BSPOPTS_HELP([QORIQ_ETSEC_1_PHY_ADDR],[PHY address for eTSEC interface 1])
-
-RTEMS_BSPOPTS_SET([QORIQ_ETSEC_2_PHY_ADDR],[*],[0])
-RTEMS_BSPOPTS_HELP([QORIQ_ETSEC_2_PHY_ADDR],[PHY address for eTSEC interface 2])
-
-RTEMS_BSPOPTS_SET([QORIQ_ETSEC_3_PHY_ADDR],[*],[1])
-RTEMS_BSPOPTS_HELP([QORIQ_ETSEC_3_PHY_ADDR],[PHY address for eTSEC interface 3])
-
-RTEMS_BSPOPTS_SET([QORIQ_UART_0_ENABLE],[qoriq_core_1],[0])
-RTEMS_BSPOPTS_SET([QORIQ_UART_0_ENABLE],[*],[1])
-RTEMS_BSPOPTS_HELP([QORIQ_UART_0_ENABLE],[use 1 to enable UART 0, otherwise use 0])
-
-RTEMS_BSPOPTS_SET([QORIQ_UART_1_ENABLE],[qoriq_core_1],[0])
-RTEMS_BSPOPTS_SET([QORIQ_UART_1_ENABLE],[*],[1])
-RTEMS_BSPOPTS_HELP([QORIQ_UART_1_ENABLE],[use 1 to enable UART 1, otherwise use 0])
-
-RTEMS_BSPOPTS_SET([QORIQ_UART_BRIDGE_MASTER_CORE],[*],[0])
-RTEMS_BSPOPTS_HELP([QORIQ_UART_BRIDGE_MASTER_CORE],[UART to Intercom bridge master core index])
-
-RTEMS_BSPOPTS_SET([QORIQ_UART_BRIDGE_SLAVE_CORE],[*],[1])
-RTEMS_BSPOPTS_HELP([QORIQ_UART_BRIDGE_SLAVE_CORE],[UART to Intercom bridge slave core index])
-
-RTEMS_BSPOPTS_SET([QORIQ_UART_BRIDGE_TASK_PRIORITY],[*],[250])
-RTEMS_BSPOPTS_HELP([QORIQ_UART_BRIDGE_TASK_PRIORITY],[UART to Intercom bridge task priority])
-
-RTEMS_BSPOPTS_SET([QORIQ_UART_BRIDGE_0_ENABLE],[*],[0])
-RTEMS_BSPOPTS_HELP([QORIQ_UART_BRIDGE_0_ENABLE],[use 1 to enable UART 0 to Intercom bridge, otherwise use 0])
-
-RTEMS_BSPOPTS_SET([QORIQ_UART_BRIDGE_1_ENABLE],[qoriq_core_0],[1])
-RTEMS_BSPOPTS_SET([QORIQ_UART_BRIDGE_1_ENABLE],[qoriq_core_1],[1])
-RTEMS_BSPOPTS_SET([QORIQ_UART_BRIDGE_1_ENABLE],[*],[0])
-RTEMS_BSPOPTS_HELP([QORIQ_UART_BRIDGE_1_ENABLE],[use 1 to enable UART 1 to Intercom bridge, otherwise use 0])
-
-RTEMS_BSPOPTS_SET([QORIQ_INTERCOM_AREA_BEGIN],[*],[0x3000000])
-RTEMS_BSPOPTS_HELP([QORIQ_INTERCOM_AREA_BEGIN],[inter-processor communication area begin])
-RTEMS_BSPOPTS_SET([QORIQ_INTERCOM_AREA_SIZE],[*],[0x1000000])
-RTEMS_BSPOPTS_HELP([QORIQ_INTERCOM_AREA_SIZE],[inter-processor communication area size])
-
-RTEMS_BSPOPTS_SET([QORIQ_TLB1_ENTRY_COUNT],[qoriq_e6500*],[64])
-RTEMS_BSPOPTS_SET([QORIQ_TLB1_ENTRY_COUNT],[*],[16])
-RTEMS_BSPOPTS_HELP([QORIQ_TLB1_ENTRY_COUNT],[TLB1 entry count])
-
-RTEMS_BSPOPTS_SET([QORIQ_INITIAL_HID0],[qoriq_e6500*],[0x40000000])
-RTEMS_BSPOPTS_SET([QORIQ_INITIAL_HID0],[*],[])
-RTEMS_BSPOPTS_HELP([QORIQ_INITIAL_HID0],[initial HID0 value (EN_L2MMU_MHD is set by default on the T-series)])
-
-RTEMS_BSPOPTS_SET([QORIQ_INITIAL_MSR],[qoriq_e6500_64*],[0x82002200])
-RTEMS_BSPOPTS_SET([QORIQ_INITIAL_MSR],[qoriq_e6500_32*],[0x02002200])
-RTEMS_BSPOPTS_SET([QORIQ_INITIAL_MSR],[*],[0x02000200])
-RTEMS_BSPOPTS_HELP([QORIQ_INITIAL_MSR],[initial MSR value])
-
-RTEMS_BSPOPTS_SET([QORIQ_INITIAL_SPEFSCR],[qoriq_e6500*],[])
-RTEMS_BSPOPTS_SET([QORIQ_INITIAL_SPEFSCR],[*],[0x00000000])
-RTEMS_BSPOPTS_HELP([QORIQ_INITIAL_SPEFSCR],[initial SPEFSCR value])
-
-RTEMS_BSPOPTS_SET([QORIQ_INITIAL_BUCSR],[qoriq_e6500*],[0x01400201])
-RTEMS_BSPOPTS_SET([QORIQ_INITIAL_BUCSR],[*],[])
-RTEMS_BSPOPTS_HELP([QORIQ_INITIAL_BUCSR],[initial BUCSR value])
-
-RTEMS_BSPOPTS_SET([QORIQ_MMU_DEVICE_MAS7],[qoriq_e6500*],[0xf])
-RTEMS_BSPOPTS_SET([QORIQ_MMU_DEVICE_MAS7],[*],[0x0])
-RTEMS_BSPOPTS_HELP([QORIQ_MMU_DEVICE_MAS7],[MAS7 value for device TLB1 entries])
-
-RTEMS_BSPOPTS_SET([QORIQ_HAS_HYPERVISOR_MODE],[qoriq_e6500*],[1])
-RTEMS_BSPOPTS_SET([QORIQ_HAS_HYPERVISOR_MODE],[*],[])
-RTEMS_BSPOPTS_HELP([QORIQ_HAS_HYPERVISOR_MODE],[defined if the processor core has a hypervisor mode])
-
-RTEMS_BSPOPTS_SET([QORIQ_IS_HYPERVISOR_GUEST],[*],[])
-RTEMS_BSPOPTS_HELP([QORIQ_IS_HYPERVISOR_GUEST],[defined if we are a hypervisor guest])
-
-RTEMS_BSPOPTS_SET([QORIQ_CLOCK_TIMER],[qoriq_core_1],[4])
-RTEMS_BSPOPTS_SET([QORIQ_CLOCK_TIMER],[*],[0])
-RTEMS_BSPOPTS_HELP([QORIQ_CLOCK_TIMER],[global timer used for system clock, 0..3 maps to A0..A3, and 4..7 maps to B0..B3])
-
-RTEMS_BSPOPTS_SET([QORIQ_CLOCK_TIMECOUNTER],[qoriq_core_1],[5])
-RTEMS_BSPOPTS_SET([QORIQ_CLOCK_TIMECOUNTER],[*],[1])
-RTEMS_BSPOPTS_HELP([QORIQ_CLOCK_TIMECOUNTER],[global timer used for the timecounter, 0..3 maps to A0..A3, and 4..7 maps to B0..B3])
-
-RTEMS_BSPOPTS_SET([QORIQ_CHIP_NUMBER],[qoriq_e6500*],[0])
-RTEMS_BSPOPTS_SET([QORIQ_CHIP_NUMBER],[*],[1020])
-RTEMS_BSPOPTS_HELP([QORIQ_CHIP_NUMBER],[chip number, e.g. 1020, 2040, 2080, 4240])
-
-RTEMS_BSPOPTS_SET([QORIQ_CHIP_SERIES],[qoriq_e6500*],[\'T\'])
-RTEMS_BSPOPTS_SET([QORIQ_CHIP_SERIES],[*],[\'P\'])
-RTEMS_BSPOPTS_HELP([QORIQ_CHIP_SERIES],[chip series, e.g. 'P' or 'T'])
-
-RTEMS_BSPOPTS_SET([QORIQ_BUS_CLOCK_DIVIDER],[qoriq_e6500*],[2])
-RTEMS_BSPOPTS_SET([QORIQ_BUS_CLOCK_DIVIDER],[*],[1])
-RTEMS_BSPOPTS_HELP([QORIQ_BUS_CLOCK_DIVIDER],[divider of the platform clock to get the clock most on-chip peripherals])
-
-AC_DEFINE(__ppc_generic, 1, [PowerPC model option])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-RTEMS_PPC_EXCEPTIONS
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/ss555/Makefile.am b/c/src/lib/libbsp/powerpc/ss555/Makefile.am
deleted file mode 100644
index 7640be981c..0000000000
--- a/c/src/lib/libbsp/powerpc/ss555/Makefile.am
+++ /dev/null
@@ -1,66 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/ss555/start/bsp_specs
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/ss555/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# pclock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/ss555/clock/p_clock.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/console/console.c
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/start/iss555.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-# tm27supp
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/start/tm27supp.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_print.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/clock/clock.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/dev/console-generic.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/start/irq_asm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/start/irq.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/start/irq_init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/start/raw_exception.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/start/vectors_init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/start/vectors.S
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-affinity.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-raise-clear.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-enable-disable.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-entry-remove.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-generic.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-handler-install.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-handler-iterate.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-handler-remove.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-info.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-lock.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-server.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-shell.c
-
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/ss555/headers.am
diff --git a/c/src/lib/libbsp/powerpc/ss555/configure.ac b/c/src/lib/libbsp/powerpc/ss555/configure.ac
deleted file mode 100644
index 33bd5365f8..0000000000
--- a/c/src/lib/libbsp/powerpc/ss555/configure.ac
+++ /dev/null
@@ -1,51 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-mbx5xx],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([WATCHDOG_TIMEOUT],[*],[0xFFFF])
-RTEMS_BSPOPTS_HELP([WATCHDOG_TIMEOUT],
-[Define to the desired timeout (in steps of 1/20 msec) to enable the
- watchdog. Default is to disable the watchdog entirely.])
-
-RTEMS_BSPOPTS_SET([UARTS_USE_TERMIOS],[*],[0])
-RTEMS_BSPOPTS_HELP([UARTS_USE_TERMIOS],
-[Define to 1 if you want termios support for every port.
- Termios support is independent of the choice of UART I/O mode.])
-
-RTEMS_BSPOPTS_SET([CONSOLE_MINOR],[*],[SCI2_MINOR])
-RTEMS_BSPOPTS_HELP([CONSOLE_MINOR],
-[Must be defined to be one of SCI1_MINOR or SCI2_MINOR. Determines which
- device will be registered as /dev/console.])
-
-RTEMS_BSPOPTS_SET([UARTS_IO_MODE],[*],[0])
-RTEMS_BSPOPTS_HELP([UARTS_IO_MODE],
-[Define to 1 if you want interrupt-driven I/O for the SCI ports.])
-
-RTEMS_BSPOPTS_SET([PRINTK_MINOR],[*],[SCI2_MINOR])
-RTEMS_BSPOPTS_HELP([PRINTK_MINOR],
-[Must be defined to be one of SCI1_MINOR or SCI2_MINOR. Determines which
- device is used for output by printk(). The printk port always uses polled
- I/O. Don't open the printk port from RTEMS unless also using polled I/O
- for the SCI ports.])
-
-AC_DEFINE(mpc555, 1, [PowerPC model option])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list a Makefile here
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/t32mppc/Makefile.am b/c/src/lib/libbsp/powerpc/t32mppc/Makefile.am
deleted file mode 100644
index ac126d9b1e..0000000000
--- a/c/src/lib/libbsp/powerpc/t32mppc/Makefile.am
+++ /dev/null
@@ -1,64 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/t32mppc/start/bsp_specs
-
-
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/t32mppc/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/shared/start/linkcmds.base
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# Startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc-exc-handler-table.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/tictac.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/bsp-start-zero.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/t32mppc/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/t32mppc/start/bspreset.c
-
-# Clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/t32mppc/clock/clock-config.c
-
-# Timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/t32mppc/irq/irq.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/t32mppc/console/console.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-
-if HAS_SMP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspsmp-dummy.c
-endif
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/t32mppc/headers.am
diff --git a/c/src/lib/libbsp/powerpc/t32mppc/configure.ac b/c/src/lib/libbsp/powerpc/t32mppc/configure.ac
deleted file mode 100644
index dce3d8ea64..0000000000
--- a/c/src/lib/libbsp/powerpc/t32mppc/configure.ac
+++ /dev/null
@@ -1,33 +0,0 @@
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-qoriq],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET([PPC_EXC_CONFIG_USE_FIXED_HANDLER],[*],[1])
-RTEMS_BSPOPTS_HELP([PPC_EXC_CONFIG_USE_FIXED_HANDLER],
-[use fixed high-level exception handler])
-
-RTEMS_BSPOPTS_SET([PPC_EXC_CONFIG_BOOKE_ONLY],[*],[1])
-RTEMS_BSPOPTS_HELP([PPC_EXC_CONFIG_BOOKE_ONLY],
-[only support Book E exception types])
-
-AC_DEFINE(__ppc_generic, 1, [PowerPC model option])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-RTEMS_PPC_EXCEPTIONS
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am b/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am
deleted file mode 100644
index 015453c4ec..0000000000
--- a/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am
+++ /dev/null
@@ -1,64 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/tqm8xx/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/tqm8xx/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/shared/start/linkcmds.base
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/tqm8xx/irq/irq.c
-
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/clock.c
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/tqm8xx/clock/p_clock.c
-
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/tqm8xx/console/console.c
-# spi
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/tqm8xx/spi/spi.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/tqm8xx/btimer/btimer.c
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/bspidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/tqm8xx/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/tqm8xx/start/bspgetworkarea.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/tqm8xx/start/mmutlbtab.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/tqm8xx/start/cpuinit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/tqm8xx/start/cp.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/tqm8xx/start/dpram.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/tqm8xx/start/mmu.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/tqm8xx/headers.am
diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac b/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac
deleted file mode 100644
index 2ba8e28485..0000000000
--- a/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac
+++ /dev/null
@@ -1,99 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-tqm8xx],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
-RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
-
-RTEMS_BSPOPTS_SET([CONSOLE_CHN],[*],[CONS_CHN_SMC1])
-RTEMS_BSPOPTS_HELP([CONSOLE_CHN],
-[(BSP--console driver) Must be defined to be one of CONS_CHN_SMC1,
- CONS_CHN_SMC2, CONS_CHN_SCC1, CONS_CHN_SCC2, CONS_CHN_SCC3, or CONS_CHN_SCC4.
- Determines which device will be registered as /dev/console.])
-
-RTEMS_BSPOPTS_SET([PRINTK_CHN],[*],[CONS_CHN_SMC1])
-RTEMS_BSPOPTS_HELP([PRINTK_CHN],
-[(BSP--console driver)
- Must be defined to be one of CONS_CHN_SMC1, CONS_CHN_SMC2, CONS_CHN_SCC2,
- CONS_CHN_SCC3, or CONS_CHN_SCC4. Determines which device is used for output
- by printk(). If the port that printk() uses is also used for other
- I/O (e.g. if PRINTK_CHN == CONSOLE_CHN), then both ports should
- use the same type of I/O, otherwise the drivers will likely conflict with
- each other.])
-
-RTEMS_BSPOPTS_SET([CONS_SMC1_MODE],[tqm8xx_stk8xx],[CONS_MODE_POLLED])
-RTEMS_BSPOPTS_SET([CONS_SMC1_MODE],[pghplus],[CONS_MODE_IRQ])
-RTEMS_BSPOPTS_SET([CONS_SMC1_MODE],[*],[CONS_MODE_UNUSED])
-RTEMS_BSPOPTS_HELP([CONS_SMC1_MODE],
-[(BSP--SMC1 UART IF mode) Must be defined if SMC1 is used as a tty (UART)
- channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
- interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
-
-RTEMS_BSPOPTS_SET([CONS_SMC2_MODE],[tqm8xx_stk8xx],[CONS_MODE_POLLED])
-RTEMS_BSPOPTS_SET([CONS_SMC2_MODE],[*],[CONS_MODE_UNUSED])
-RTEMS_BSPOPTS_HELP([CONS_SMC2_MODE],
-[(BSP--SMC2 UART IF mode) Must be defined if SMC2 is used as a tty (UART)
- channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
- interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
-
-RTEMS_BSPOPTS_SET([CONS_SCC1_MODE],[*],[CONS_MODE_UNUSED])
-RTEMS_BSPOPTS_HELP([CONS_SCC1_MODE],
-[(BSP--SCC1 UART IF mode) Must be defined if SCC1 is used as a tty (UART)
- channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
- interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
-
-RTEMS_BSPOPTS_SET([CONS_SCC2_MODE],[*],[CONS_MODE_UNUSED])
-RTEMS_BSPOPTS_HELP([CONS_SCC2_MODE],
-[(BSP--SCC2 UART IF mode) Must be defined if SCC2 is used as a tty (UART)
- channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
- interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
-
-RTEMS_BSPOPTS_SET([CONS_SCC3_MODE],[*],[CONS_MODE_UNUSED])
-RTEMS_BSPOPTS_HELP([CONS_SCC3_MODE],
-[(BSP--SCC3 UART IF mode) Must be defined if SCC3 is used as a tty (UART)
- channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
- interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
-
-RTEMS_BSPOPTS_SET([CONS_SCC4_MODE],[*],[CONS_MODE_UNUSED])
-RTEMS_BSPOPTS_HELP([CONS_SCC4_MODE],
-[(BSP--SCC4 UART IF mode) Must be defined if SCC4 is used as a tty (UART)
- channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
- interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
-
-# add selection of primary network interface
-RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_FEC],[pghplus],[1])
-RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_FEC],[*],[0])
-RTEMS_BSPOPTS_HELP([BSP_USE_NETWORK_FEC],
-[If defined, then the BSP will use the Fast Ethernet Controller
- for 10/100MBit networking and used as primary networking interface.])
-
-RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_SCC],[pghplus],[0])
-RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_SCC],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_USE_NETWORK_SCC],
-[If defined, then the BSP will use the Serial Communications Controller (SCC1)
- for 10MBit networking.])
-
-AC_DEFINE(mpc860, 1, [PowerPC model option])
-
-# Explicitly list a Makefile here
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/virtex/Makefile.am b/c/src/lib/libbsp/powerpc/virtex/Makefile.am
deleted file mode 100644
index c4d46ea190..0000000000
--- a/c/src/lib/libbsp/powerpc/virtex/Makefile.am
+++ /dev/null
@@ -1,57 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/virtex/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/virtex/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-# Link commands
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/powerpc/shared/start/linkcmds.base
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-librtemsbsp_a_LIBADD =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-loop.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/virtex/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/bsp-start-zero.S
-
-# bspconsole
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/virtex/console/consolelite.c
-
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/virtex/irq/irq_init.c
-
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/clock.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/virtex/headers.am
diff --git a/c/src/lib/libbsp/powerpc/virtex/configure.ac b/c/src/lib/libbsp/powerpc/virtex/configure.ac
deleted file mode 100644
index 19ecf513a3..0000000000
--- a/c/src/lib/libbsp/powerpc/virtex/configure.ac
+++ /dev/null
@@ -1,45 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-virtex],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-RTEMS_BSPOPTS_SET([RTEMS_XPARAMETERS_H],[*],[\<xparameters_dflt.h\>])
-RTEMS_BSPOPTS_HELP([RTEMS_XPARAMETERS_H],
-[This defines the location of the hardware specific "xparameters.h" file.
- in the file system. Specify an absolute path. Do not forget the double quotes])
-
-RTEMS_BSPOPTS_SET([VIRTEX_CONSOLE_USE_INTERRUPTS],[*],[1])
-RTEMS_BSPOPTS_HELP([VIRTEX_CONSOLE_USE_INTERRUPTS],[if defined use interrupt driven Termios mode])
-
-AC_DEFUN([VIRTEX_REGION],[
-AC_ARG_VAR([$1],[$2; default $3])dnl
-[$1]=[$]{[$1]:-[$3]}
-])
-
-VIRTEX_REGION([VIRTEX_RAM_ORIGIN],[normal RAM region origin],[0x0])
-VIRTEX_REGION([VIRTEX_RAM_LENGTH],[normal RAM region length],[0x7ffffec])
-VIRTEX_REGION([VIRTEX_FAST_RAM_ORIGIN],[fast RAM region origin],[0x0])
-VIRTEX_REGION([VIRTEX_FAST_RAM_LENGTH],[fast RAM region length],[0x0])
-VIRTEX_REGION([VIRTEX_RESET_ORIGIN],[reset region origin],[0x7ffffec])
-VIRTEX_REGION([VIRTEX_RESET_LENGTH],[reset region length],[0x14])
-
-AC_DEFINE(ppc405, 1, [PowerPC model option])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([
-Makefile
-linkcmds:../../../../../../bsps/powerpc/virtex/start/linkcmds.in
-])
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/virtex4/Makefile.am b/c/src/lib/libbsp/powerpc/virtex4/Makefile.am
deleted file mode 100644
index c0a15a7842..0000000000
--- a/c/src/lib/libbsp/powerpc/virtex4/Makefile.am
+++ /dev/null
@@ -1,57 +0,0 @@
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/virtex4/start/bsp_specs
-
-# include
-
-# start
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/virtex4/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-# startup
-librtemsbsp_a_SOURCES = ../../../../../../bsps/powerpc/virtex4/start/bspclean.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/zerobss.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/virtex4/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/memcpy.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-
-# start
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/virtex4/start/start.S
-
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/virtex4/start/dummy_console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/printk-dummy.c
-
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/virtex4/irq/irq_init.c
-
-# mmu
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/virtex4/start/mmu.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/clock/clock-ppc403.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/virtex4/headers.am
diff --git a/c/src/lib/libbsp/powerpc/virtex4/configure.ac b/c/src/lib/libbsp/powerpc/virtex4/configure.ac
deleted file mode 100644
index 16784e1237..0000000000
--- a/c/src/lib/libbsp/powerpc/virtex4/configure.ac
+++ /dev/null
@@ -1,45 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-virtex4],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[1])
-RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE],
-[If defined, then the PowerPC specific code in RTEMS will use
- data cache instructions to optimize the context switch code.
- This code can conflict with debuggers or emulators. It is known
- to break the Corelis PowerPC emulator with at least some combinations
- of PowerPC 603e revisions and emulator versions.
- The BSP actually contains the call that enables this.])
-
-RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[1])
-RTEMS_BSPOPTS_HELP([PPC_USE_SPRG],
-[If defined, then the PowerPC specific code in RTEMS will use some
- of the special purpose registers to slightly optimize interrupt
- response time. The use of these registers can conflict with
- other tools like debuggers.])
-
-RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0x0100])
-RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE],
-[This defines the base address of the exception table.])
-
-AC_DEFINE(ppc405, 1, [PowerPC model option])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/virtex5/Makefile.am b/c/src/lib/libbsp/powerpc/virtex5/Makefile.am
deleted file mode 100644
index d2cc338104..0000000000
--- a/c/src/lib/libbsp/powerpc/virtex5/Makefile.am
+++ /dev/null
@@ -1,59 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/powerpc/virtex5/start/bsp_specs
-
-# include
-
-# start
-
-start.$(OBJEXT): ../../../../../../bsps/powerpc/virtex5/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-rtems_crti.$(OBJEXT): ../../../../../../bsps/powerpc/shared/start/rtems_crti.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA += rtems_crti.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-# startup
-librtemsbsp_a_SOURCES = ../../../../../../bsps/powerpc/virtex5/start/bspclean.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/zerobss.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/virtex5/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/start/memcpy.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-
-# start
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/virtex5/start/start.S
-
-# clock & timer
-librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/p_clock.c
-
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/virtex5/start/dummy_console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/printk-dummy.c
-
-# irq
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/virtex5/irq/irq_init.c
-
-# mmu
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/virtex5/start/mmu.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/clock/clock-ppc-dec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
-include $(srcdir)/../../../../../../bsps/powerpc/virtex5/headers.am
diff --git a/c/src/lib/libbsp/powerpc/virtex5/configure.ac b/c/src/lib/libbsp/powerpc/virtex5/configure.ac
deleted file mode 100644
index 555fee040b..0000000000
--- a/c/src/lib/libbsp/powerpc/virtex5/configure.ac
+++ /dev/null
@@ -1,45 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-virtex5],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[1])
-RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE],
-[If defined, then the PowerPC specific code in RTEMS will use
- data cache instructions to optimize the context switch code.
- This code can conflict with debuggers or emulators. It is known
- to break the Corelis PowerPC emulator with at least some combinations
- of PowerPC 603e revisions and emulator versions.
- The BSP actually contains the call that enables this.])
-
-RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[1])
-RTEMS_BSPOPTS_HELP([PPC_USE_SPRG],
-[If defined, then the PowerPC specific code in RTEMS will use some
- of the special purpose registers to slightly optimize interrupt
- response time. The use of these registers can conflict with
- other tools like debuggers.])
-
-RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0x0100])
-RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE],
-[This defines the base address of the exception table.])
-
-AC_DEFINE(ppc440, 1, [PowerPC model option])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/riscv/Makefile.am b/c/src/lib/libbsp/riscv/Makefile.am
deleted file mode 100644
index 3238acf7a6..0000000000
--- a/c/src/lib/libbsp/riscv/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-## Descend into the @RTEMS_BSP_FAMILY@ directory
-## Currently, the shared directory is not explicitly
-## added but it is present in the source tree.
-
-
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(srcdir)/../../../../../bsps/riscv/headers.am
diff --git a/c/src/lib/libbsp/riscv/acinclude.m4 b/c/src/lib/libbsp/riscv/acinclude.m4
deleted file mode 100644
index db1a210fd4..0000000000
--- a/c/src/lib/libbsp/riscv/acinclude.m4
+++ /dev/null
@@ -1,12 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- griscv )
- AC_CONFIG_SUBDIRS([griscv]);;
- riscv )
- AC_CONFIG_SUBDIRS([riscv]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/riscv/configure.ac b/c/src/lib/libbsp/riscv/configure.ac
deleted file mode 100644
index c8494e34cd..0000000000
--- a/c/src/lib/libbsp/riscv/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-# Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-riscv],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-RTEMS_PROJECT_ROOT
-
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/riscv/griscv/Makefile.am b/c/src/lib/libbsp/riscv/griscv/Makefile.am
deleted file mode 100644
index 56f4ad271f..0000000000
--- a/c/src/lib/libbsp/riscv/griscv/Makefile.am
+++ /dev/null
@@ -1,71 +0,0 @@
-##
-#
-# @brief Makefile of LibBSP for the RISCV/Spike simulator.
-#
-#
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/riscv/griscv/start/bsp_specs
-
-###############################################################################
-# Header #
-###############################################################################
-
-###############################################################################
-# Data #
-###############################################################################
-
-start.$(OBJEXT): ../../../../../../bsps/riscv/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-project_lib_DATA += linkcmds.base
-
-###############################################################################
-# LibBSP #
-###############################################################################
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-# Startup
-librtemsbsp_a_SOURCES = ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/griscv/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/griscv/start/bsp_fatal_halt.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/griscv/start/amba.c
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/riscv/griscv/clock/clockdrv.c
-
-# Timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/griscv/irq/irq.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/griscv/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/griscv/console/printk_support.c
-
-if HAS_SMP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/griscv/start/bspsmp.c
-endif
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/grlib-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/riscv/griscv/headers.am
diff --git a/c/src/lib/libbsp/riscv/griscv/configure.ac b/c/src/lib/libbsp/riscv/griscv/configure.ac
deleted file mode 100644
index a92676169f..0000000000
--- a/c/src/lib/libbsp/riscv/griscv/configure.ac
+++ /dev/null
@@ -1,59 +0,0 @@
-##
-#
-# @file
-#
-# @brief Configure script of LibBSP for riscv BSP.
-#
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-riscv],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[115200])
-RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],[default baud for console driver devices (default 115200)])
-
-RTEMS_BSPOPTS_SET([RISCV_MAXIMUM_EXTERNAL_INTERRUPTS],[*],[64])
-RTEMS_BSPOPTS_HELP([RISCV_MAXIMUM_EXTERNAL_INTERRUPTS],[maximum number of external interrupts supported by the BSP (default 64)])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-RISCV_RAM_REGION_BEGIN_DEFAULT=0x40000000
-
-AC_DEFUN([RISCV_LINKCMD],[
-AC_ARG_VAR([$1],[$2])dnl
-[$1]=[$]{[$1]:-[$3]}
-])
-
-case "${RTEMS_BSP}" in
- *clang)
- RISCV_LINKER_START_DIRECTIVE_DEFAULT="INPUT"
- RISCV_LINKER_ALIGN_DIRECTIVE_DEFAULT="ALIGN(8)"
- ;;
- *)
- RISCV_LINKER_START_DIRECTIVE_DEFAULT="STARTUP"
- RISCV_LINKER_ALIGN_DIRECTIVE_DEFAULT="ALIGN_WITH_INPUT"
- ;;
-esac
-
-AC_DEFUN([RISCV_LINKCMD],[
-AC_ARG_VAR([$1],[$2])dnl
-[$1]=[$]{[$1]:-[$3]}
-])
-
-RISCV_LINKCMD([RISCV_RAM_REGION_BEGIN],[begin of the RAM region for linker command file (default is 0x40000000)],[${RISCV_RAM_REGION_BEGIN_DEFAULT}])
-RISCV_LINKCMD([RISCV_RAM_REGION_SIZE],[size of the RAM region for linker command file (default 16MiB)],[0x01000000])
-RISCV_LINKCMD([RISCV_LINKER_START_DIRECTIVE],[GNU LD understands STARTUP directive while LLVM/LLD does not and needs INPUT instead],[${RISCV_LINKER_START_DIRECTIVE_DEFAULT}])
-RISCV_LINKCMD([RISCV_LINKER_ALIGN_DIRECTIVE],[LLD does not support ALIGN_WITH_INPUT directive],[${RISCV_LINKER_ALIGN_DIRECTIVE_DEFAULT}])
-
-AC_CONFIG_FILES([
-Makefile
-linkcmds:../../../../../../bsps/riscv/griscv/start/linkcmds.in
-linkcmds.base:../../../../../../bsps/riscv/shared/start/linkcmds.base.in
-])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/riscv/riscv/Makefile.am b/c/src/lib/libbsp/riscv/riscv/Makefile.am
deleted file mode 100644
index 261972d688..0000000000
--- a/c/src/lib/libbsp/riscv/riscv/Makefile.am
+++ /dev/null
@@ -1,71 +0,0 @@
-##
-#
-# @brief Makefile of LibBSP for the RISCV/Spike simulator.
-#
-#
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/riscv/riscv/start/bsp_specs
-
-###############################################################################
-# Header #
-###############################################################################
-
-###############################################################################
-# Data #
-###############################################################################
-
-start.$(OBJEXT): ../../../../../../bsps/riscv/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-project_lib_DATA += linkcmds.base
-
-###############################################################################
-# LibBSP #
-###############################################################################
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-# Startup
-librtemsbsp_a_SOURCES = ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/start/bsp_fatal_halt.c
-
-# Shared
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bsp-fdt.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/riscv/riscv/clock/clockdrv.c
-
-# Timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-cpucounter.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/irq/irq.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-# Console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/console/console-config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/console/htif.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/console/fe310-uart.c
-
-if HAS_SMP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/start/bspsmp.c
-endif
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/riscv/riscv/headers.am
diff --git a/c/src/lib/libbsp/riscv/riscv/configure.ac b/c/src/lib/libbsp/riscv/riscv/configure.ac
deleted file mode 100644
index 4494a03536..0000000000
--- a/c/src/lib/libbsp/riscv/riscv/configure.ac
+++ /dev/null
@@ -1,96 +0,0 @@
-##
-#
-# @file
-#
-# @brief Configure script of LibBSP for riscv BSP.
-#
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-riscv],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-RTEMS_BSPOPTS_SET([BSP_START_COPY_FDT_FROM_U_BOOT],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_START_COPY_FDT_FROM_U_BOOT],[copy the U-Boot provided FDT to an internal storage])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_SIZE_MAX],[*],[65536])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_SIZE_MAX],[maximum size of the FDT blob in bytes])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_READ_ONLY],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_READ_ONLY],[place the FDT blob into the read-only data area])
-
-RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA],[copy the FDT blob into the read-only load area via bsp_fdt_copy()])
-
-RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[115200])
-RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],[default baud for console driver devices (default 115200)])
-
-RTEMS_BSPOPTS_SET([RISCV_MAXIMUM_EXTERNAL_INTERRUPTS],[*],[64])
-RTEMS_BSPOPTS_HELP([RISCV_MAXIMUM_EXTERNAL_INTERRUPTS],[maximum number of external interrupts supported by the BSP (default 64)])
-
-RTEMS_BSPOPTS_SET([RISCV_ENABLE_HTIF_SUPPORT],[*],[])
-RTEMS_BSPOPTS_HELP([RISCV_ENABLE_HTIF_SUPPORT],[enables the HTIF support if defined to a non-zero value, otherwise it is disabled (disabled by default)])
-
-RTEMS_BSPOPTS_SET([RISCV_CONSOLE_MAX_NS16550_DEVICES],[frdme310arty*],[])
-RTEMS_BSPOPTS_SET([RISCV_CONSOLE_MAX_NS16550_DEVICES],[*],[2])
-RTEMS_BSPOPTS_HELP([RISCV_CONSOLE_MAX_NS16550_DEVICES],[maximum number of NS16550 devices supported by the console driver (2 by default)])
-
-RTEMS_BSPOPTS_SET([RISCV_ENABLE_FRDME310ARTY_SUPPORT],[frdme310arty*],[1])
-RTEMS_BSPOPTS_SET([RISCV_ENABLE_FRDME310ARTY_SUPPORT],[*],[])
-RTEMS_BSPOPTS_HELP([RISCV_ENABLE_FRDME310ARTY_SUPPORT],[enables support sifive Freedom E310 Arty board if defined to a non-zero value,otherwise it is disabled (disabled by default)])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-case "${RTEMS_BSP}" in
- rv64*medany)
- RISCV_RAM_REGION_BEGIN_DEFAULT=0x80000000
- ;;
- rv64*)
- RISCV_RAM_REGION_BEGIN_DEFAULT=0x70000000
- ;;
- *)
- RISCV_RAM_REGION_BEGIN_DEFAULT=0x80000000
- ;;
-esac
-
-case "${RTEMS_BSP}" in
- frdm*310arty)
- RISCV_RAM_REGION_SIZE_DEFAULT=0x10000000
- ;;
- *)
- RISCV_RAM_REGION_SIZE_DEFAULT=0x04000000
- ;;
-esac
-
-case "${RTEMS_BSP}" in
- *clang)
- RISCV_LINKER_START_DIRECTIVE_DEFAULT="INPUT"
- RISCV_LINKER_ALIGN_DIRECTIVE_DEFAULT="ALIGN(8)"
- ;;
- *)
- RISCV_LINKER_START_DIRECTIVE_DEFAULT="STARTUP"
- RISCV_LINKER_ALIGN_DIRECTIVE_DEFAULT="ALIGN_WITH_INPUT"
- ;;
-esac
-
-AC_DEFUN([RISCV_LINKCMD],[
-AC_ARG_VAR([$1],[$2])dnl
-[$1]=[$]{[$1]:-[$3]}
-])
-
-RISCV_LINKCMD([RISCV_RAM_REGION_BEGIN],[begin of the RAM region for linker command file (default is 0x70000000 for 64-bit with -mcmodel=medlow and 0x80000000 for all other)],[${RISCV_RAM_REGION_BEGIN_DEFAULT}])
-RISCV_LINKCMD([RISCV_RAM_REGION_SIZE],[size of the RAM region for linker command file (default is 256 MiB for frdme310arty and 64 MiB for all other)],[${RISCV_RAM_REGION_SIZE_DEFAULT}])
-RISCV_LINKCMD([RISCV_LINKER_START_DIRECTIVE],[GNU LD understands STARTUP directive while LLVM/LLD does not and needs INPUT instead],[${RISCV_LINKER_START_DIRECTIVE_DEFAULT}])
-RISCV_LINKCMD([RISCV_LINKER_ALIGN_DIRECTIVE],[LLD does not support ALIGN_WITH_INPUT directive],[${RISCV_LINKER_ALIGN_DIRECTIVE_DEFAULT}])
-
-AC_CONFIG_FILES([
-Makefile
-linkcmds:../../../../../../bsps/riscv/riscv/start/linkcmds.in
-linkcmds.base:../../../../../../bsps/riscv/shared/start/linkcmds.base.in
-])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/sh/Makefile.am b/c/src/lib/libbsp/sh/Makefile.am
deleted file mode 100644
index 92d3859d86..0000000000
--- a/c/src/lib/libbsp/sh/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-# Descend into the @RTEMS_BSP_FAMILY@ directory
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-
-include $(top_srcdir)/../../../automake/subdirs.am
diff --git a/c/src/lib/libbsp/sh/acinclude.m4 b/c/src/lib/libbsp/sh/acinclude.m4
deleted file mode 100644
index b9cd1aadad..0000000000
--- a/c/src/lib/libbsp/sh/acinclude.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- gensh1 )
- AC_CONFIG_SUBDIRS([gensh1]);;
- gensh2 )
- AC_CONFIG_SUBDIRS([gensh2]);;
- gensh4 )
- AC_CONFIG_SUBDIRS([gensh4]);;
- shsim )
- AC_CONFIG_SUBDIRS([shsim]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/sh/configure.ac b/c/src/lib/libbsp/sh/configure.ac
deleted file mode 100644
index b4a0899aed..0000000000
--- a/c/src/lib/libbsp/sh/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-sh],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-
-RTEMS_PROJECT_ROOT
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/sh/gensh1/Makefile.am b/c/src/lib/libbsp/sh/gensh1/Makefile.am
deleted file mode 100644
index 437111570d..0000000000
--- a/c/src/lib/libbsp/sh/gensh1/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/sh/gensh1/start/bsp_specs
-
-
-
-start.$(OBJEXT): ../../../../../../bsps/sh/gensh1/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shared/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-loop.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shared/start/bsphwinit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES +=../../../../../../bsps/sh/gensh1/clock/ckinit.c
-librtemsbsp_a_SOURCES +=../../../../../../bsps/sh/gensh1/clock/delay.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh1/start/cpu_asm.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh1/start/ispsh7032.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh1/btimer/btimer.c
-# scitab
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh1/console/scitab.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shared/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh1/console/sci.c
-# debugio
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/printk-dummy.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/sh/gensh1/headers.am
diff --git a/c/src/lib/libbsp/sh/gensh1/configure.ac b/c/src/lib/libbsp/sh/gensh1/configure.ac
deleted file mode 100644
index d336f9e094..0000000000
--- a/c/src/lib/libbsp/sh/gensh1/configure.ac
+++ /dev/null
@@ -1,26 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-sh-gensh1],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-## bsp-specific options
-RTEMS_BSPOPTS_SET([START_HW_INIT],[*],[])
-RTEMS_BSPOPTS_HELP([START_HW_INIT],
-[If defined, selects whether 'early_hw_init()' is called from 'start.S';
- 'bsp_hw_init()' is always called from 'bspstart.c'])
-
-AC_DEFINE(CPU_CLOCK_RATE_HZ, 20000000, [cpu clock rate in HZ])
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/sh/gensh2/Makefile.am b/c/src/lib/libbsp/sh/gensh2/Makefile.am
deleted file mode 100644
index b322eaa1d3..0000000000
--- a/c/src/lib/libbsp/sh/gensh2/Makefile.am
+++ /dev/null
@@ -1,50 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/sh/gensh2/start/bsp_specs
-
-
-
-start.$(OBJEXT): ../../../../../../bsps/sh/gensh2/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/sh/gensh2/start/linkcmds.ram
-dist_project_lib_DATA += ../../../../../../bsps/sh/gensh2/start/linkcmds.rom
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh2/start/hw_init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shared/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shared/start/bsphwinit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES +=../../../../../../bsps/sh/gensh2/clock/ckinit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh2/start/cpu_asm.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh2/start/ispsh7045.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh2/btimer/btimer.c
-# scitab
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh2/console/scitab.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shared/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh2/console/config.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh2/console/sci.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh2/console/sci_termios.c
-# debugio
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/printk-dummy.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/sh/gensh2/headers.am
diff --git a/c/src/lib/libbsp/sh/gensh2/configure.ac b/c/src/lib/libbsp/sh/gensh2/configure.ac
deleted file mode 100644
index 97203eeceb..0000000000
--- a/c/src/lib/libbsp/sh/gensh2/configure.ac
+++ /dev/null
@@ -1,31 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-sh-gensh2],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-## bsp-specific options
-AC_DEFINE(CPU_CLOCK_RATE_HZ, 29491200, [cpu clock rate in HZ])
-
-RTEMS_BSPOPTS_SET([START_HW_INIT],[*],[])
-RTEMS_BSPOPTS_HELP([START_HW_INIT],
-[If defined, selects whether 'early_hw_init()' is called from 'start.S';
- 'bsp_hw_init()' is always called from 'bspstart.c'])
-
-RTEMS_BSPOPTS_SET([STANDALONE_EVB],[*],[])
-RTEMS_BSPOPTS_HELP([STANDALONE_EVB],
-[If defined, compiles code to jump-start from FLASH, without a monitor])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/sh/gensh4/Makefile.am b/c/src/lib/libbsp/sh/gensh4/Makefile.am
deleted file mode 100644
index ce842c72ca..0000000000
--- a/c/src/lib/libbsp/sh/gensh4/Makefile.am
+++ /dev/null
@@ -1,45 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/sh/gensh4/start/bsp_specs
-
-
-start.$(OBJEXT): ../../../../../../bsps/sh/gensh4/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/sh/gensh4/start/linkcmds.rom
-dist_project_lib_DATA += ../../../../../../bsps/sh/gensh4/start/linkcmds.rom2ram
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shared/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shared/start/bsphwinit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh4/start/cpu_asm.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh4/start/ispsh7750.c
-librtemsbsp_a_SOURCES +=../../../../../../bsps/sh/gensh4/clock/ckinit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh4/btimer/btimer.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh4/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/printk-dummy.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh4/console/sh4uart.c
-# hw_init
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh4/start/hw_init.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/sh/gensh4/headers.am
diff --git a/c/src/lib/libbsp/sh/gensh4/configure.ac b/c/src/lib/libbsp/sh/gensh4/configure.ac
deleted file mode 100644
index 09985ba45a..0000000000
--- a/c/src/lib/libbsp/sh/gensh4/configure.ac
+++ /dev/null
@@ -1,37 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-sh-gensh4],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-## bsp-specific options
-CPU_CLOCK_RATE_HZ=${CPU_CLOCK_RATE_HZ-96000000}
-AC_DEFINE_UNQUOTED(
- [CPU_CLOCK_RATE_HZ],
- [$CPU_CLOCK_RATE_HZ],
- [cpu clock rate in HZ])
-
-# START_HW_INIT
-# This switch selects whether 'early_hw_init()' is called from
-# 'start.S'; 'bsp_hw_init()' is always called from 'bspstart.c'
-RTEMS_BSPOPTS_SET([START_HW_INIT],[*],[0])
-RTEMS_BSPOPTS_HELP([START_HW_INIT],
- [Whether to call early_hw_init from start.S])
-
-RTEMS_BSPOPTS_SET([COPY_DATA_FROM_ROM],[*],[0])
-RTEMS_BSPOPTS_HELP([COPY_DATA_FROM_ROM],
- [Whether to copy data from ROM to RAM in start.S])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/sh/shsim/Makefile.am b/c/src/lib/libbsp/sh/shsim/Makefile.am
deleted file mode 100644
index 05f6d04fa7..0000000000
--- a/c/src/lib/libbsp/sh/shsim/Makefile.am
+++ /dev/null
@@ -1,49 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/sh/shsim/start/bsp_specs
-
-
-
-start.$(OBJEXT): ../../../../../../bsps/sh/shsim/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shared/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shared/start/bsphwinit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shsim/start/sysexit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shsim/start/cpu_asm.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shsim/start/ispshgdb.c
-
-# clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/clock/clock-simidle.c
-
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shsim/console/console-io.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shsim/console/console-support.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shsim/console/console-debugio.c
-
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/sh/shsim/headers.am
diff --git a/c/src/lib/libbsp/sh/shsim/configure.ac b/c/src/lib/libbsp/sh/shsim/configure.ac
deleted file mode 100644
index 29ab21803c..0000000000
--- a/c/src/lib/libbsp/sh/shsim/configure.ac
+++ /dev/null
@@ -1,41 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-sh-shsim],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-##
-RTEMS_BSP_ARG_ENABLE([iomem-patch],
-[ --enable-iomem-patch=[[yes|no]]])
-if test x"$enable_iomem_patch" = x"yes"; then
-AC_DEFINE_UNQUOTED(
- [HAVE_SHSIM_IOMEM_PATCH],
- [1],
- [whether support for functional IOMEM in shsim/gdb shall be enabled])
-fi
-
-RTEMS_BSPOPTS_SET([CPU_CLOCK_RATE_HZ],[*],[20000000])
-RTEMS_BSPOPTS_HELP([CPU_CLOCK_RATE_HZ],
-[cpu clock rate in HZ])
-
-RTEMS_BSPOPTS_SET([START_HW_INIT],[*],[])
-RTEMS_BSPOPTS_HELP([START_HW_INIT],
-[If defined, selects whether 'early_hw_init()' is called from 'start.S';
- 'bsp_hw_init()' is always called from 'bspstart.c'])
-
-## Used in scitab/Makefile.am
-AC_SUBST(CPU_CLOCK_RATE_HZ)
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/sparc/Makefile.am b/c/src/lib/libbsp/sparc/Makefile.am
deleted file mode 100644
index 5b3a002ac6..0000000000
--- a/c/src/lib/libbsp/sparc/Makefile.am
+++ /dev/null
@@ -1,64 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-# Descend into the @RTEMS_BSP_FAMILY@ directory
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-
-
-# Interrupt
-
-# AMBA Plug&Play bus
-
-# Clock Driver and Timer Library
-
-# PCI bus
-
-# PCI target boards
-
-# DEBUG
-
-# SpaceWire
-
-# UART
-
-# CAN (OC_CAN, GRCAN)
-
-# MEM
-
-# L2CACHE
-
-# GRIOMMU
-
-# MIL-STD-B1553 (Core1553BRM)
-
-# MIL-STD-B1553 (GR1553B)
-
-# I2C-master (I2CMST)
-
-# SPI
-
-# TIME
-
-# GPIO
-
-# PWM
-
-# ADC and DAC
-
-# GRETH
-
-# Network configuration
-
-# Driver Manager
-
-
-# GR712
-
-# TMTC
-
-# MEMSCRUB
-
-# L4STAT
-
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(srcdir)/../../../../../bsps/sparc/headers.am
diff --git a/c/src/lib/libbsp/sparc/acinclude.m4 b/c/src/lib/libbsp/sparc/acinclude.m4
deleted file mode 100644
index 4d40305601..0000000000
--- a/c/src/lib/libbsp/sparc/acinclude.m4
+++ /dev/null
@@ -1,14 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- erc32 )
- AC_CONFIG_SUBDIRS([erc32]);;
- leon2 )
- AC_CONFIG_SUBDIRS([leon2]);;
- leon3 )
- AC_CONFIG_SUBDIRS([leon3]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/sparc/configure.ac b/c/src/lib/libbsp/sparc/configure.ac
deleted file mode 100644
index 61b0ee6158..0000000000
--- a/c/src/lib/libbsp/sparc/configure.ac
+++ /dev/null
@@ -1,23 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-sparc],
-[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-RTEMS_PROJECT_ROOT
-AC_SUBST(RTEMS_CPU)
-AC_SUBST(RTEMS_BSP_FAMILIY)
-
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/sparc/erc32/Makefile.am b/c/src/lib/libbsp/sparc/erc32/Makefile.am
deleted file mode 100644
index 1c1c35a6b5..0000000000
--- a/c/src/lib/libbsp/sparc/erc32/Makefile.am
+++ /dev/null
@@ -1,66 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/sparc/erc32/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/sparc/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/sparc/shared/start/linkcmds.base
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/start/bspgetworkarea.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/erc32/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/erc32/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/erc32/start/erc32mec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/erc32/start/boardinit.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/erc32/start/bspidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/erc32/start/bspdelay.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/start/bsp_fatal_exit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/start/bsp_fatal_halt.c
-# gnatsupp
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/erc32/gnatsupp/gnatsupp.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/gnatcommon.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/erc32/console/erc32_console.c
-# debugio
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/erc32/console/debugputs.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/sparc/erc32/clock/ckinit.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/erc32/btimer/btimer.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/irq/irq-shared.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/irq/bsp_isr_handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-
-if HAS_SMP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/erc32/start/bspsmp.c
-endif
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/sparc/erc32/headers.am
diff --git a/c/src/lib/libbsp/sparc/erc32/configure.ac b/c/src/lib/libbsp/sparc/erc32/configure.ac
deleted file mode 100644
index 22e45b098d..0000000000
--- a/c/src/lib/libbsp/sparc/erc32/configure.ac
+++ /dev/null
@@ -1,37 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-sparc-erc32],
-[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-
-## bsp-specific options
-RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0])
-RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],
-[The erc32 console driver can operate in either polled or interrupt mode.
-Under the simulator (especially when FAST_UART is defined), polled seems
-to operate better. It is common for a task to print a line (like the end
-of test message) and then exit. In this case, the program returns control
-to the simulator command line before the program has even queued the output
-to the uart. Thus sis has no chance of getting the data out.])
-
-RTEMS_BSPOPTS_SET([BSP_POWER_DOWN_AT_FATAL_HALT],[*],[])
-RTEMS_BSPOPTS_HELP([BSP_POWER_DOWN_AT_FATAL_HALT],
-[If defined, CPU is spinning on fatal exit. Otherwise generate system
- error which will hand over to debugger, simulator, etc.])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/sparc/leon2/Makefile.am b/c/src/lib/libbsp/sparc/leon2/Makefile.am
deleted file mode 100644
index b2c55f83ad..0000000000
--- a/c/src/lib/libbsp/sparc/leon2/Makefile.am
+++ /dev/null
@@ -1,71 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/sparc/leon2/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/sparc/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/sparc/shared/start/linkcmds.base
-dist_project_lib_DATA += ../../../../../../bsps/sparc/leon2/start/linkcmds.at697f
-dist_project_lib_DATA += ../../../../../../bsps/sparc/leon2/start/linkcmds.leon2
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/start/bspgetworkarea.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/start/bspidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/start/bspdelay.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/start/bsp_fatal_exit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/start/bsp_fatal_halt.c
-
-# gnatsupp
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/gnatsupp/gnatsupp.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/gnatcommon.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/console/console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/console/debugputs.c
-# clock
-librtemsbsp_a_SOURCES +=../../../../../../bsps/sparc/leon2/clock/ckinit.c
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/irq/irq-shared.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/irq/bsp_isr_handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-
-# PCI
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/pci/at697_pci.c
-# l2cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/start/cache.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/btimer/btimer.c
-
-# Driver Manager
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/drvmgr/ambapp_bus_leon2.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/drvmgr/leon2_amba_bus.c
-
-if HAS_SMP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspsmp-dummy.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/getcurrentprocessor-zero.c
-endif
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/grlib-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/sparc/leon2/headers.am
diff --git a/c/src/lib/libbsp/sparc/leon2/configure.ac b/c/src/lib/libbsp/sparc/leon2/configure.ac
deleted file mode 100644
index e310149168..0000000000
--- a/c/src/lib/libbsp/sparc/leon2/configure.ac
+++ /dev/null
@@ -1,37 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-sparc-leon2],
-[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-
-## bsp-specific options
-RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0])
-RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],
-[The leon2 console driver can operate in either polled or interrupt mode.
-Under the simulator (especially when FAST_UART is defined), polled seems
-to operate better. It is common for a task to print a line (like the end
-of test message) and then exit. In this case, the program returns control
-to the simulator command line before the program has even queued the output
-to the uart. Thus sis has no chance of getting the data out.])
-
-RTEMS_BSPOPTS_SET([BSP_POWER_DOWN_AT_FATAL_HALT],[*],[])
-RTEMS_BSPOPTS_HELP([BSP_POWER_DOWN_AT_FATAL_HALT],
-[If defined, CPU is spinning on fatal exit. Otherwise generate system
- error which will hand over to debugger, simulator, etc.])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/sparc/leon3/Makefile.am b/c/src/lib/libbsp/sparc/leon3/Makefile.am
deleted file mode 100644
index 464f225ab2..0000000000
--- a/c/src/lib/libbsp/sparc/leon3/Makefile.am
+++ /dev/null
@@ -1,92 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/sparc/leon3/start/bsp_specs
-
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/sparc/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-dist_project_lib_DATA += ../../../../../../bsps/sparc/shared/start/linkcmds.base
-dist_project_lib_DATA += ../../../../../../bsps/sparc/leon3/start/linkcmds.gr712rc
-dist_project_lib_DATA += ../../../../../../bsps/sparc/leon3/start/linkcmds.gr740
-dist_project_lib_DATA += ../../../../../../bsps/sparc/leon3/start/linkcmds.leon3
-dist_project_lib_DATA += ../../../../../../bsps/sparc/leon3/start/linkcmds.ut699
-dist_project_lib_DATA += ../../../../../../bsps/sparc/leon3/start/linkcmds.ut700
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/bspclean.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/start/bspgetworkarea.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/bspidle.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/bspdelay.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/start/bsp_fatal_exit.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/bsp_fatal_halt.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/drvmgr_def_drivers.c
-
-# gnatsupp
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/gnatsupp/gnatsupp.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/gnatcommon.c
-# AMBA bus
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/amba.c
-
-# non-Driver Manager Clock Implementation
-librtemsbsp_a_SOURCES +=../../../../../../bsps/sparc/leon3/clock/ckinit.c
-
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/console/console.c
-# debugio
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/console/printk_support.c
-
-# IRQ
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/eirq.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/irq/irq-shared.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/irq/bsp_isr_handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-
-# PCI
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/pci/pci_memreg_sparc_le.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/pci/pci_memreg_sparc_be.c
-
-# PCI target devices
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/pci/gr_leon4_n2x.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/pci/gr_cpci_gr740.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/cache.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/btimer/btimer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/btimer/watchdog.c
-
-if HAS_SMP
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/bspsmp.c
-endif
-
-if HAS_MP
-# shmsupp
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/mpci/addrconv.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/mpci/getcfg.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/mpci/lock.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/mpci/mpisr.c
-endif
-
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/grlib-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/sparc/leon3/headers.am
diff --git a/c/src/lib/libbsp/sparc/leon3/configure.ac b/c/src/lib/libbsp/sparc/leon3/configure.ac
deleted file mode 100644
index fc66dcfe17..0000000000
--- a/c/src/lib/libbsp/sparc/leon3/configure.ac
+++ /dev/null
@@ -1,39 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-sparc-leon3],
-[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-
-
-## bsp-specific options
-RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0])
-RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],
-[The leon3 console driver can operate in either polled or interrupt mode.
-Under the simulator (especially when FAST_UART is defined), polled seems
-to operate better.])
-
-RTEMS_BSPOPTS_SET([BSP_LEON3_SMP],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_LEON3_SMP],
-[Always defined when on a LEON3 to enable the LEON3 support for
- determining the CPU core number in an SMP configuration.])
-
-RTEMS_BSPOPTS_SET([BSP_POWER_DOWN_AT_FATAL_HALT],[*],[])
-RTEMS_BSPOPTS_HELP([BSP_POWER_DOWN_AT_FATAL_HALT],
-[If defined, CPU is powered down on fatal exit. Otherwise generate system
- error which will hand over to debugger, simulator, etc.])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/sparc64/Makefile.am b/c/src/lib/libbsp/sparc64/Makefile.am
deleted file mode 100644
index 7ffdba432e..0000000000
--- a/c/src/lib/libbsp/sparc64/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-## Descend into the @RTEMS_BSP_FAMILY@ directory
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(srcdir)/../../../../../bsps/sparc64/headers.am
diff --git a/c/src/lib/libbsp/sparc64/acinclude.m4 b/c/src/lib/libbsp/sparc64/acinclude.m4
deleted file mode 100644
index 7a2c18b865..0000000000
--- a/c/src/lib/libbsp/sparc64/acinclude.m4
+++ /dev/null
@@ -1,12 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- niagara )
- AC_CONFIG_SUBDIRS([niagara]);;
- usiii )
- AC_CONFIG_SUBDIRS([usiii]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/sparc64/configure.ac b/c/src/lib/libbsp/sparc64/configure.ac
deleted file mode 100644
index 0b4f8c3c66..0000000000
--- a/c/src/lib/libbsp/sparc64/configure.ac
+++ /dev/null
@@ -1,24 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-sparc64],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-
-# GAB: ./shared is used by sparc v7/8 bsps
-
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-
-RTEMS_PROJECT_ROOT
-
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/sparc64/niagara/Makefile.am b/c/src/lib/libbsp/sparc64/niagara/Makefile.am
deleted file mode 100644
index 6a961b142a..0000000000
--- a/c/src/lib/libbsp/sparc64/niagara/Makefile.am
+++ /dev/null
@@ -1,51 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/sparc64/niagara/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-
-start.$(OBJEXT): ../../../../../../bsps/sparc64/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-dist_project_lib_DATA += ../../../../../../bsps/sparc64/shared/start/linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/niagara/start/bspclean.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/niagara/start/m5op_sparc.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspstart-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/helenos/boot/genarch/balloc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/helenos/boot/genarch/ofw.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/helenos/boot/genarch/ofw_tree.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/helenos/boot/sparc64/loader/ofwarch.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/helenos/boot/sparc64/loader/main.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/helenos/boot/sparc64/loader/ofwasm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/niagara/start/bspinit.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/start/halt.S
-
-librtemsbsp_a_SOURCES +=../../../../../../bsps/sparc64/shared/clock/ckinit.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/console/conscfg.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/sparc64/niagara/headers.am
diff --git a/c/src/lib/libbsp/sparc64/niagara/configure.ac b/c/src/lib/libbsp/sparc64/niagara/configure.ac
deleted file mode 100644
index 44817bb5d0..0000000000
--- a/c/src/lib/libbsp/sparc64/niagara/configure.ac
+++ /dev/null
@@ -1,19 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-sparc64-sun4v],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-AC_DEFINE(SUN4V, 1, [SUN model option])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/sparc64/usiii/Makefile.am b/c/src/lib/libbsp/sparc64/usiii/Makefile.am
deleted file mode 100644
index 1a75e88f20..0000000000
--- a/c/src/lib/libbsp/sparc64/usiii/Makefile.am
+++ /dev/null
@@ -1,62 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/sparc64/usiii/start/bsp_specs
-
-## these are the include files used by the boot process from HelenOS Sparc64
-## These include files mimic the HelenOS kernel include layout, which
-## in HelenOS-0.4.2 is more complicated than the boot include dirs.
-
-# assumed by the HelenOS sources to be in the root includedir. We place them
-# in a kernel include directory.
-
-
-noinst_PROGRAMS =
-
-
-
-start.$(OBJEXT): ../../../../../../bsps/sparc64/shared/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-dist_project_lib_DATA += ../../../../../../bsps/sparc64/shared/start/linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspstart-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/start/setvec.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/helenos/boot/genarch/balloc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/helenos/boot/genarch/ofw.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/helenos/boot/genarch/ofw_tree.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/helenos/boot/sparc64/loader/ofwarch.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/helenos/boot/sparc64/loader/main.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/helenos/boot/sparc64/loader/ofwasm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/start/halt.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/usiii/start/bspinit.S
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/helenos/kernel/sparc64/src/cache.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/helenos/kernel/sparc64/src/sun4u/takemmu.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/start/trap_table.S
-
-librtemsbsp_a_SOURCES +=../../../../../../bsps/sparc64/shared/clock/ckinit.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc64/shared/console/conscfg.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/sparc64/usiii/headers.am
diff --git a/c/src/lib/libbsp/sparc64/usiii/configure.ac b/c/src/lib/libbsp/sparc64/usiii/configure.ac
deleted file mode 100644
index 48945c2b2f..0000000000
--- a/c/src/lib/libbsp/sparc64/usiii/configure.ac
+++ /dev/null
@@ -1,26 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-sparc64-sun4u],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-RTEMS_BSPOPTS_SET([SIMSPARC_FAST_IDLE],[*],[])
-RTEMS_BSPOPTS_HELP([SIMSPARC_FAST_IDLE],
-[If defined, speed up the clock ticks while the idle task is running so
-time spent in the idle task is minimized. This significantly reduces
-the wall time required to execute the RTEMS test suites.])
-
-AC_DEFINE(US3, 1, [UltraSPARC model option])
-AC_DEFINE(SUN4U, 1, [SUN model option])
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/v850/Makefile.am b/c/src/lib/libbsp/v850/Makefile.am
deleted file mode 100644
index c10765bafe..0000000000
--- a/c/src/lib/libbsp/v850/Makefile.am
+++ /dev/null
@@ -1,12 +0,0 @@
-##
-##
-
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-## Descend into the @RTEMS_BSP_FAMILY@ directory
-## Currently, the shared directory is not explicitly
-## added but it is present in the source tree.
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-
-include $(top_srcdir)/../../../automake/subdirs.am
diff --git a/c/src/lib/libbsp/v850/acinclude.m4 b/c/src/lib/libbsp/v850/acinclude.m4
deleted file mode 100644
index f506eced18..0000000000
--- a/c/src/lib/libbsp/v850/acinclude.m4
+++ /dev/null
@@ -1,10 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- gdbv850sim )
- AC_CONFIG_SUBDIRS([gdbv850sim]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/v850/configure.ac b/c/src/lib/libbsp/v850/configure.ac
deleted file mode 100644
index b8a83321c3..0000000000
--- a/c/src/lib/libbsp/v850/configure.ac
+++ /dev/null
@@ -1,21 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-##
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-v850],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-RTEMS_PROJECT_ROOT
-
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/v850/gdbv850sim/Makefile.am b/c/src/lib/libbsp/v850/gdbv850sim/Makefile.am
deleted file mode 100644
index 4152abe8ac..0000000000
--- a/c/src/lib/libbsp/v850/gdbv850sim/Makefile.am
+++ /dev/null
@@ -1,42 +0,0 @@
-##
-##
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/v850/gdbv850sim/start/bsp_specs
-
-noinst_PROGRAMS =
-
-
-start.$(OBJEXT): ../../../../../../bsps/v850/gdbv850sim/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-librtemsbsp_a_SOURCES = ../../../../../../bsps/shared/start/bspfatal-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspstart-empty.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/v850/gdbv850sim/start/bspreset.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/v850/shared/start/crt1.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/v850/gdbv850sim/start/trap.S
-
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/clock/clock-simidle.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/v850/gdbv850sim/console/console-io.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-
-# Cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-project_lib_LIBRARIES = librtemsbsp.a
-
-include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/v850/gdbv850sim/headers.am
diff --git a/c/src/lib/libbsp/v850/gdbv850sim/configure.ac b/c/src/lib/libbsp/v850/gdbv850sim/configure.ac
deleted file mode 100644
index 583f2f3aeb..0000000000
--- a/c/src/lib/libbsp/v850/gdbv850sim/configure.ac
+++ /dev/null
@@ -1,19 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-v850-gdbv850sim],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/x86_64/Makefile.am b/c/src/lib/libbsp/x86_64/Makefile.am
deleted file mode 100644
index 46a80a8ab6..0000000000
--- a/c/src/lib/libbsp/x86_64/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-# Descend into the @RTEMS_BSP_FAMILY@ directory
-_SUBDIRS = @RTEMS_BSP_FAMILY@
-
-include $(top_srcdir)/../../../automake/subdirs.am
diff --git a/c/src/lib/libbsp/x86_64/acinclude.m4 b/c/src/lib/libbsp/x86_64/acinclude.m4
deleted file mode 100644
index 92ae6f719e..0000000000
--- a/c/src/lib/libbsp/x86_64/acinclude.m4
+++ /dev/null
@@ -1,10 +0,0 @@
-# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
-AC_DEFUN([RTEMS_CHECK_BSPDIR],
-[
- case "$1" in
- amd64 )
- AC_CONFIG_SUBDIRS([amd64]);;
- *)
- AC_MSG_ERROR([Invalid BSP]);;
- esac
-])
diff --git a/c/src/lib/libbsp/x86_64/amd64/Makefile.am b/c/src/lib/libbsp/x86_64/amd64/Makefile.am
deleted file mode 100644
index 92ed2e6c16..0000000000
--- a/c/src/lib/libbsp/x86_64/amd64/Makefile.am
+++ /dev/null
@@ -1,52 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = ../../../../../../bsps/x86_64/amd64/start/bsp_specs
-
-noinst_PROGRAMS =
-
-start.$(OBJEXT): ../../../../../../bsps/x86_64/amd64/start/start.S
- $(CPPASCOMPILE) -o $@ -c $<
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += linkcmds
-
-project_lib_LIBRARIES = librtemsbsp.a
-librtemsbsp_a_SOURCES =
-
-# startup
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
-# XXX: We may want a custom bsp_work_area_initialize to detect memory size like
-# the i386
-#
-# FreeBSD's bootloader may leave a bootinfo structure for the kernel to find later:
-# http://fxr.watson.org/fxr/source/i386/include/bootinfo.h?v=FREEBSD11#L48
-#
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/x86_64/amd64/start/bspstart.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/x86_64/amd64/start/page.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/gettargethash-default.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-# interrupts
-librtemsbsp_a_SOURCES += ../../../../../../bsps/x86_64/amd64/interrupts/pic.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/x86_64/amd64/interrupts/idt.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/x86_64/amd64/interrupts/isr_handler.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
-# clock
-librtemsbsp_a_SOURCES += ../../../../../../bsps/x86_64/amd64/clock/clock.c
-# console
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios-init.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/x86_64/amd64/console/console.c
-# timer
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
-# cache
-librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
-
-include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
-include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
-include $(srcdir)/../../../../../../bsps/x86_64/amd64/headers.am
diff --git a/c/src/lib/libbsp/x86_64/amd64/configure.ac b/c/src/lib/libbsp/x86_64/amd64/configure.ac
deleted file mode 100644
index 2f565fc4d9..0000000000
--- a/c/src/lib/libbsp/x86_64/amd64/configure.ac
+++ /dev/null
@@ -1,19 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-x86_64-amd64],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-RTEMS_BSP_LINKCMDS
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
-RTEMS_BSP_CONFIGURE
-
-
-RTEMS_BSP_CLEANUP_OPTIONS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/x86_64/configure.ac b/c/src/lib/libbsp/x86_64/configure.ac
deleted file mode 100644
index a398a4e202..0000000000
--- a/c/src/lib/libbsp/x86_64/configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([rtems-c-src-lib-libbsp-x86_64],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-RTEMS_PROJECT_ROOT
-
-RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/c/src/make/Makefile.am b/c/src/make/Makefile.am
deleted file mode 100644
index 1c45672dc9..0000000000
--- a/c/src/make/Makefile.am
+++ /dev/null
@@ -1,87 +0,0 @@
-ACLOCAL_AMFLAGS = -I aclocal -I ../aclocal
-
-CLEANFILES =
-
-rtems_makedir = $(pkgdatadir)/make
-
-GENERIC_FILES = host.cfg
-
-MAKE_FILES = README directory.cfg lib.cfg
-
-rtems_make_DATA = $(MAKE_FILES) $(GENERIC_FILES)
-
-noinst_DATA = leaf.cfg
-
-rtemsdir = $(exec_prefix)
-rtems_bspdir = $(rtemsdir)/@RTEMS_BSP@
-rtems_bsp_DATA = Makefile.inc
-
-rtems_bsp_makedir = $(rtems_bspdir)/make
-rtems_bsp_make_DATA = bsp.cfg target.cfg
-
-bsp.cfg: bsp.cfg.in Makefile
- sed \
- -e "s|[@]HAS_MP[@]|$(HAS_MP)|" \
- -e "s|[@]HAS_POSIX_API[@]|$(HAS_POSIX_API)|" \
- -e "s|[@]HAS_CPLUSPLUS[@]|$(HAS_CPLUSPLUS)|" \
- < $(srcdir)/bsp.cfg.in > bsp.cfg
-CLEANFILES += bsp.cfg
-
-target.cfg: target.cfg.in Makefile
- sed \
- -e "s|[@]RTEMS_API[@]|$(RTEMS_API)|" \
- -e "s|[@]CPPFLAGS[@]|$(CPPFLAGS)|" \
- -e "s|[@]CFLAGS[@]|$(CFLAGS)|" \
- -e "s|[@]LIBS[@]|$(LIBS)|" \
- -e "s|[@]CC[@]|$(CC)|" \
- -e "s|[@]CXX[@]|$(CXX)|" \
- -e "s|[@]AS[@]|$(AS)|" \
- -e "s|[@]AR[@]|$(AR)|" \
- -e "s|[@]NM[@]|$(NM)|" \
- -e "s|[@]LD[@]|$(LD)|" \
- -e "s|[@]SIZE[@]|$(SIZE)|" \
- -e "s|[@]STRIP[@]|$(STRIP)|" \
- -e "s|[@]RANLIB[@]|$(RANLIB)|" \
- -e "s|[@]OBJCOPY[@]|$(OBJCOPY)|" \
- -e "s|[@]RTEMS_CPU[@]|$(RTEMS_CPU)|" \
- -e "s|[@]RTEMS_HAS_MULTIPROCESSING[@]|$(HAS_MP)|" \
- -e "s|[@]RTEMS_HAS_POSIX_API[@]|$(HAS_POSIX_API)|" \
- -e "s|[@]RTEMS_HAS_CPLUSPLUS[@]|$(HAS_CPLUSPLUS)|" \
- < $(srcdir)/target.cfg.in > target.cfg
-CLEANFILES += target.cfg
-
-host.cfg: host.cfg.in Makefile
- sed \
- -e "s|[@]CP[@]|$(CP)|" \
- -e "s|[@]MV[@]|$(MV)|" \
- -e "s|[@]LN[@]|$(LN)|" \
- -e "s|[@]SHELL[@]|$(SHELL)|" \
- -e "s|[@]KSH[@]|$(KSH)|" \
- < $(srcdir)/host.cfg.in > host.cfg
-CLEANFILES += host.cfg
-
-Makefile.inc: Makefile.inc.in Makefile
- sed \
- -e "s|[@]prefix[@]|$(prefix)|" \
- -e "s|[@]exec_prefix[@]|$(exec_prefix)|" \
- -e "s|[@]pkgdatadir[@]|$(pkgdatadir)|" \
- -e "s|[@]RTEMS_BSP[@]|$(RTEMS_BSP)|" \
- -e "s|[@]RTEMS_CPU[@]|$(RTEMS_CPU)|" \
- -e "s|[@]RTEMS_API[@]|$(RTEMS_API)|" \
- -e "s|[@]CC[@]|$(CC)|" \
- -e "s|[@]CXX[@]|$(CXX)|" \
- -e "s|[@]AS[@]|$(AS)|" \
- -e "s|[@]AR[@]|$(AR)|" \
- -e "s|[@]NM[@]|$(NM)|" \
- -e "s|[@]LD[@]|$(LD)|" \
- -e "s|[@]SIZE[@]|$(SIZE)|" \
- -e "s|[@]OBJCOPY[@]|$(OBJCOPY)|" \
- -e "s|[@]RTEMS_HAS_POSIX_API[@]|$(HAS_POSIX_API)|" \
- -e "s|[@]RTEMS_HAS_CPLUSPLUS[@]|$(HAS_CPLUSPLUS)|" \
- < $(srcdir)/Makefile.inc.in > Makefile.inc
-CLEANFILES += Makefile.inc
-
-## At the moment all actively supported configurations
-## use gcc-target-default.cfg only.
-rtems_make_compilersdir = $(rtems_makedir)/compilers
-dist_rtems_make_compilers_DATA = compilers/gcc-target-default.cfg
diff --git a/c/src/make/Makefile.inc.in b/c/src/make/Makefile.inc.in
deleted file mode 100644
index d3df7a3b98..0000000000
--- a/c/src/make/Makefile.inc.in
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# BSP specific settings. To be included in application Makefiles
-#
-# This support will be removed from RTEMS. Please consider other
-# ways to build applications.
-#
-
-RTEMS_API = @RTEMS_API@
-
-RTEMS_CPU = @RTEMS_CPU@
-RTEMS_BSP = @RTEMS_BSP@
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-CC_FOR_TARGET = @CC@
-CXX_FOR_TARGET = @CXX@
-AS_FOR_TARGET = @AS@
-AR_FOR_TARGET = @AR@
-NM_FOR_TARGET = @NM@
-LD_FOR_TARGET = @LD@
-SIZE_FOR_TARGET = @SIZE@
-OBJCOPY_FOR_TARGET = @OBJCOPY@
-
-CC= $(CC_FOR_TARGET)
-CXX= $(CXX_FOR_TARGET)
-AS= $(AS_FOR_TARGET)
-LD= $(LD_FOR_TARGET)
-NM= $(NM_FOR_TARGET)
-AR= $(AR_FOR_TARGET)
-SIZE= $(SIZE_FOR_TARGET)
-OBJCOPY= $(OBJCOPY_FOR_TARGET)
-
-export CC
-export CXX
-export AS
-export LD
-export NM
-export AR
-export SIZE
-export OBJCOPY
-
-RTEMS_ROOT ?= $(prefix)
-PROJECT_ROOT = $(RTEMS_ROOT)
-RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
-RTEMS_SHARE = $(RTEMS_ROOT)/share/rtems$(RTEMS_API)
-
-RTEMS_USE_OWN_PDIR = no
-RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
-RTEMS_HAS_ITRON_API = no
-RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@
-
-export RTEMS_BSP
-export RTEMS_CUSTOM
-export PROJECT_ROOT
diff --git a/c/src/make/README b/c/src/make/README
deleted file mode 100644
index f3491c2577..0000000000
--- a/c/src/make/README
+++ /dev/null
@@ -1,465 +0,0 @@
- make/README
-
- This file describes the layout and conventions of the application
- makefile support for RTEMS applications. Internally, RTEMS uses
- GNU-style autoconf/automake Makefiles as much as possible to
- ease integration with other GNU tools.
-
- All of these "make" trees are substantially similar; however this
- file documents the current state of the RTEMS Application Makefile
- support.
-
- This make tree is based on a build system originally developed
- to simplify porting projects between various OS's. The primary
- goals were:
-
- . simple *and* customizable individual makefiles
-
- . use widely available GNU make. There is no pre-processing or
- automatic generation of Makefiles.
-
- . Same makefiles work on *many* host OS's due to portability
- of GNU make and the host OS config files.
-
- . Support for different compilers and operating systems
- on a per-user basis. Using the same sources (including
- Makefiles) one developer can develop and test under SVR4,
- another under 4.x, another under HPUX.
-
- . Builtin support for compiling "variants" such as debug
- versions. These variants can be built
- recursively.
-
- . Control of system dependencies. "hidden" dependencies on
- environment variables (such as PATH)
- have been removed whenever possible. No matter what your
- PATH variable is set to, you should get the same thing
- when you 'make' as everyone else on the project.
-
- This Makefile system has evolved into its present form and as it
- exists in RTEMS today, its sole goal is to build RTEMS applications.
- The use of these Makefiles hides the complexity of producing
- executables for a wide variety of embedded CPU families and target
- BSPs. Switching between RTEMS BSPs is accomplished via setting
- the environment variable "RTEMS_MAKEFILE_PATH."
-
- This description attempts to cover all aspects of the Makefile tree. Most
- of what is described here is maintained automatically by the configuration
- files.
-
- The example makefiles in make/Templates should be used as a starting
- point for new directories.
-
- There are 2 main types of Makefile:
-
- directory and leaf.
-
- Directory Makefiles
- -------------------
-
- A Makefile in a source directory with sub-directories is called a
- "directory" Makefile.
-
- Directory Makefile's are simply responsible for acting as "middle-men"
- and recursing into their sub-directories and propagating the make.
-
- For example, directory src/bin will contain only a Makefile and
- sub-directories. No actual source code will reside in the directory.
- The following commands:
-
- $ cd src/bin
- $ make all
-
- would descend into all the subdirectories of 'src/bin' and recursively
- perform a 'make all'.
-
- A 'make debug' will recurse thru sub-directories as a debug build.
-
- A template directory Makefile which should work in almost all
- cases is in make/Templates/Makefile.dir
-
-
- Leaf Makefiles
- --------------
-
- Source directories that contain source code for libraries or
- programs use a "leaf" Makefile.
-
- These makefiles contain the rules necessary to build programs
- (or libraries).
-
- A template leaf Makefile is in Templates/Makefile.leaf . A template
- leaf Makefile for building libraries is in Templates/Makefile.lib .
-
-
- NOTE: To simplify nested makefile's and source maintenance, we disallow
- combining source and directories (that make(1) would be expected to
- recurse into) in one source directory. Ie., a directory in the source
- tree may contain EITHER source files OR recursive sub directories, but NOT
- both. This assumption is generally shared with GNU automake.
-
- Variants (where objects go)
- ---------------------------
-
- All binary targets are placed in a sub-directory whose name is (for
- example):
-
- o-optimize/ -- optimized binaries
- o-debug/ -- debug binaries
-
- Using the template Makefiles, this will all happen automatically.
- The contents of these directories are specific to a BSP.
-
- Within a Makefile, the ${ARCH} variable is set to o-optimize,
- o-debug, etc., as appropriate.
-
- HISTORICAL NOTE: Prior to version 4.5, the name of the sub-directory
- in which objects were placed included the BSP name.
-
- Typing 'make' will place objects in o-optimize.
- 'make debug' will place objects in o-debug.
-
- The debug targets are equivalent to 'all' except that
- CFLAGS and/or LDFLAGS are modified as per the compiler config file for
- debug and profile support.
-
- The targets debug etc., can be invoked recursively at
- the directory make level. So from the top of a tree, one could
- install a debug version of everything under that point by:
-
- $ cd src/lib
- $ gmake debug
- $ gmake install
-
- When building a command that is linked with a generated library, the
- appropriate version of the library will be linked in.
-
- For example, the following fragments link the normal, debug, or
- version of "libmine.a" as appropriate:
-
- LD_LIBS += $(LIBMINE)
- LIBMINE = ../libmine/${ARCH}/libmine.a
-
- ${ARCH}/pgm: $(LIBMINE) ${OBJS}
- $(make-exe)
-
- If we do 'gmake debug', then the library in
- ../libmine/o-debug/libmine.a will be linked in. If $(LIBMINE)
- might not exist (or might be out of date) at this point, we could add
-
- ${LIBMINE}: FORCEIT
- cd ../libmine; ${MAKE} ${VARIANT_VA}
-
- The above would generate the following command to build libmine.a:
-
- cd ../libmine; gmake debug
-
- The macro reference ${VARIANT_VA} converts ${ARCH} to the word 'debug'
- (in this example) and thus ensures the proper version of the library
- is built.
-
-
- Targets
- -------
-
- All Makefile's support the following targets:
-
- all -- make "everything"
- install -- install "everything"
-
- The following targets are provided automatically by
- the included config files:
-
- clean -- delete all targets
- depend -- build a make dependency file
- "variant targets" -- special variants, see below
-
-
- All directory Makefiles automatically propagate all these targets. If
- you don't wish to support 'all' or 'install' in your source directory,
- you must leave the rules section empty, as the parent directory Makefile
- will attempt it on recursive make's.
-
-
- Configuration
- -------------
-
- All the real work described here happens in file(s) included
- from your Makefile.
-
- All Makefiles include a customization file which is used to select
- compiler and host operating system. The environment variable
- RTEMS_MAKEFILE_PATH must point to the directory containing this file; eg:
-
- export RTEMS_MAKEFILE_PATH=/.../pc386/
-
- All leaf Makefile's also include either 'make/leaf.cfg' (or
- 'make/lib.cfg' for building libraries). These config files provide
- default rules and set up the command macros as appropriate.
-
- All directory Makefiles include 'make/directory.cfg'. directory.cfg
- provides all the rules for recursing through sub directories.
-
- The Makefile templates already perform these include's.
-
- 'make/leaf.cfg' (or directory.cfg) in turn includes:
-
- a file specifying general purpose rules appropriate for
- both leaf and directory makefiles.
- ( make/main.cfg )
-
- personality modules specified by the customization file for:
- compiler ( make/compilers/??.cfg )
-
-
- generic rules file
- ------------------
-
- [ make/main.cfg ]
- included by leaf.cfg or directory.cfg.
-
- This file contains some standard rules and variable assignments
- that all Makefiles need.
-
- It also includes the FORCEIT: pseudo target.
-
-
- OS config file for host machine
- -------------------------------
-
- [ make/os/OS-NAME.cfg ]
- included by main.cfg
-
- Figures out the target architecture and specifies command names
- for the OS tools including RCS/CVS (but NOT for the compiler tools).
-
-
- Compiler configuration for the target
- -------------------------------------
-
- [ compilers/COMPILER-NAME.cfg ]
- included by leaf.cfg
-
- Specifies the names of tools for compiling programs.
- Names in here should be fully qualified, and NOT depend on $PATH.
-
- Also specifies compiler flags to be used to generate optimized,
- debugging versions, as well as rules to compile
- assembly language and make makefile dependencies.
-
-
- Configuration Variables
- -----------------------
-
- Variables you have to set in the environment or in your Makefile.
- Note: the RTEMS module files set RTEMS_ROOT and RTEMS_CUSTOM
- for you.
-
- Makefile Variables
- ------------------
-
- RTEMS_BSP -- name of your 'bsp' eg: pc386, mvme136
-
- RTEMS_CPU -- CPU architecture e.g.: i386, m68k
-
- RTEMS_CPU_FAMILY -- CPU model e.g.: i486dx, m68020
-
- RTEMS_ROOT -- The root of your source tree.
- All other file names are derived from this.
- [ eg: % setenv RTEMS_ROOT $HOME/work/RTEMS ]
-
- RTEMS_CUSTOM -- name of your config files in make/custom
- Example:
- $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
-
- The value RTEMS_ROOT is used in the custom
- files to generate the make(1) variables:
-
- PROJECT_RELEASE
- PROJECT_BIN
- PROJECT_INCLUDE
- PROJECT_TOOLS
-
- etc., which are used within the make config files themselves.
- (The files in make/*.cfg try to avoid use of word RTEMS so
- they can be more easily shared by other projects)
-
- Preset variables
- ----------------
-
- Aside from command names set by the OS and compiler config files,
- a number of MAKE variables are automatically set and maintained by
- the config files.
-
- PROJECT_RELEASE
- -- release/install directory
- [ $(PROJECT_ROOT) ]
-
- PROJECT_BIN
- -- directory for installed binaries
- [ $(PROJECT_ROOT)/bin ]
-
- PROJECT_TOOLS
- -- directory for build environment commands
- [ eg: $(PROJECT_ROOT)/build-tools ]
-
- ARCH -- target sub-directory for object code
- [ eg: o-optimize or o-debug ]
-
- VARIANTS -- full list of all possible values for $(ARCH);
- used mainly for 'make clean'
- [ eg: "o-optimize o-debug" ]
-
- VARIANT_VA -- Variant name.
- Normally "", but for 'make debug' it is "debug".
-
- see make/leaf.cfg for more info.
-
-
- Preset compilation variables
- ----------------------------
-
- This is a list of some of the compilation variables.
- Refer to the compiler config files for the complete list.
-
- CFLAGS_OPTIMIZE_V -- value of optimize flag for compiler
- [ eg: -O ]
-
- CFLAGS_DEBUG_V -- value of debug flag for compiler
- [ eg: -g ]
-
- CFLAGS_DEBUG
- CFLAGS_OPTIMIZE -- current values for each depending
- on make variant.
-
- LDFLAGS_STATIC_LIBRARIES_V
- -- ld option for static libraries
- -Bstatic or -dy (svr4)
-
- LDFLAGS_SHARED_LIBRARIES_V
- -- ld option for dynamic libraries
- -Bdynamic or -dn (svr4)
-
- Makefile Variables
- ------------------
-
- The following variables may be set in a typical Makefile.
-
- C_PIECES -- File names of your .c files without '.c' suffix.
- [ eg: C_PIECES=main funcs stuff ]
-
- CC_PIECES -- ditto, except for .cc files
-
- S_PIECES -- ditto, except for .S files.
-
- LIB -- target library name in leaf library makefiles.
- [ eg: LIB=${ARCH}/libmine.a ]
-
- H_FILES -- your .h files in this directory.
- [ eg: H_FILES=stuff.h extra.h ]
-
- DEFINES -- cc -D items. Included in CPPFLAGS.
- leaf Makefiles.
- [ eg: DEFINES += -DUNIX ]
-
- CPPFLAGS -- -I include directories.
- leaf Makefiles.
- [ eg: CPPFLAGS += -I../include ]
-
- LD_PATHS -- arguments to -L for ld.
- Will be prefixed with '-L' or '-L ' as appropriate
- and included in LDFLAGS.
-
- LDFLAGS -- -L arguments to ld; more may be ADDed.
-
- LD_LIBS -- libraries to be linked in.
- [ eg: LDLIBS += ../libfoo/${ARCH}/libfoo.a ]
-
- XCFLAGS -- "extra" CFLAGS for special needs. Pre-pended
- to CFLAGS.
- Not set or used by Makefiles.
- Can be set on command line to pass extra flags
- to the compiler.
-
- XCPPFLAGS -- ditto for CPPFLAGS
- Can be set on command line to pass extra flags
- to the preprocessor.
-
- XCCPPFLAGS -- same as XCPPFLAGS for C++.
-
- XCCFLAGS -- same as XCFLAGS for C++.
-
- SUBDIRS -- list of sub directories for make recursion.
- directory Makefiles only.
- [ eg: SUBDIRS=cpu bsp ]
-
- CLEAN_ADDITIONS
- -- list of files or directories that should
- be deleted by 'make clean'
- [ eg: CLEAN_ADDITIONS += y.tab.c ]
-
- See 'leaf.cfg' for the 'clean:' rule and its
- default deletions.
-
- CLOBBER_ADDITIONS
- -- list of files or directories that should
- be deleted by 'make clobber'
- Since 'make clobber' includes 'make clean',
- you don't need to duplicate items in both.
-
- Command names
- -------------
-
- The following commands should only be called
- as make variables:
-
- MAKE,INSTALL,INSTALL_VARIANT,SHELL
-
- ECHO,CAT,CP,MV,LN,MKDIR,CHMOD
-
- SED
-
- CC,CPP,AS,AR,LD,NM,SIZE,RANLIB,MKLIB,
- YACC,LEX,LINT,CTAGS,ETAGS
-
- In addition, the following commands specifically support
- the installation of libraries, executables, header files,
- and other things that need to be installed:
-
- INSTALL_CHANGE - set to host "install" program by default
-
- INSTALL_VARIANT - set to host "install" program by default
-
- Special Directory Makefile Targets
- ----------------------------------
-
- all_WRAPUP
- clean_WRAPUP
- install_WRAPUP
- clean_WRAPUP
- clobber_WRAPUP
- depend_WRAPUP
- -- Specify additional commands for recursive
- (directory level) targets.
-
- This is handy in certain cases where you need
- to do bit of work *after* a recursive make.
-
- make/Templates
- --------------
-
- This directory contains Makefile and source file templates that
- should help in creating or converting makefiles.
-
- Makefile.leaf
- Template leaf Makefiles.
-
- Makefile.lib
- Template leaf library Makefiles.
-
- Makefile.dir
- Template "directory" makefile.
-
-
-
-
diff --git a/c/src/make/aclocal/rtems-flags.m4 b/c/src/make/aclocal/rtems-flags.m4
deleted file mode 100644
index 57e63aa80d..0000000000
--- a/c/src/make/aclocal/rtems-flags.m4
+++ /dev/null
@@ -1,10 +0,0 @@
-##
-## Some hacks to set up RTEMS_*FLAGS
-## Internal macro, not supposed to be explictly used in configure.ac's
-
-AC_DEFUN([_RTEMS_FLAGS],[
-AS_IF([test -n "[$]{$1}"],
- [RTEMS_$1=[$]{$1}],
- [RTEMS_$1=$2])
-AC_SUBST([RTEMS_$1])
-])
diff --git a/c/src/make/bsp.cfg.in b/c/src/make/bsp.cfg.in
deleted file mode 100644
index 57aa00b0f7..0000000000
--- a/c/src/make/bsp.cfg.in
+++ /dev/null
@@ -1,31 +0,0 @@
-## BSP configuration flags for BSP "@RTEMS_BSP@"
-
-##
-## Does this BSP support multiprocessing ?
-##
-HAS_MP = @HAS_MP@
-
-##
-## Does this BSP support RTEMS's remote debugger ?
-##
-HAS_RDBG = no
-
-##
-## Does this BSP support RTEMS's posix API ?
-##
-HAS_POSIX_API = @HAS_POSIX_API@
-
-##
-## Does this BSP support RTEMS's ITRON API ?
-##
-HAS_ITRON_API = no
-
-##
-## Does this BSP support RTEMS's CXX API ?
-##
-HAS_CPLUSPLUS = @HAS_CPLUSPLUS@
-
-##
-## Does this BSP support RTEMS's networking ?
-##
-HAS_NETWORKING = @HAS_NETWORKING@
diff --git a/c/src/make/bsp.mak b/c/src/make/bsp.mak
deleted file mode 100644
index 9c1da3fc3a..0000000000
--- a/c/src/make/bsp.mak
+++ /dev/null
@@ -1,11 +0,0 @@
-#
-# Makefile fragment to convert <bsp>.cfgs into <bsp>.cache
-#
-
-include make/custom/${RTEMS_BSP}.cfg
-
-make/${RTEMS_BSP}.cache:
- @$(RM) $@
- @echo ac_cv_env_RTEMS_CPU_MODEL=\"$(RTEMS_CPU_MODEL)\" >> $@
- @echo ac_cv_env_CPU_CFLAGS=\"$(CPU_CFLAGS)\" >> $@
- @echo ac_cv_env_CFLAGS_OPTIMIZE_V=\"$(CFLAGS_OPTIMIZE_V)\" >> $@
diff --git a/c/src/make/compilers/gcc-target-default.cfg b/c/src/make/compilers/gcc-target-default.cfg
deleted file mode 100644
index 813bd5c2c4..0000000000
--- a/c/src/make/compilers/gcc-target-default.cfg
+++ /dev/null
@@ -1,189 +0,0 @@
-#
-# Shared compiler for all GNU tools configurations
-#
-
-##
-# CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V are the values we
-# would want the corresponding macros to be set to.
-#
-# CFLAGS_OPTIMIZE, CFLAGS_DEBUG are set in the leaf
-# Makefiles by the 'debug:' targets to their _V values.
-#
-
-# default flags
-# XCPPFLAGS, XCFLAGS, XCXXFLAGS, XASFLAGS
-# are used to add flags from the shell
-# cf. make.info ("Implicit rules/variables" for details)
-
-# NOTE: Should these go to CPPFLAGS ?
-CFLAGS_DEFAULT=-Wall
-
-# NOTE: CPU_CFLAGS should probably be renamed to CPU_CPPFLAGS
-# NOTE: CPU_DEFINES should probably be merged with CPU_CFLAGS
-CPPFLAGS += $(CPU_DEFINES) $(CPU_CFLAGS) $(DEFINES) $(XCPPFLAGS)
-CFLAGS = $(CFLAGS_DEFAULT) $(XCFLAGS)
-CXXFLAGS = $(CFLAGS_DEFAULT) $(XCXXFLAGS)
-ASFLAGS = $(CPU_ASFLAGS) $(XASFLAGS)
-
-# NOTE: GCCSPECS probably belongs to CPPFLAGS
-GCCSPECS_OPTIMIZE_V =
-GCCSPECS_DEBUG_V =
-
-GCCSPECS = -B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems
-GCCSPECS += $(GCCSPECS_$(VARIANT_V)_V)
-
-CC += $(GCCSPECS)
-CXX += $(GCCSPECS)
-
-CPPFLAGS +=
-
-# Define this to yes if C++ is included in the development environment.
-# This requires that at least the GNU C++ compiler and libg++ be installed.
-ifeq ($(HAS_CPLUSPLUS),yes)
-CPLUS_LD_LIBS += $(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)
-endif
-
-# debug flag;
-CFLAGS_DEBUG_V ?= -O0 -g
-CXXFLAGS_DEBUG_V ?= $(CFLAGS_DEBUG_V)
-
-# when debugging, optimize flag: typically empty
-# some compilers do allow optimization with their "-g"
-CFLAGS_OPTIMIZE_V ?