mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: Oleg Verych <olecom@flower.upol.cz>
Cc: linux-kernel@vger.kernel.org, kbuild-devel@lists.sourceforge.net
Subject: Re: [patch, rfc] kbuild: implement checksrc without building Cources  (was Re: CHECK without C compile?)
Date: Tue, 24 Oct 2006 13:45:08 -0700	[thread overview]
Message-ID: <20061024134508.adb14be6.rdunlap@xenotime.net> (raw)
In-Reply-To: <slrnejsrjq.93p.olecom@flower.upol.cz>

On Tue, 24 Oct 2006 19:43:40 +0000 (UTC) Oleg Verych wrote:

> On 2006-10-24, Oleg Verych wrote:
> > On 2006-10-23, Randy Dunlap wrote:
> >> Hi Sam,
> >
> * It seems*
> >
> > +     $(call if_changed_rule,cc_o_c) || \
> > +     { echo $(@:.o=.ko); echo $@; } > $(MODVERDIR)/$(@F:.o=.mod)
> 
> This doesn't work, use ifs instead. Updated.
> I have no idea what to do with generated sources and headers.
> One may be: check target `if_changed' to be %.c or %.h and let it be
> built.

Hi Oleg,

Yes, it works for me, with the exception of host-generated
files, as you mentioned.  I ran into those with:
IKCONFIG (the one that you mentioned), ATM_FORE200E firmware,
IEEE 1394 OUI database (which I sent a patch for -- it should
not be generated when the config option is not enabled),
RAID456 tables, VIDEO_LOGO files, and CRC32 table.

Thanks for your time and effort.  Maybe Sam will have some ideas.

> ____
> From: Oleg Verych <olecom@flower.upol.cz>
> Subject: [patch, rfc] kbuild: implement checksrc without building Cources
> 
>   Implementation of configured source chacking without actual building.
> 
> Cc: Randy Dunlap <rdunlap@xenotime.net>
> Cc: Sam Ravnborg <sam@ravnborg.org>
> Signed-off-by: Oleg Verych <olecom@flower.upol.cz>
> ---
> 
>   Configured sources means, some config target must be run already.
>   After that
>   ,-<shell>
>   | make prepare
>   | make C=something_not_0,1,2 _target_
>   `--
>   should run _target_ with checking and without building.
> 
> -o--=O`C  /. .\
>  #oo'L O      o
> <___=E M    ^--
> 
>  scripts/Kbuild.include |    6 +++---
>  scripts/Makefile.build |   25 ++++++++++++++++---------
>  2 files changed, 19 insertions(+), 12 deletions(-)


---
~Randy

  reply	other threads:[~2006-10-24 20:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-23 22:35 CHECK without C compile? Randy Dunlap
2006-10-24 15:24 ` [patch, rfc] kbuild: implement checksrc without building Cources (was Re: CHECK without C compile?) Oleg Verych
2006-10-24 19:43   ` Oleg Verych
2006-10-24 20:45     ` Randy Dunlap [this message]
2006-10-26 13:07       ` Re:[patch, rfc] kbuild: implement checksrc without building Cources Oleg Verych
2007-02-01 15:04         ` [patch, " Oleg Verych

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=20061024134508.adb14be6.rdunlap@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=kbuild-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olecom@flower.upol.cz \
    /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®