tools/ocaml: Remove generation of _paths.h
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 6 Dec 2021 17:01:59 +0000 (17:01 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 16 Dec 2021 20:27:12 +0000 (20:27 +0000)
_paths.h isn't useful anymore in systemd_stubs.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
.gitignore
tools/ocaml/xenstored/Makefile
tools/ocaml/xenstored/systemd_stubs.c

index e13cbf84b2443bc335778cce57bca49157d38fe1..958c60bb5fba76073d55c88e316075bd9bdd5b25 100644 (file)
@@ -408,7 +408,6 @@ tools/ocaml/libs/xentoollog/xentoollog.ml
 tools/ocaml/libs/xentoollog/xentoollog.mli
 tools/ocaml/libs/xs/paths.ml
 tools/ocaml/libs/xc/xenctrl_abi_check.h
-tools/ocaml/xenstored/_paths.h
 tools/ocaml/xenstored/oxenstored
 tools/ocaml/xenstored/oxenstored.conf
 tools/ocaml/xenstored/paths.ml
index 89ec3ec76a33a92839f5a9562545ad5bf6f3076e..0b5711b507aa2ba2957084d630fa20cb71baad16 100644 (file)
@@ -30,8 +30,6 @@ systemd_OBJS = systemd
 systemd_C_OBJS = systemd_stubs
 OCAML_LIBRARY += systemd
 
-$(foreach obj,$(systemd_C_OBJS),$(obj).o): _paths.h
-
 LIBS_systemd += $(LDFLAGS-y)
 
 OBJS = paths \
@@ -100,8 +98,3 @@ genpath-target = $(call buildmakevars2module,paths.ml)
 $(eval $(genpath-target))
 
 GENERATED_FILES += paths.ml
-
-genpath-target = $(call buildmakevars2header,_paths.h)
-$(eval $(genpath-target))
-
-GENERATE_FILES += _paths.h
index 31a1a5d384f78da56160958c7c1c18aacb377499..f4c875075abe4c18d820759a866db41afbe34963 100644 (file)
@@ -27,8 +27,6 @@
 
 #include <systemd/sd-daemon.h>
 
-#include "_paths.h"
-
 CAMLprim value ocaml_sd_notify_ready(value ignore)
 {
        CAMLparam1(ignore);