source: rtems/c/src/lib/libbsp/powerpc/psim/tools/Makefile.am @ 001b4162

4.104.114.9
Last change on this file since 001b4162 was 001b4162, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 3, 2008 at 6:37:51 PM

2008-09-03 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac: Rework psim scripts to share code for creating device trees and actually running the tests. Overhaul the device tree generated to always include a block of Flash and a Real-Time Clock. When running MP tests enable the shared memory and semaphore devices.
  • psim-bottom, psim-gdb-bottom, psim-gdb-top.in, psim-shared, psim-top.in, runtest-bottom, runtest-top.in: New files.
  • psim, psim-gdb, runtest: Removed.
  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[811804fe]1##
2## $Id$
3##
[244ecd9]4
[fe8bc62]5ACLOCAL_AMFLAGS = -I ../../../../../aclocal
[244ecd9]6
[ca35b669]7transform =
8bsptools_bindir = ${exec_prefix}/@RTEMS_BSP@/tests
[470d03c]9bsptools_bin_SCRIPTS = psim psim-gdb runtest
[df49c60]10
[0a0fdc6]11## HACK: install to build-tree
[001b4162]12all-local: psim $(TMPINSTALL_FILES)
[df49c60]13
[0a0fdc6]14TMPINSTALL_FILES =
[df49c60]15
[0a0fdc6]16$(PROJECT_ROOT)/@RTEMS_BSP@/tests/$(dirstamp):
[f2a90594]17        @$(MKDIR_P) $(PROJECT_ROOT)/@RTEMS_BSP@/tests
[0a0fdc6]18        @: > $(PROJECT_ROOT)/@RTEMS_BSP@/tests/$(dirstamp)
[03ea5323]19TMPINSTALL_FILES += $(PROJECT_ROOT)/@RTEMS_BSP@/tests/$(dirstamp)
[df49c60]20
[001b4162]21psim: psim-top psim-shared psim-bottom
22        cat $^ >$@
23        chmod +x $@
24
25psim-gdb: psim-gdb-top psim-shared psim-gdb-bottom
26        cat $^ >$@
27        chmod +x $@
28
29runtest: runtest-top psim-shared runtest-bottom
30        cat $^ >$@
31        chmod +x $@
32
[0a0fdc6]33$(PROJECT_ROOT)/@RTEMS_BSP@/tests/psim: psim $(PROJECT_ROOT)/@RTEMS_BSP@/tests/$(dirstamp)
34        $(INSTALL_SCRIPT) $< $(PROJECT_ROOT)/@RTEMS_BSP@/tests/psim
35TMPINSTALL_FILES += $(PROJECT_ROOT)/@RTEMS_BSP@/tests/psim
[244ecd9]36
[486f49a2]37$(PROJECT_ROOT)/@RTEMS_BSP@/tests/psim-gdb: psim-gdb $(PROJECT_ROOT)/@RTEMS_BSP@/tests/$(dirstamp)
[270ce1ff]38        $(INSTALL_SCRIPT) $< $(PROJECT_ROOT)/@RTEMS_BSP@/tests/psim-gdb
39TMPINSTALL_FILES += $(PROJECT_ROOT)/@RTEMS_BSP@/tests/psim-gdb
40
[0a0fdc6]41$(PROJECT_ROOT)/@RTEMS_BSP@/tests/runtest: runtest $(PROJECT_ROOT)/@RTEMS_BSP@/tests/$(dirstamp)
42        $(INSTALL_SCRIPT) $< $(PROJECT_ROOT)/@RTEMS_BSP@/tests/runtest
43TMPINSTALL_FILES += $(PROJECT_ROOT)/@RTEMS_BSP@/tests/runtest
[244ecd9]44
[001b4162]45CLEANFILES = $(TMPINSTALL_FILES) psim psim-gdb
[03ea5323]46
[c53e9e2f]47include $(top_srcdir)/../../../../../automake/host.am
Note: See TracBrowser for help on using the repository browser.