[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 1/4] firmware/seabios: fix build on systems with non GNU toolchains



On Mon, Jul 02, 2018 at 11:36:28AM +0200, Roger Pau Monné wrote:
> On Mon, Jul 02, 2018 at 10:32:15AM +0100, Wei Liu wrote:
> > On Mon, Jul 02, 2018 at 10:28:23AM +0200, Roger Pau Monne wrote:
> > [...]
> > >  
> > >  subtree-force-update:
> > > @@ -128,3 +128,6 @@ endif
> > >  subtree-force-update-all:
> > >   $(MAKE) seabios-dir-force-update
> > >   $(MAKE) ovmf-dir-force-update
> > > +
> > > +subdir-all-seabios-dir: seabios-dir
> > > + $(MAKE) -C $< CC=$(SEABIOSCC) LD=$(SEABIOSLD) PYTHON=$(PYTHON) all;
> > 
> > There is a pattern rule in Rules.mk, so I would very much avoid having
> > it redefined.
> 
> I know, but I need to redefine it so I can pass the extra options. I
> don't see any better way to do this TBH.

Oh, can you try the following to see if it works?

  subdir-all-seabios-dir: CC=$(SEABIOSCC) LD=$(SEABIOSLD)

See
https://ftp.gnu.org/old-gnu/Manuals/make-3.79.1/html_chapter/make_6.html#SEC69

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.