mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
XEN_LIB_STORED is serving no real purpose, as it is a mount point for a tmpfs, so it can be replaced easily by XEN_RUN_STORED. XENSTORED_ROOTDIR is basically unused already, there is just a single reference in xs_daemon_rootdir() with a fallback to XEN_LIB_STORED, and a .gdbinit file setting it. Remove the .gdbinit file, as it is not known having been used since ages, and make xs_daemon_rootdir() an alias of xs_daemon_rundir(). Reported-by: Andrew Cooper <andrew.cooper3@citrix.com> Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com> Release-acked-by: Henry Wang <Henry.Wang@arm.com>
32 lines
919 B
Makefile
32 lines
919 B
Makefile
# Makefile shared with stubdom
|
|
|
|
XENSTORED_OBJS-y := xenstored_core.o xenstored_watch.o xenstored_domain.o
|
|
XENSTORED_OBJS-y += xenstored_transaction.o xenstored_control.o
|
|
XENSTORED_OBJS-y += xs_lib.o talloc.o utils.o tdb.o hashtable.o
|
|
|
|
XENSTORED_OBJS-$(CONFIG_Linux) += xenstored_posix.o
|
|
XENSTORED_OBJS-$(CONFIG_NetBSD) += xenstored_posix.o
|
|
XENSTORED_OBJS-$(CONFIG_FreeBSD) += xenstored_posix.o
|
|
XENSTORED_OBJS-$(CONFIG_MiniOS) += xenstored_minios.o
|
|
|
|
# Include configure output (config.h)
|
|
CFLAGS += -include $(XEN_ROOT)/tools/config.h
|
|
CFLAGS += -I./include
|
|
CFLAGS += $(CFLAGS_libxenevtchn)
|
|
CFLAGS += $(CFLAGS_libxenctrl)
|
|
CFLAGS += $(CFLAGS_libxenguest)
|
|
CFLAGS += $(CFLAGS_libxentoolcore)
|
|
CFLAGS += -DXEN_RUN_STORED="\"$(XEN_RUN_STORED)\""
|
|
|
|
ifdef CONFIG_STUBDOM
|
|
CFLAGS += -DNO_SOCKETS=1
|
|
endif
|
|
|
|
$(XENSTORED_OBJS-y): CFLAGS += $(CFLAGS_libxengnttab)
|
|
|
|
xenstored.a: $(XENSTORED_OBJS-y)
|
|
$(AR) cr $@ $^
|
|
|
|
clean::
|
|
$(RM) *.a *.o
|