Ian Campbell
b9fc6f36d5
tools/ocaml: simplify compile/link of test apps
...
xtl doesn't require the full LDLIBS_libxenctrl, just the -L and
xenlight.cmxa, the latter which contains LDLIBS_libxenctrl as needed.
Fixing this avoids the need to be concerned about LDLIBS_libxenctrl
becoming more than one word in the future.
Since the tests are pure ocaml (no C components) CFLAGS and
LIBS_xenlight are not required.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com >
Acked-by: David Scott <dave@recoil.org >
Acked-by: Wei Liu <wei.liu2@citrix.com >
Cc: David Scott <dave@recoil.org >
2015-12-09 12:36:53 +00:00
Olaf Hering
a547da77cd
tools/ocaml: use APPEND_CFLAGS and APPEND_LDFLAGS
...
While implementing the --enable-rpath change I noticed that a ocaml
build does not use APPEND_LDFLAGS. Make use of APPEND_CFLAGS and
APPEND_LDFLAGS as it is done already in other places.
Signed-off-by: Olaf Hering <olaf@aepfle.de >
Cc: David Scott <dave.scott@eu.citrix.com >
Cc: Ian Jackson <ian.jackson@eu.citrix.com >
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com >
Cc: Ian Campbell <ian.campbell@citrix.com >
Cc: Wei Liu <wei.liu2@citrix.com >
Acked-by: David Scott <dave.scott@citrix.com >
Acked-by: Ian Campbell <ian.campbell@citrix.com >
2014-10-08 13:38:22 +01:00
Rob Hoes
9ff19cb678
ocaml: do not install test binaries
...
Signed-off-by: Rob Hoes <rob.hoes@citrix.com >
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com >
Acked-by: Ian Campbell <ian.campbell@citrix.com >
[ ijc -- added back an Empty install rule ]
2013-12-12 17:29:41 +00:00
Rob Hoes
6b5007806a
libxl: ocaml: add console reader functions
...
Signed-off-by: Rob Hoes <rob.hoes@citrix.com >
Acked-by: David Scott <dave.scott@eu.citrix.com >
Acked-by: Ian Campbell <ian.campbell@citrix.com >
2013-12-11 13:17:50 +00:00
Rob Hoes
00d46451e3
libxl: ocaml: implement some simple tests
...
Signed-off-by: Ian Campbell <ian.campbell@citrix.com >
Signed-off-by: Rob Hoes <rob.hoes@citrix.com >
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com >
Acked-by: David Scott <dave.scott@eu.citrix.com >
2013-12-11 13:17:25 +00:00
Rob Hoes
49269dd31e
libxl: ocaml: add simple test case for xentoollog
...
Add a simple noddy test case (tools/ocaml/test) for the the Xentoollog OCaml
module.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com >
Signed-off-by: Rob Hoes <rob.hoes@citrix.com >
Acked-by: David Scott <dave.scott@eu.citrix.com >
2013-12-11 13:17:24 +00:00