From: Michal Marek <mmarek@suse.cz>
To: Masahiro Yamada <yamada.m@jp.panasonic.com>
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: Fri, 11 Jul 2014 15:46:44 +0200 [thread overview]
Message-ID: <53BFEAC4.9040407@suse.cz> (raw)
In-Reply-To: <1402287394-31133-6-git-send-email-yamada.m@jp.panasonic.com>
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))
Michal
next prev parent reply other threads:[~2014-07-11 13:46 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 [this message]
2014-07-16 7:16 ` Masahiro Yamada
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=53BFEAC4.9040407@suse.cz \
--to=mmarek@suse.cz \
--cc=linux-kbuild@vger.kernel.org \
--cc=sam@ravnborg.org \
--cc=yamada.m@jp.panasonic.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.