summaryrefslogtreecommitdiffstats
path: root/libbsd.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-11-28 14:23:15 +1100
committerChris Johns <chrisj@rtems.org>2016-11-29 15:27:23 +1100
commitf7a4107c6f2e6c8231b606e38af5adb31178a342 (patch)
tree5fa7c344000f6fde0b6981596aa9d0c7bf173bdf /libbsd.py
parentftpd: Use floating-point tasks due to syslog() (diff)
downloadrtems-libbsd-f7a4107c6f2e6c8231b606e38af5adb31178a342.tar.bz2
Add a RTEMS Debugger TCP remote transport.
The patch also adds support to libbsd's build system making source conditional on a configure check. The debugger support is not available on all architectures and this feature lets us test if is avaliable.
Diffstat (limited to 'libbsd.py')
-rwxr-xr-xlibbsd.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/libbsd.py b/libbsd.py
index a8cbd339..36851919 100755
--- a/libbsd.py
+++ b/libbsd.py
@@ -163,6 +163,12 @@ def rtems(mm):
],
mm.generator['source']()
)
+ mod.addRTEMSSourceFiles(
+ [
+ 'debugger/rtems-debugger-remote-tcp.c',
+ ],
+ mm.generator['source-if-header']('rtems/rtems-debugger.h')
+ )
mod.addFile(mm.generator['file']('rtems/rtems-kernel-kvm-symbols.c',
mm.generator['rtems-path'](),
mm.generator['no-convert'](),
@@ -2559,6 +2565,8 @@ def tests(mm):
mod.addTest(mm.generator['test']('cdev01', ['test_main', 'test_cdev']))
mod.addTest(mm.generator['test']('pf01', ['test_main']))
mod.addTest(mm.generator['test']('pf02', ['test_main'], runTest = False))
+ mod.addTest(mm.generator['test-if-header']('debugger01', 'rtems/rtems-debugger.h',
+ ['test_main'], runTest = False, netTest = True))
return mod
#