All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@osdl.org>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: linux-kernel@vger.kernel.org
Subject: kbuild will remove .c files
Date: Wed, 3 Mar 2004 12:34:06 -0800	[thread overview]
Message-ID: <20040303123406.G21045@build.pdx.osdl.net> (raw)

I added a new config to my kernel, and hadn't done a bk -r get in quite
a while.  Turns out the subdir relevant to the config item hits the make
builtin to get the file (since it had been missing), but then kbuild
assembles, links, links, and finally removes the .c file.  This will
be done everytime, since the .c file is now gone.  While a preemptive
bk -r get is the obvious solution here (or even a after the fact bk get
$missing.c), is this a possible very small buglet in kbuild?

Here's some relevant output:

get   net/irda/irlan/SCCS/s.irlan_client.c
net/irda/irlan/irlan_client.c 1.8: 565 lines
  CC      net/irda/irlan/irlan_client.s
as   -o net/irda/irlan/irlan_client.o net/irda/irlan/irlan_client.s
  LD      net/irda/irlan/irlan.o
  LD      net/irda/irlan/built-in.o
rm net/irda/irlan/irlan_client.c

And only the net/irda/irlan/.irlan_client.s.cmd is created.

thanks,
-chris
-- 
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net

             reply	other threads:[~2004-03-03 20:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-03 20:34 Chris Wright [this message]
2004-03-03 21:07 ` kbuild will remove .c files Sam Ravnborg
2004-03-03 21:38   ` Chris Wright
     [not found] <1vLk4-6uK-23@gated-at.bofh.it>
     [not found] ` <1vLWC-7h0-1@gated-at.bofh.it>
2004-03-03 22:35   ` Pascal Schmidt

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=20040303123406.G21045@build.pdx.osdl.net \
    --to=chrisw@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.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.