[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160426173149.GE42777@ast-mbp.thefacebook.com>
Date: Tue, 26 Apr 2016 10:31:51 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Jesper Dangaard Brouer <brouer@...hat.com>
Cc: netdev@...r.kernel.org, linux-kbuild@...r.kernel.org,
bblanco@...mgrid.com, naveen.n.rao@...ux.vnet.ibm.com,
borkmann@...earbox.net
Subject: Re: [net-next PATCH V2 4/5] samples/bpf: allow make to be run from
samples/bpf/ directory
On Tue, Apr 26, 2016 at 06:27:27PM +0200, Jesper Dangaard Brouer wrote:
> It is not intuitive that 'make' must be run from the top level
> directory with argument "samples/bpf/" to compile these eBPF samples.
>
> Introduce a kbuild make file trick that allow make to be run from the
> "samples/bpf/" directory itself. It basically change to the top level
> directory and call "make samples/bpf/" with the "/" slash after the
> directory name.
>
> Also add a clean target that only cleans this directory, by taking
> advantage of the kbuild external module setting M=$PWD.
>
> Signed-off-by: Jesper Dangaard Brouer <brouer@...hat.com>
Acked-by: Alexei Starovoitov <ast@...nel.org>
Powered by blists - more mailing lists