[LITMUS^RT] [PATCH 0/2] Add module functionality to liblitmus

Manohar Vanga mvanga at mpi-sws.org
Tue Feb 4 03:20:25 CET 2014


Hi all,

These two patches add support for building LITMUS^RT tasks as out-of-tree
modules using kernel-style Makefiles. The first patch adds a 'modules'
rule to the liblitmus Makefile and the second patch adds a simple task
skeleton folder consisting of a copy of base_task.c and an appropriate
Makefile.

It's a little hacky (Makefile's always seem to be) but it works. If anyone
has a better method of achieving this, please let me know.

Thanks and best regards!
--
/mvanga

Manohar Vanga (2):
  Add module support in Makefile
  Add a task skeleton that uses the new modules functionality

 Makefile               |    6 ++
 task-skeleton/Makefile |   11 ++++
 task-skeleton/task.c   |  162 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 179 insertions(+)
 create mode 100644 task-skeleton/Makefile
 create mode 100644 task-skeleton/task.c

-- 
1.7.9.5





More information about the litmus-dev mailing list