public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.m@jp.panasonic.com>
To: Michal Marek <mmarek@suse.cz>
Cc: linux-kbuild@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>
Subject: Re: [PATCH v2 5/5] kbuild: clean-up and bug fix of scripts/Makefile.host
Date: Wed, 16 Jul 2014 16:16:07 +0900	[thread overview]
Message-ID: <20140716161607.AC20.AA925319@jp.panasonic.com> (raw)
In-Reply-To: <53BFEAC4.9040407@suse.cz>

Hi Michal,



On Fri, 11 Jul 2014 15:46:44 +0200
Michal Marek <mmarek@suse.cz> wrote:

> On 2014-06-09 06:16, Masahiro Yamada wrote:
> > -# hostprogs-y := tools/build may have been specified. Retrieve directory
> > -host-objdirs := $(dir $(__hostprogs))
> > -# directory of .o files from prog-objs notation
> > -host-objdirs += $(dir $(foreach f,$(host-cmulti), $($(f)-objs)))
> > -# directory of .o files from prog-cxxobjs notation
> > -host-objdirs += $(dir $(foreach f,$(host-cxxmulti), $($(f)-cxxobjs)))
> > +# hostprogs-y := tools/build may have been specified.
> > +# Retrieve also directory of .o files from prog-objs or prog-cxxobjs notation
> > +host-objdirs := $(dir \
> > +	     $(foreach f, $(__hostprogs), $(f) $($(f)-objs) $($(f)-cxxobjs)))
> 
> You could also use the $(host-cobjs) and $(host-cxxobjs) variables
> defined earlier and write
> 
> host-objdirs := $(dir $(__hostprogs) $(host-cobjs) $(host-cxxobjs))
> 


Yup, this is much cleaner.
Fixed in v3.

Thanks!


Best Regards
Masahiro Yamada


  reply	other threads:[~2014-07-16  7:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-09  4:16 [PATCH v2 0/5] kbuild: Clean-up and bug fixes of scripts/Makefile.host Masahiro Yamada
2014-06-09  4:16 ` [PATCH v2 1/5] kbuild: fix a typo in scripts/Makefile.host Masahiro Yamada
2014-06-09  4:16 ` [PATCH v2 2/5] kbuild: fix a bug of C++ host program handling Masahiro Yamada
2014-06-09  4:16 ` [PATCH v2 3/5] kbuild: drop shared library support from Makefile.host Masahiro Yamada
2014-07-11 13:35   ` Michal Marek
2014-07-16  7:14     ` Masahiro Yamada
2014-06-09  4:16 ` [PATCH v2 4/5] kbuild: clean up scripts/Makefile.host Masahiro Yamada
2014-06-09  4:16 ` [PATCH v2 5/5] kbuild: clean-up and bug fix of scripts/Makefile.host Masahiro Yamada
2014-07-11 13:46   ` Michal Marek
2014-07-16  7:16     ` Masahiro Yamada [this message]
2014-06-10 13:21 ` [PATCH v2 0/5] kbuild: Clean-up and bug fixes " Michal Marek
2014-07-09  6:54   ` Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140716161607.AC20.AA925319@jp.panasonic.com \
    --to=yamada.m@jp.panasonic.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=mmarek@suse.cz \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox