Messages in this thread | | | Date | Wed, 28 Mar 2012 19:57:01 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH 0/2] tools: Add a toplevel Makefile |
| |
On Wed, Mar 28, 2012 at 11:51:25AM +0200, Borislav Petkov wrote: > I'm currently thinking I want to give the make tools/{perf,help,...} > approach a try because it is clear that it is a subdir of the kernel src > tree and it probably could support all the targets we thought about. > > Let me play around with it a bit...
Yeah, nasty. I've almost got it to build a tool when doing
$ make tools/<toolname>
but it fails on all the targets which have implicit build rules. (It seems to build perf fine though because perf Makefile doesn't have implicit rules for %.c -> %.o etc). And I can see that implicit rules are being cleared in the toplevel kernel Makefile so that they don't kick in.
At this moment, I'm open for hints from the kbuild people, if we use the toplevel Makefile to build tools/, should all the tools' Makefiles have explicit rules or ...? Any suggestions are appreciated.
Thanks.
-- Regards/Gruss, Boris.
Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551
| |