[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 5/7] x86: relocate pvh_info
On Fri, Jan 19, 2018 at 04:29:31PM +0000, Roger Pau Monné wrote: > On Fri, Jan 19, 2018 at 03:34:56PM +0000, Wei Liu wrote: > > diff --git a/xen/arch/x86/boot/build32.mk b/xen/arch/x86/boot/build32.mk > > index 48c7407c00..028ac19b96 100644 > > --- a/xen/arch/x86/boot/build32.mk > > +++ b/xen/arch/x86/boot/build32.mk > > @@ -36,5 +36,8 @@ CFLAGS := $(filter-out -flto,$(CFLAGS)) > > cmdline.o: cmdline.c $(CMDLINE_DEPS) > > > > reloc.o: reloc.c $(RELOC_DEPS) > > +ifeq ($(CONFIG_PVH_GUEST),y) > > +reloc.o: CFLAGS += -DCONFIG_PVH_GUEST > > +endif > > I would maybe do this above, where the rest of the CFLAGS are set. > Certainly setting -DCONFIG_PVH_GUEST shouldn't cause issues elsewhere. > > CFLAGS-$(CONFIG_PVH_GUEST) += -DCONFIG_PVH_GUEST > CFLAGS += $(CFLAGS-y) > Missed this one. I would rather only have -DCONFIG_PVH_GUEST for the file that needs it. Let me know if you feel strongly about this. Wei. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |