File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,16 @@ UseCamlp4(rpc-light.idl, storage_interface)
1111
1212CFLAGS += -std=gnu99 -Wall -Werror -I$(shell ocamlc -where)
1313
14+ XENLIGHT_LINK_FLAGS= -cclib -lxlutil -cclib -luuid -cclib -lblktapctl -cclib -lutil -cclib -lxenlight -cclib -lxenstore
1415# Since the section didn't work, link against the xen libs for everything if we are building
1516# xen stuff at all.
1617# NB order of libraries is important: OMake cannot determine dependencies between libraries
1718# (the same holds for OCaml packages)
1819XEN_OCAML_LIBS = ../xenops/xenops ../auth/pam
1920XEN_OCAMLINCLUDES =
20- XEN_OCAMLPACKS = xenctrl xenstore cpuid
21+ XEN_OCAMLPACKS = xenctrl xenstore cpuid xenlight
2122OCAML_CLIBS = $(XEN_OCAML_CLIBS) $(OCAML_CLIBS)
22- OCAML_LINK_FLAGS = $(XEN_OCAML_LINK_FLAGS) $(OCAML_LINK_FLAGS)
23+ OCAML_LINK_FLAGS = $(XEN_OCAML_LINK_FLAGS) $(OCAML_LINK_FLAGS) $(XENLIGHT_LINK_FLAGS)
2324CFLAGS = $(XEN_CFLAGS) $(CFLAGS)
2425OCAMLINCLUDES = $(XEN_OCAMLINCLUDES) $(OCAMLINCLUDES)
2526# xc.cma depends on uuid.cma
Original file line number Diff line number Diff line change 11OCAMLINCLUDES = ../xapi ../util
22OCAML_LIBS = ../util/stats
33OCAML_CLIBS += $(XEN_OCAML_CLIBS)
4- OCAML_LINK_FLAGS+= $(XEN_OCAML_LINK_FLAGS)
4+ # XXX: these should all be specified in the ocamlfind META file:
5+ XENLIGHT_LINK_FLAGS= -cclib -lxlutil -cclib -luuid -cclib -lblktapctl -cclib -lutil -cclib -lxenlight -cclib -lxenstore
6+ OCAML_LINK_FLAGS+= $(XEN_OCAML_LINK_FLAGS) $(XENLIGHT_LINK_FLAGS)
7+
58CFLAGS += $(XEN_CFLAGS)
69
7- OCAMLPACKS = threads xenctrl xenstore stdext log cdrom netdev
10+ OCAMLPACKS = threads xenctrl xenstore stdext log cdrom netdev xenlight
811OCAMLFLAGS += -thread
912
1013LIBFILES = table xenops_helpers xenbus_utils balloon xenguestHelper domain hotplug device io statdev xal netman memory watch device_common squeeze squeeze_xen squeezed_rpc squeezed_state squeezed_rpc device_number stubdom
You can’t perform that action at this time.
0 commit comments