[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1ce3f092-3552-173f-b26a-48ec81d49f55@gmail.com>
Date: Thu, 18 May 2017 13:03:31 -0700
From: David Ahern <dsahern@...il.com>
To: Alexander Alemayhu <alexander@...mayhu.com>
Cc: Mickaël Salaün <mic@...ikod.net>,
Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>,
linux-kernel@...r.kernel.org,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Wang Nan <wangnan0@...wei.com>, netdev@...r.kernel.org
Subject: Re: [PATCH v1] samples/bpf: Add a .gitignore for binaries
On 5/17/17 1:18 AM, Alexander Alemayhu wrote:
> I have looked into this but found it to be not easy and all attempts to
> change the Makefile has resulted in obscure errors :/
>
> Getting clang to output in a different directory was easy[0], but I guess
> this is not the right approach either. Have you tried making the change?
spent an hour so a few weeks back. It is not trivial, but someone needs
to find to fix it now.
perf is the example to use: you can build it from both top level kernel
directory (e.g, make -C tools/perf O=/tmp/perf) and the perf directory
(cd tools/perf; make O=/tmp/perf). Both are wanted for samples/bpf and
it would be nice to keep the O= option as well.
I don't have the time for the next few weeks. Perhaps mid-June I can
take a look.
Powered by blists - more mailing lists