[rtems commit] bsps/m68k: Move fpsp support to bsps

Sebastian Huber sebh at rtems.org
Mon Mar 26 13:33:50 UTC 2018


Module:    rtems
Branch:    master
Commit:    3cf2bf633fe443460563cd00c6489d16c1073fee
Changeset: http://git.rtems.org/rtems/commit/?id=3cf2bf633fe443460563cd00c6489d16c1073fee

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Mar 26 12:17:06 2018 +0200

bsps/m68k: Move fpsp support to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

---

 bsps/m68k/shared/fpsp.am                           | 42 ++++++++++++++++++++++
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/README   |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/bindec.S |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/binstr.S |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/bugfix.S |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/decbin.S |  0
 .../m68040 => bsps/m68k/shared}/fpsp/do_func.S     |  0
 .../m68k/shared}/fpsp/fpsp-namespace.h             |  0
 .../m68040 => bsps/m68k/shared}/fpsp/fpsp.defs     |  0
 .../m68040 => bsps/m68k/shared}/fpsp/gen_except.S  |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/get_op.S |  0
 .../m68040 => bsps/m68k/shared}/fpsp/kernel_ex.S   |  0
 .../m68040 => bsps/m68k/shared}/fpsp/res_func.S    |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/round.S  |  0
 .../m68040 => bsps/m68k/shared}/fpsp/rtems_fpsp.c  |  0
 .../m68040 => bsps/m68k/shared}/fpsp/rtems_skel.S  |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/sacos.S  |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/sasin.S  |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/satan.S  |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/satanh.S |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/scale.S  |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/scosh.S  |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/setox.S  |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/sgetem.S |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/sint.S   |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/slog2.S  |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/slogn.S  |  0
 .../m68040 => bsps/m68k/shared}/fpsp/smovecr.S     |  0
 .../m68040 => bsps/m68k/shared}/fpsp/srem_mod.S    |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/ssin.S   |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/ssinh.S  |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/stan.S   |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/stanh.S  |  0
 .../m68040 => bsps/m68k/shared}/fpsp/sto_res.S     |  0
 .../m68040 => bsps/m68k/shared}/fpsp/stwotox.S     |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/tbldo.S  |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/util.S   |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/x_bsun.S |  0
 .../m68040 => bsps/m68k/shared}/fpsp/x_fline.S     |  0
 .../m68040 => bsps/m68k/shared}/fpsp/x_operr.S     |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/x_ovfl.S |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/x_snan.S |  0
 .../m68040 => bsps/m68k/shared}/fpsp/x_store.S     |  0
 .../m68k/m68040 => bsps/m68k/shared}/fpsp/x_unfl.S |  0
 .../m68040 => bsps/m68k/shared}/fpsp/x_unimp.S     |  0
 .../m68040 => bsps/m68k/shared}/fpsp/x_unsupp.S    |  0
 c/src/lib/libbsp/m68k/gen68360/Makefile.am         |  2 +-
 c/src/lib/libbsp/m68k/mvme162/Makefile.am          |  2 +-
 c/src/lib/libbsp/m68k/mvme167/Makefile.am          |  4 +--
 c/src/lib/libcpu/m68k/Makefile.am                  | 25 -------------
 50 files changed, 45 insertions(+), 30 deletions(-)

