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


Groups > linux.kernel > #1362363

Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker
Date 2016-03-22 08:20 +0100
Message-ID <rfoLE-12z-11@gated-at.bofh.it> (permalink)
References (3 earlier) <re5L5-23u-51@gated-at.bofh.it> <re6e7-2TF-23@gated-at.bofh.it> <re6xs-3hC-15@gated-at.bofh.it> <rf34u-2NK-25@gated-at.bofh.it> <rfeVY-2so-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Mar 21, 2016 at 05:40:30PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Mon, Mar 21, 2016 at 09:08:52AM +0100, Jiri Olsa escreveu:
> > On Fri, Mar 18, 2016 at 02:38:52PM -0300, Arnaldo Carvalho de Melo wrote:
> > > Em Fri, Mar 18, 2016 at 12:16:23PM -0500, Josh Poimboeuf escreveu:
> > > > So 'allow-override' would probably be a good option.
> 
> > > Humm, my preference is to make tools/ look like the kernel, and the
> > > kernel doesn't use that allow-override thing, right? So perhaps add what
> > > is missing to make it look exactly like the kernel and then ditch this
> > > allow-override thing?
> 
> > Steven explained his reason for allow-override in the comment above it,
> > please make sure the new solution follows that
> 
> Sure, and I'm no make guru, but what puzzles me is why isn't this
> required in:
> 
> [acme@jouet linux]$ grep -w ^CC Makefile 
> CC		= $(CROSS_COMPILE)gcc
> [acme@jouet linux]$

Steve has special requirements I guess ;-) CC-ed

> 
> > > What about having all this in a single place in tools/script/?
> > 
> > maybe tools/script/Makefile.comp
> 
> But then we would have to include multiple files in each Makefile,
> perhaps it would be better to stash this in
> tools/scripts/Makefile.include, that way we wouldn't have to include
> any new file.

sure, np

jirka

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


Thread

[PATCH] tools lib api: respect CROSS_COMPILE for the linker Lucas Stach <l.stach@pengutronix.de> - 2016-03-17 18:30 +0100
  Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-03-18 17:30 +0100
    Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker Josh Poimboeuf <jpoimboe@redhat.com> - 2016-03-18 17:40 +0100
      Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker Josh Poimboeuf <jpoimboe@redhat.com> - 2016-03-18 17:50 +0100
        Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-03-18 18:40 +0100
      Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-03-18 17:50 +0100
        Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker Josh Poimboeuf <jpoimboe@redhat.com> - 2016-03-18 18:20 +0100
          Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-03-18 18:40 +0100
            Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker Josh Poimboeuf <jpoimboe@redhat.com> - 2016-03-18 18:50 +0100
            Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker Jiri Olsa <jolsa@redhat.com> - 2016-03-21 09:10 +0100
              Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-03-21 21:50 +0100
                Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker Jiri Olsa <jolsa@redhat.com> - 2016-03-22 08:20 +0100
                Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker Steven Rostedt <rostedt@goodmis.org> - 2016-03-22 14:00 +0100
                Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-22 15:50 +0100
                Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker David Sharp <dhsharp@google.com> - 2016-03-22 19:30 +0100
                Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker David Sharp <dhsharp@google.com> - 2016-03-22 19:40 +0100

csiph-web