All of lore.kernel.org
 help / color / mirror / Atom feed
* Correct EXTRAVERSION in kernel Makefile
@ 2004-06-28 15:11 Niraj Tolia
  2004-06-28 22:24 ` Ian Pratt
  0 siblings, 1 reply; 3+ messages in thread
From: Niraj Tolia @ 2004-06-28 15:11 UTC (permalink / raw)
  To: xen-devel

Would it be possible to have the correct EXTRAVERSION value (-xen0 and
-xenU) in the Makefiles for the different kernels that are built by
Xen? Makefiles for drivers that are not in the kernel tree often try
to grok 'linux-src/Makefile' to learn what version of kernel was
compiled.

I personally hit the problem when trying to compile the Cisco iSCSI
driver for Xen.

Thanks,
Niraj

-- 
http://www.cs.cmu.edu/~ntolia


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

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

* Re: Correct EXTRAVERSION in kernel Makefile
  2004-06-28 15:11 Correct EXTRAVERSION in kernel Makefile Niraj Tolia
@ 2004-06-28 22:24 ` Ian Pratt
  2004-06-29  9:39   ` Niraj Tolia
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Pratt @ 2004-06-28 22:24 UTC (permalink / raw)
  To: Niraj Tolia; +Cc: xen-devel, Ian.Pratt

> Would it be possible to have the correct EXTRAVERSION value (-xen0 and
> -xenU) in the Makefiles for the different kernels that are built by
> Xen? Makefiles for drivers that are not in the kernel tree often try
> to grok 'linux-src/Makefile' to learn what version of kernel was
> compiled.

EXTARVAERSION is overridden by the arch/xen/Makefile using the same
technique useed by UML and various other architectures. 
 
> I personally hit the problem when trying to compile the Cisco iSCSI
> driver for Xen.

I can't recall having to do anything special to build the Cisco
iSCSI initiator.

Ian



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

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

* Re: Correct EXTRAVERSION in kernel Makefile
  2004-06-28 22:24 ` Ian Pratt
@ 2004-06-29  9:39   ` Niraj Tolia
  0 siblings, 0 replies; 3+ messages in thread
From: Niraj Tolia @ 2004-06-29  9:39 UTC (permalink / raw)
  To: Ian Pratt; +Cc: xen-devel

> 
> > I personally hit the problem when trying to compile the Cisco iSCSI
> > driver for Xen.
> 
> I can't recall having to do anything special to build the Cisco
> iSCSI initiator.
> 

The Makefile for the Cisco iSCSI initiator (3.4.3) uses awk and sed to
extract EXTRAVERSION from the Makefile. It then spits out warnings on
screen as 'uname -r' does not match what it gets from the Makefile.

On close inspection, it turns out that the warnings are just noise and
things will work if you are careful. So I guess we are ok for now.

Niraj


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

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

end of thread, other threads:[~2004-06-29  9:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-28 15:11 Correct EXTRAVERSION in kernel Makefile Niraj Tolia
2004-06-28 22:24 ` Ian Pratt
2004-06-29  9:39   ` Niraj Tolia

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.