diff --git a/bsps/m68k/shared/fpsp.am b/bsps/m68k/shared/fpsp.am
new file mode 100644
index 0000000..aae6813
--- /dev/null
+++ b/bsps/m68k/shared/fpsp.am
@@ -0,0 +1,42 @@
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/bindec.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/binstr.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/bugfix.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/decbin.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/do_func.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/gen_except.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/get_op.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/kernel_ex.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/res_func.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/round.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/rtems_fpsp.c
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/rtems_skel.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/sacos.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/sasin.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/satanh.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/satan.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/scale.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/scosh.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/setox.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/sgetem.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/sint.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/slog2.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/slogn.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/smovecr.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/srem_mod.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/ssinh.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/ssin.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/stanh.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/stan.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/sto_res.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/stwotox.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/tbldo.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/util.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_bsun.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_fline.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_operr.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_ovfl.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_snan.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_store.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_unfl.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_unimp.S
+libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_unsupp.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/README b/bsps/m68k/shared/fpsp/README
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/README
rename to bsps/m68k/shared/fpsp/README
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/bindec.S b/bsps/m68k/shared/fpsp/bindec.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/bindec.S
rename to bsps/m68k/shared/fpsp/bindec.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/binstr.S b/bsps/m68k/shared/fpsp/binstr.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/binstr.S
rename to bsps/m68k/shared/fpsp/binstr.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/bugfix.S b/bsps/m68k/shared/fpsp/bugfix.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/bugfix.S
rename to bsps/m68k/shared/fpsp/bugfix.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/decbin.S b/bsps/m68k/shared/fpsp/decbin.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/decbin.S
rename to bsps/m68k/shared/fpsp/decbin.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/do_func.S b/bsps/m68k/shared/fpsp/do_func.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/do_func.S
rename to bsps/m68k/shared/fpsp/do_func.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/fpsp-namespace.h b/bsps/m68k/shared/fpsp/fpsp-namespace.h
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/fpsp-namespace.h
rename to bsps/m68k/shared/fpsp/fpsp-namespace.h
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/fpsp.defs b/bsps/m68k/shared/fpsp/fpsp.defs
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/fpsp.defs
rename to bsps/m68k/shared/fpsp/fpsp.defs
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/gen_except.S b/bsps/m68k/shared/fpsp/gen_except.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/gen_except.S
rename to bsps/m68k/shared/fpsp/gen_except.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/get_op.S b/bsps/m68k/shared/fpsp/get_op.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/get_op.S
rename to bsps/m68k/shared/fpsp/get_op.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/kernel_ex.S b/bsps/m68k/shared/fpsp/kernel_ex.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/kernel_ex.S
rename to bsps/m68k/shared/fpsp/kernel_ex.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/res_func.S b/bsps/m68k/shared/fpsp/res_func.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/res_func.S
rename to bsps/m68k/shared/fpsp/res_func.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/round.S b/bsps/m68k/shared/fpsp/round.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/round.S
rename to bsps/m68k/shared/fpsp/round.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/rtems_fpsp.c b/bsps/m68k/shared/fpsp/rtems_fpsp.c
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/rtems_fpsp.c
rename to bsps/m68k/shared/fpsp/rtems_fpsp.c
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/rtems_skel.S b/bsps/m68k/shared/fpsp/rtems_skel.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/rtems_skel.S
rename to bsps/m68k/shared/fpsp/rtems_skel.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/sacos.S b/bsps/m68k/shared/fpsp/sacos.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/sacos.S
rename to bsps/m68k/shared/fpsp/sacos.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/sasin.S b/bsps/m68k/shared/fpsp/sasin.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/sasin.S
rename to bsps/m68k/shared/fpsp/sasin.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/satan.S b/bsps/m68k/shared/fpsp/satan.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/satan.S
rename to bsps/m68k/shared/fpsp/satan.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/satanh.S b/bsps/m68k/shared/fpsp/satanh.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/satanh.S
rename to bsps/m68k/shared/fpsp/satanh.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/scale.S b/bsps/m68k/shared/fpsp/scale.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/scale.S
rename to bsps/m68k/shared/fpsp/scale.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/scosh.S b/bsps/m68k/shared/fpsp/scosh.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/scosh.S
rename to bsps/m68k/shared/fpsp/scosh.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/setox.S b/bsps/m68k/shared/fpsp/setox.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/setox.S
rename to bsps/m68k/shared/fpsp/setox.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/sgetem.S b/bsps/m68k/shared/fpsp/sgetem.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/sgetem.S
rename to bsps/m68k/shared/fpsp/sgetem.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/sint.S b/bsps/m68k/shared/fpsp/sint.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/sint.S
rename to bsps/m68k/shared/fpsp/sint.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/slog2.S b/bsps/m68k/shared/fpsp/slog2.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/slog2.S
rename to bsps/m68k/shared/fpsp/slog2.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/slogn.S b/bsps/m68k/shared/fpsp/slogn.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/slogn.S
rename to bsps/m68k/shared/fpsp/slogn.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/smovecr.S b/bsps/m68k/shared/fpsp/smovecr.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/smovecr.S
rename to bsps/m68k/shared/fpsp/smovecr.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/srem_mod.S b/bsps/m68k/shared/fpsp/srem_mod.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/srem_mod.S
rename to bsps/m68k/shared/fpsp/srem_mod.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/ssin.S b/bsps/m68k/shared/fpsp/ssin.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/ssin.S
rename to bsps/m68k/shared/fpsp/ssin.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/ssinh.S b/bsps/m68k/shared/fpsp/ssinh.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/ssinh.S
rename to bsps/m68k/shared/fpsp/ssinh.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/stan.S b/bsps/m68k/shared/fpsp/stan.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/stan.S
rename to bsps/m68k/shared/fpsp/stan.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/stanh.S b/bsps/m68k/shared/fpsp/stanh.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/stanh.S
rename to bsps/m68k/shared/fpsp/stanh.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/sto_res.S b/bsps/m68k/shared/fpsp/sto_res.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/sto_res.S
rename to bsps/m68k/shared/fpsp/sto_res.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/stwotox.S b/bsps/m68k/shared/fpsp/stwotox.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/stwotox.S
rename to bsps/m68k/shared/fpsp/stwotox.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/tbldo.S b/bsps/m68k/shared/fpsp/tbldo.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/tbldo.S
rename to bsps/m68k/shared/fpsp/tbldo.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/util.S b/bsps/m68k/shared/fpsp/util.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/util.S
rename to bsps/m68k/shared/fpsp/util.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_bsun.S b/bsps/m68k/shared/fpsp/x_bsun.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/x_bsun.S
rename to bsps/m68k/shared/fpsp/x_bsun.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_fline.S b/bsps/m68k/shared/fpsp/x_fline.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/x_fline.S
rename to bsps/m68k/shared/fpsp/x_fline.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_operr.S b/bsps/m68k/shared/fpsp/x_operr.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/x_operr.S
rename to bsps/m68k/shared/fpsp/x_operr.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_ovfl.S b/bsps/m68k/shared/fpsp/x_ovfl.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/x_ovfl.S
rename to bsps/m68k/shared/fpsp/x_ovfl.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_snan.S b/bsps/m68k/shared/fpsp/x_snan.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/x_snan.S
rename to bsps/m68k/shared/fpsp/x_snan.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_store.S b/bsps/m68k/shared/fpsp/x_store.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/x_store.S
rename to bsps/m68k/shared/fpsp/x_store.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_unfl.S b/bsps/m68k/shared/fpsp/x_unfl.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/x_unfl.S
rename to bsps/m68k/shared/fpsp/x_unfl.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_unimp.S b/bsps/m68k/shared/fpsp/x_unimp.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/x_unimp.S
rename to bsps/m68k/shared/fpsp/x_unimp.S
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_unsupp.S b/bsps/m68k/shared/fpsp/x_unsupp.S
similarity index 100%
rename from c/src/lib/libcpu/m68k/m68040/fpsp/x_unsupp.S
rename to bsps/m68k/shared/fpsp/x_unsupp.S
diff --git a/c/src/lib/libbsp/m68k/gen68360/Makefile.am b/c/src/lib/libbsp/m68k/gen68360/Makefile.am
index a26a894..b39178c 100644
--- a/c/src/lib/libbsp/m68k/gen68360/Makefile.am
+++ b/c/src/lib/libbsp/m68k/gen68360/Makefile.am
@@ -47,7 +47,7 @@ libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
 libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
 
 if HAS_FPSP
-libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
+include $(srcdir)/../../../../../../bsps/m68k/shared/fpsp.am
 endif
 
 include $(top_srcdir)/../../../../automake/local.am
diff --git a/c/src/lib/libbsp/m68k/mvme162/Makefile.am b/c/src/lib/libbsp/m68k/mvme162/Makefile.am
index 1ef0c30..3c7c7a6 100644
--- a/c/src/lib/libbsp/m68k/mvme162/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mvme162/Makefile.am
@@ -49,7 +49,7 @@ libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
 libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
 
 if HAS_FPSP
-libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
+include $(srcdir)/../../../../../../bsps/m68k/shared/fpsp.am
 endif
 
 EXTRA_DIST += times
diff --git a/c/src/lib/libbsp/m68k/mvme167/Makefile.am b/c/src/lib/libbsp/m68k/mvme167/Makefile.am
index 5cedf79..0d8fe17 100644
--- a/c/src/lib/libbsp/m68k/mvme167/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mvme167/Makefile.am
@@ -45,10 +45,8 @@ libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
 libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
 libbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
 
-libbsp_a_LIBADD = \
-    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
-
 EXTRA_DIST += times
 
 include $(top_srcdir)/../../../../automake/local.am
+include $(srcdir)/../../../../../../bsps/m68k/shared/fpsp.am
 include $(srcdir)/../../../../../../bsps/m68k/mvme167/headers.am
