[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2] shim: don't let build modify shim.config
>>> On 20.04.18 at 08:40, <jgross@xxxxxxxx> wrote: > --- a/tools/firmware/xen-dir/Makefile > +++ b/tools/firmware/xen-dir/Makefile > @@ -41,16 +41,14 @@ linkfarm.stamp: $(DEP_DIRS) $(DEP_FILES) FORCE > $(D): linkfarm.stamp > $(MAKE) -C $(D)/xen distclean > > -.PHONY: shim-%config > -shim-%config: $(D) FORCE > - $(MAKE) -C $(D)/xen $*config \ > - XEN_CONFIG_EXPERT=y \ > - KCONFIG_CONFIG=$(CURDIR)/shim.config > +$(D)/xen/.config: shim.config $(D) Do you need the $(D)/ prefix here, ... > + cp $< $@ > + $(MAKE) -C $(D)/xen olddefconfig \ ... here, and ... > + XEN_CONFIG_EXPERT=y > > -xen-shim: $(D) shim-olddefconfig > +xen-shim: $(D) $(D)/xen/.config ... here? In the middle case using $(@D) might be better anyway. Other than that LGTM, but please consider removing the line continuations from the make invocations. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |