From c30b8de714de1614a129793f1ef37148ab7dbd60 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 30 Sep 2008 14:57:02 +0000 Subject: 2008-09-30 Joel Sherrill * Makefile.am, preinstall.am: Now links all tests. * include/tm27.h: New file. --- c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog | 5 ++++ c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am | 7 ++++- c/src/lib/libbsp/powerpc/mpc55xxevb/include/tm27.h | 32 ++++++++++++++++++++++ c/src/lib/libbsp/powerpc/mpc55xxevb/preinstall.am | 8 ++++++ 4 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 c/src/lib/libbsp/powerpc/mpc55xxevb/include/tm27.h (limited to 'c/src/lib') diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog b/c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog index 536fb7017e..17b3803c00 100644 --- a/c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog +++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog @@ -1,3 +1,8 @@ +2008-09-30 Joel Sherrill + + * Makefile.am, preinstall.am: Now links all tests. + * include/tm27.h: New file. + 2008-09-29 Ralf Corsépius * Makefile.am: Eliminate bsp.am. Build startup files as side-effect diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am b/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am index 63b6eb1007..15b0a0b3bc 100644 --- a/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am +++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am @@ -30,8 +30,10 @@ libbsp_a_SOURCES = # Includes include_HEADERS = include/bsp.h +include_HEADERS += include/tm27.h -nodist_include_HEADERS = include/bspopts.h ../../shared/tod.h +nodist_include_HEADERS = include/bspopts.h ../../shared/tod.h \ + ../../shared/include/coverhd.h include_bsp_HEADERS = include/mpc55xxevb.h \ include/irq-config.h \ ../../shared/include/irq-generic.h \ @@ -49,6 +51,9 @@ libbsp_a_SOURCES += ../shared/clock/clock.c libbsp_a_SOURCES += ../../shared/src/irq-generic.c \ ../../shared/src/irq-legacy.c +# tests +libbsp_a_SOURCES += ../../shared/timerstub.c + # tests libbsp_a_SOURCES += tests/tests.c startup/sd-card-init.c diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/include/tm27.h b/c/src/lib/libbsp/powerpc/mpc55xxevb/include/tm27.h new file mode 100644 index 0000000000..670833867d --- /dev/null +++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/include/tm27.h @@ -0,0 +1,32 @@ +/* + * tm27.h + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#ifndef _RTEMS_TMTEST27 +#error "This is an RTEMS internal file you must not include directly." +#endif + +#ifndef __tm27_h +#define __tm27_h + +/* + * Stuff for Time Test 27 + */ + +#define MUST_WAIT_FOR_INTERRUPT 0 + +#define Install_tm27_vector( handler ) /* empty */ + +#define Cause_tm27_intr() /* empty */ + +#define Clear_tm27_intr() /* empty */ + +#define Lower_tm27_intr() /* empty */ + +#endif diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/preinstall.am b/c/src/lib/libbsp/powerpc/mpc55xxevb/preinstall.am index 1f395232ce..ac1106bc72 100644 --- a/c/src/lib/libbsp/powerpc/mpc55xxevb/preinstall.am +++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/preinstall.am @@ -61,6 +61,10 @@ $(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h +$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h + $(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h @@ -69,6 +73,10 @@ $(PROJECT_INCLUDE)/tod.h: ../../shared/tod.h $(PROJECT_INCLUDE)/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tod.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/tod.h +$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h + $(PROJECT_INCLUDE)/bsp/mpc55xxevb.h: include/mpc55xxevb.h $(PROJECT_INCLUDE)/bsp/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/mpc55xxevb.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/mpc55xxevb.h -- cgit v1.2.3