From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kbuild@vger.kernel.org
Subject: Re: Subdirectory output dependencies
Date: Tue, 14 May 2013 15:38:18 -0700 [thread overview]
Message-ID: <5192BCDA.4000401@zytor.com> (raw)
In-Reply-To: <5191C313.1010105@zytor.com>
On 05/13/2013 09:52 PM, H. Peter Anvin wrote:
> What is the proper way to indicate to Kbuild that something in the
> current directory depends on something built in a subdirectory?
>
> Specifically, something like:
>
> obj-y += foo/
> obj-y += bar.o
>
> ... where bar.o depends on a header file generated inside the foo directory?
>
Note: in the real-life example there is a lot of bar.o's:
https://git.kernel.org/cgit/libs/klibc/klibc.git/tree/usr/klibc/Kbuild
-hpa
prev parent reply other threads:[~2013-05-14 22:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-14 4:52 Subdirectory output dependencies H. Peter Anvin
2013-05-14 22:38 ` H. Peter Anvin [this message]
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=5192BCDA.4000401@zytor.com \
--to=hpa@zytor.com \
--cc=linux-kbuild@vger.kernel.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 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.