Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1644885

Re: [PATCH v1] samples/bpf: Add a .gitignore for binaries

From David Ahern <dsahern@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v1] samples/bpf: Add a .gitignore for binaries
Date 2017-05-18 22:10 +0200
Message-ID <tIzUd-8fL-9@gated-at.bofh.it> (permalink)
References <ta9Sx-2WQ-5@gated-at.bofh.it> <tadW9-5k8-5@gated-at.bofh.it> <tGCCS-2pX-15@gated-at.bofh.it> <tHU4F-3L8-5@gated-at.bofh.it> <tI2lA-AO-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v1] samples/bpf: Add a .gitignore for binaries Mickaël Salaün <mic@digikod.net> - 2017-05-13 12:40 +0200
  Re: [PATCH v1] samples/bpf: Add a .gitignore for binaries David Ahern <dsahern@gmail.com> - 2017-05-17 01:30 +0200
    Re: [PATCH v1] samples/bpf: Add a .gitignore for binaries Alexander Alemayhu <alexander@alemayhu.com> - 2017-05-17 10:20 +0200
      Re: [PATCH v1] samples/bpf: Add a .gitignore for binaries David Ahern <dsahern@gmail.com> - 2017-05-18 22:10 +0200

csiph-web