All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Removing .tmp_versions considered harmful
Date: Fri, 21 Apr 2006 07:55:29 -0400	[thread overview]
Message-ID: <1145620529.20099.18.camel@dv> (raw)
In-Reply-To: <20060421073216.GA17492@mars.ravnborg.org>

Hello, Sam!

On Fri, 2006-04-21 at 09:32 +0200, Sam Ravnborg wrote:
> On Fri, Apr 21, 2006 at 12:22:22AM -0400, Pavel Roskin wrote:
> > Hello!
> > 
> > A patch applied shortly after Linux 2.6.16
> > (fb3cbd2e575f9ac0700bfa1e7cb9f4119fbd0abd in git) causes
> > the .tmp_versions directory to be removed every time make is run to
> > build external modules.
> > 
> > 
> > 2) The projects where modules are build in more than one directory (such
> > as MadWifi) are now compiled with spurious warnings about unresolved
> > symbols.  This happens because every module is compiled individually,
> > and the *.mod files for one module are removed before the other is
> > compiled.
> 
> Then fix madwifi so it builds modules as documented in
> Documentation/kbuild/modules.txt
> See: --- 5.3 External modules using several directories

Thanks for showing me this section!  I wish I saw it before I submitted
patches to MadWifi, HostAP and linux-wlan-ng makefiles.  Now I know how
to fix all that mess.

> As with many other external modules madwifi contains a lot of ugly
> makefile hackery - and if done as documentated it gets so much simpler.
> I'm aware that 2-4 support complicates things a little but if people
> made it be slimm and nice for 2.6 and _then_ added 2.4 supporrrrrrrrrrit
> woulllllld be much simpler.
> It seems that people keep all the hackery for 2.4 and does a bad job
> adapting to 2.6.

I agree with your sentiment, and I'm trying to fix it.

However, the problem with "make install" creating .tmp_versions owned by
root still exists.  Can we settle on removing only *.mod files
under .tmp_versions without removing the directory?
Removing .tmp_versions does nothing if the goal is to remove stale *.mod
files.

-- 
Regards,
Pavel Roskin


  reply	other threads:[~2006-04-21 11:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-21  4:22 Removing .tmp_versions considered harmful Pavel Roskin
2006-04-21  7:32 ` Sam Ravnborg
2006-04-21 11:55   ` Pavel Roskin [this message]
2006-04-24 19:55   ` Pavel Roskin
2006-04-24 19:58     ` Arjan van de Ven
2006-04-24 20:19       ` Pavel Roskin
2006-04-30 21:47     ` Sam Ravnborg
2006-05-01  0:59       ` Pavel Roskin

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=1145620529.20099.18.camel@dv \
    --to=proski@gnu.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.