* Subdirectory output dependencies
@ 2013-05-14 4:52 H. Peter Anvin
2013-05-14 22:38 ` H. Peter Anvin
0 siblings, 1 reply; 2+ messages in thread
From: H. Peter Anvin @ 2013-05-14 4:52 UTC (permalink / raw)
To: linux-kbuild
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?
-hpa
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Subdirectory output dependencies
2013-05-14 4:52 Subdirectory output dependencies H. Peter Anvin
@ 2013-05-14 22:38 ` H. Peter Anvin
0 siblings, 0 replies; 2+ messages in thread
From: H. Peter Anvin @ 2013-05-14 22:38 UTC (permalink / raw)
To: linux-kbuild
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-14 22:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-14 4:52 Subdirectory output dependencies H. Peter Anvin
2013-05-14 22:38 ` H. Peter Anvin
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.