lkml.org 
[lkml]   [2020]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: build warning after merge of the bpf-next tree
On Tue, Jul 14, 2020 at 08:33:41PM +1000, Stephen Rothwell wrote:

SNIP

> > diff --git a/tools/bpf/resolve_btfids/Makefile b/tools/bpf/resolve_btfids/Makefile
> > index 948378ca73d4..a88cd4426398 100644
> > --- a/tools/bpf/resolve_btfids/Makefile
> > +++ b/tools/bpf/resolve_btfids/Makefile
> > @@ -16,6 +16,20 @@ else
> > MAKEFLAGS=--no-print-directory
> > endif
> >
> > +# always use the host compiler
> > +ifneq ($(LLVM),)
> > +HOSTAR ?= llvm-ar
> > +HOSTCC ?= clang
> > +HOSTLD ?= ld.lld
> > +else
> > +HOSTAR ?= ar
> > +HOSTCC ?= gcc
> > +HOSTLD ?= ld
> > +endif
> > +AR = $(HOSTAR)
> > +CC = $(HOSTCC)
> > +LD = $(HOSTLD)
> > +
> > OUTPUT ?= $(srctree)/tools/bpf/resolve_btfids/
> >
> > LIBBPF_SRC := $(srctree)/tools/lib/bpf/
> >
>
> Thanks for the quick response. However, in the mean time the bpf-next
> tree has been merged into the net-next tree, so these fixes will be
> needed there ASAP.

I just posted it

jirka

\
 
 \ /
  Last update: 2020-07-14 12:47    [W:0.071 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site