diff --git a/c/src/lib/libcpu/m68k/Makefile.am b/c/src/lib/libcpu/m68k/Makefile.am
index b0bbc36..1b28e60 100644
--- a/c/src/lib/libcpu/m68k/Makefile.am
+++ b/c/src/lib/libcpu/m68k/Makefile.am
@@ -4,31 +4,6 @@ include $(top_srcdir)/../../../automake/compile.am
 
 noinst_PROGRAMS =
 
-if m68040
-## m68040/fpsp
-noinst_PROGRAMS += m68040/fpsp.rel
-m68040_fpsp_rel_SOURCES = m68040/fpsp/rtems_fpsp.c m68040/fpsp/bindec.S \
-    m68040/fpsp/binstr.S m68040/fpsp/bugfix.S m68040/fpsp/decbin.S \
-    m68040/fpsp/do_func.S m68040/fpsp/gen_except.S m68040/fpsp/get_op.S \
-    m68040/fpsp/kernel_ex.S m68040/fpsp/res_func.S m68040/fpsp/round.S \
-    m68040/fpsp/rtems_skel.S m68040/fpsp/sacos.S m68040/fpsp/sasin.S \
-    m68040/fpsp/satan.S m68040/fpsp/satanh.S m68040/fpsp/scale.S \
-    m68040/fpsp/scosh.S m68040/fpsp/setox.S m68040/fpsp/sgetem.S \
-    m68040/fpsp/sint.S m68040/fpsp/slog2.S m68040/fpsp/slogn.S \
-    m68040/fpsp/smovecr.S m68040/fpsp/srem_mod.S m68040/fpsp/ssin.S \
-    m68040/fpsp/ssinh.S m68040/fpsp/stan.S m68040/fpsp/stanh.S \
-    m68040/fpsp/sto_res.S m68040/fpsp/stwotox.S m68040/fpsp/tbldo.S \
-    m68040/fpsp/util.S m68040/fpsp/x_bsun.S m68040/fpsp/x_fline.S \
-    m68040/fpsp/x_operr.S m68040/fpsp/x_ovfl.S m68040/fpsp/x_snan.S \
-    m68040/fpsp/x_store.S m68040/fpsp/x_unfl.S m68040/fpsp/x_unimp.S \
-    m68040/fpsp/x_unsupp.S
-m68040_fpsp_rel_CPPFLAGS = $(AM_CPPFLAGS)
-m68040_fpsp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-
-noinst_HEADERS = m68040/fpsp/fpsp.defs
-endif
-EXTRA_DIST = m68040/fpsp/README
-
 if mcf5206
 # mcf5206/include
 ## mcf5206/clock



More information about the vc mailing list