>>> On 15.03.16 at 21:18, <[email protected]> wrote: > Wrap the various tmem functions with the Kconfig generated CONFIG_TMEM > option allowing users to build Xen without tmem support. > > Signed-off-by: Doug Goldstein <[email protected]> > --- > CC: Keir Fraser <[email protected]> > CC: Jan Beulich <[email protected]> > CC: Andrew Cooper <[email protected]> > CC: Konrad Rzeszutek Wilk <[email protected]> > > changes from v1: > - add description provided by Konrad (thanks!) > - tweaks to Makefile suggested by Jan
Only kind of: > @@ -65,7 +63,12 @@ obj-bin-$(CONFIG_X86) += $(foreach n,decompress bunzip2 > unxz unlzma unlzo unlz4 > obj-$(perfc) += perfc.o > obj-$(crash_debug) += gdbstub.o > > -obj-$(CONFIG_COMPAT) += $(addprefix compat/,domain.o kernel.o memory.o > multicall.o tmem_xen.o xlat.o) > +obj-$(CONFIG_COMPAT) += $(addprefix compat/,domain.o kernel.o memory.o > multicall.o xlat.o) > + > +tmem-y += tmem.o > +tmem-y += tmem_xen.o I had intentionally suggested tmem-y := tmem.o tmem_xen.o Splitting this up into two lines is a matter of taste, but not using := is inefficient, as it requires make to possibly expand the variable many times instead of just once. But anyway - since functionality wise this is fine, with or without that further adjustment Acked-by: Jan Beulich <[email protected]> Jan _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
