public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* modules_install target
@ 2001-02-15  0:38 J . A . Magallon
  2001-02-15  0:52 ` Keith Owens
  2001-02-15  1:05 ` Mohammad A. Haque
  0 siblings, 2 replies; 3+ messages in thread
From: J . A . Magallon @ 2001-02-15  0:38 UTC (permalink / raw)
  To: linux-kernel

I have recently noticed that 'make modules_install' tries as a last step

if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.4.1-ac13; fi

I depends on 'make install' doing the right symlinks in /boot.
Would not be better to do a:

if [ -r System.map-2.4.1-ac13 ]; then /sbin/depmod -ae -F System.map-2.4.1-ac13 
 2.4.1-ac13; fi

???

-- 
J.A. Magallon                                                      $> cd pub
mailto:jamagallon@able.es                                          $> more beer

Linux werewolf 2.4.1-ac10 #1 SMP Sun Feb 11 23:36:46 CET 2001 i686


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: modules_install target
  2001-02-15  0:38 modules_install target J . A . Magallon
@ 2001-02-15  0:52 ` Keith Owens
  2001-02-15  1:05 ` Mohammad A. Haque
  1 sibling, 0 replies; 3+ messages in thread
From: Keith Owens @ 2001-02-15  0:52 UTC (permalink / raw)
  To: J . A . Magallon; +Cc: linux-kernel

On Thu, 15 Feb 2001 01:38:46 +0100, 
"J . A . Magallon" <jamagallon@able.es> wrote:
>I have recently noticed that 'make modules_install' tries as a last step
>
>if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.4.1-ac13; fi
>
>I depends on 'make install' doing the right symlinks in /boot.
>Would not be better to do a:
>
>if [ -r System.map-2.4.1-ac13 ]; then /sbin/depmod -ae -F System.map-2.4.1-ac13 
> 2.4.1-ac13; fi

The System.map depmod uses is the one in the top level linux directory.
It has nothing to do with where the distribution will copy that
System.map to, nor does it depend on /boot.  Leave it alone.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: modules_install target
  2001-02-15  0:38 modules_install target J . A . Magallon
  2001-02-15  0:52 ` Keith Owens
@ 2001-02-15  1:05 ` Mohammad A. Haque
  1 sibling, 0 replies; 3+ messages in thread
From: Mohammad A. Haque @ 2001-02-15  1:05 UTC (permalink / raw)
  To: J . A . Magallon; +Cc: linux-kernel

You're forgetting it's using System.map from your build directory and
not from /boot.

"J . A . Magallon" wrote:
> 
> I have recently noticed that 'make modules_install' tries as a last step
> 
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.4.1-ac13; fi
> 
> I depends on 'make install' doing the right symlinks in /boot.
> Would not be better to do a:
> 
> if [ -r System.map-2.4.1-ac13 ]; then /sbin/depmod -ae -F System.map-2.4.1-ac13
>  2.4.1-ac13; fi
> 
> ???

-- 

=====================================================================
Mohammad A. Haque                              http://www.haque.net/ 
                                               mhaque@haque.net

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               batmanppc@themes.org
=====================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-02-15  1:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-15  0:38 modules_install target J . A . Magallon
2001-02-15  0:52 ` Keith Owens
2001-02-15  1:05 ` Mohammad A. Haque

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox