[PATCH] bsp/mcf5206elite: Do not install runtest script

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Apr 25 14:09:17 UTC 2018


Provide the runtest script only as a part of the sources.  This
simplifies the build system.

Test support should be included in the RTEMS Tester.
---
 .../tools => bsps/m68k/mcf5206elite}/runtest       |  0
 c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am     |  5 -----
 c/src/lib/libbsp/m68k/mcf5206elite/configure.ac    |  2 --
 .../lib/libbsp/m68k/mcf5206elite/tools/Makefile.am | 22 ----------------------
 .../libbsp/m68k/mcf5206elite/tools/configure.ac    | 19 -------------------
 5 files changed, 48 deletions(-)
 rename {c/src/lib/libbsp/m68k/mcf5206elite/tools => bsps/m68k/mcf5206elite}/runtest (100%)
 delete mode 100644 c/src/lib/libbsp/m68k/mcf5206elite/tools/Makefile.am
 delete mode 100644 c/src/lib/libbsp/m68k/mcf5206elite/tools/configure.ac

diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/tools/runtest b/bsps/m68k/mcf5206elite/runtest
similarity index 100%
rename from c/src/lib/libbsp/m68k/mcf5206elite/tools/runtest
rename to bsps/m68k/mcf5206elite/runtest
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am b/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am
index 4148b28366..8c31be6604 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am
@@ -5,11 +5,6 @@ include $(top_srcdir)/../../bsp.am
 
 dist_project_lib_DATA = ../../../../../../bsps/m68k/mcf5206elite/start/bsp_specs
 
-
-_SUBDIRS = . tools
-
-
-
 start.$(OBJEXT): ../../../../../../bsps/m68k/mcf5206elite/start/start.S
 	$(CPPASCOMPILE) -o $@ -c $<
 project_lib_DATA = start.$(OBJEXT)
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/configure.ac b/c/src/lib/libbsp/m68k/mcf5206elite/configure.ac
index d735b281f7..24453b4008 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/configure.ac
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/configure.ac
@@ -15,8 +15,6 @@ RTEMS_BSP_CONFIGURE
 
 RTEMS_BSP_CLEANUP_OPTIONS
 
-AC_CONFIG_SUBDIRS(tools)
-
 # Explicitly list all Makefiles here
 AC_CONFIG_FILES([Makefile])
 AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/tools/Makefile.am b/c/src/lib/libbsp/m68k/mcf5206elite/tools/Makefile.am
deleted file mode 100644
index 189a991ede..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5206elite/tools/Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-ACLOCAL_AMFLAGS = -I ../../../../../aclocal
-
-transform =
-bsptools_bindir = ${exec_prefix}/@RTEMS_BSP@/tests
-bsptools_bin_SCRIPTS = runtest
-
-all-local: $(TMPINSTALL_FILES)
-
-TMPINSTALL_FILES =
-
-$(PROJECT_ROOT)/@RTEMS_BSP@/tests/$(dirstamp):
-	@$(MKDIR_P) $(PROJECT_ROOT)/@RTEMS_BSP@/tests
-	@: > $(PROJECT_ROOT)/@RTEMS_BSP@/tests/$(dirstamp)
-TMPINSTALL_FILES += $(PROJECT_ROOT)/@RTEMS_BSP@/tests/$(dirstamp)
-
-$(PROJECT_ROOT)/@RTEMS_BSP@/tests/runtest: runtest $(PROJECT_ROOT)/@RTEMS_BSP@/tests/$(dirstamp)
-	$(INSTALL_SCRIPT) $< $(PROJECT_ROOT)/@RTEMS_BSP@/tests/runtest
-TMPINSTALL_FILES += $(PROJECT_ROOT)/@RTEMS_BSP@/tests/runtest
-
-CLEANFILES = $(TMPINSTALL_FILES)
-
-include $(top_srcdir)/../../../../../automake/host.am
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/tools/configure.ac b/c/src/lib/libbsp/m68k/mcf5206elite/tools/configure.ac
deleted file mode 100644
index 61c7848ede..0000000000
--- a/c/src/lib/libbsp/m68k/mcf5206elite/tools/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-mcf5206elite-tools],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-RTEMS_TOP(../../../../../../..)
-RTEMS_SOURCE_TOP
-RTEMS_BUILD_TOP
-
-AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENV_RTEMSBSP
-
-RTEMS_PROJECT_ROOT
-RTEMS_TOOLPATHS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
-- 
2.12.3



More information about the devel mailing list