From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Michal Marek <mmarek@suse.cz>,
linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org
Subject: Re: [PATCH] kbuild: let object files depend on recordmcount instead of its sources
Date: Fri, 7 Oct 2011 20:04:15 +0200 [thread overview]
Message-ID: <20111007180415.GW6949@pengutronix.de> (raw)
In-Reply-To: <1318005094.4729.40.camel@gandalf.stny.rr.com>
On Fri, Oct 07, 2011 at 12:31:33PM -0400, Steven Rostedt wrote:
> On Fri, 2011-10-07 at 15:19 +0200, Uwe Kleine-König wrote:
> > This has the upside that distributions only have to ship the recordmcount
> > binary to allow building modules instead of recordmcount and it's sources.
> >
> > Make still notices that the object files need to be rebuilt when
> > recordmcount's sources change.
>
> This doesn't work. Try it on a clean build:
>
> HOSTCC scripts/basic/fixdep
> GEN /home/rostedt/work/git/tmp/Makefile
> HOSTCC scripts/kconfig/conf.o
> SHIPPED scripts/kconfig/zconf.tab.c
> SHIPPED scripts/kconfig/lex.zconf.c
> SHIPPED scripts/kconfig/zconf.hash.c
> HOSTCC scripts/kconfig/zconf.tab.o
> HOSTLD scripts/kconfig/conf
> scripts/kconfig/conf --silentoldconfig Kconfig
> Using /home/rostedt/work/git/linux-rt.git as source for kernel
> GEN /home/rostedt/work/git/tmp/Makefile
> CHK include/linux/version.h
> UPD include/linux/version.h
> CHK include/generated/utsrelease.h
> UPD include/generated/utsrelease.h
> CC kernel/bounds.s
> GEN include/generated/bounds.h
> CC arch/x86/kernel/asm-offsets.s
> GEN include/generated/asm-offsets.h
> CALL /home/rostedt/work/git/linux-rt.git/scripts/checksyscalls.sh
> make[3]: *** No rule to make target `scripts/mod/empty.o', needed by `scripts/mod/elfconfig.h'. Stop.
> make[2]: *** [scripts/mod] Error 2
> make[1]: *** [scripts] Error 2
> make: *** [sub-make] Error 2
Works for me with 3ee72ca + my patch doing:
make -C /path/to/my/linux/src/dir defconfig O=$(pwd)
make -j 6
If you tell me your exact setup I'll try to reproduce and fix.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
next prev parent reply other threads:[~2011-10-07 18:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-07 13:19 Uwe Kleine-König
2011-10-07 16:31 ` Steven Rostedt
2011-10-07 18:04 ` Uwe Kleine-König [this message]
2011-10-07 18:52 ` Steven Rostedt
2011-10-07 19:47 ` Uwe Kleine-König
2011-10-07 20:00 ` Steven Rostedt
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=20111007180415.GW6949@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
--cc=rostedt@goodmis.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
all inboxes | Powered by JetHome®