lkml.org 
[lkml]   [2002]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: version.h missing from 2.4.18?
Date
Thanks. Just after i typed the mail i looked the Makefile... sorry for being
a little impatient.!!

I usually add the following to the header file to identify if the build is a
smp/up build. which promped me to find out immediatly before building.

When we work with redhat binaries and sources, we see uname -r gives the
kernel build correctly. for e.g 2.4.7-10smp etc. I fixed the Makefile now to
generate this header.

This becomes handy to identify what kernel is running. Also comes handy to
place the modules in the right directly when modules are build.

Iam not sure if iam the only one doing this, could this be added to the
kernel source tree?

#include <linux/config.h>
#ifndef CONGIG_SMP
#define UTS_RELEASE "2.4.18"
#else
#define UTS_RELEASE "2.4.18smp"
#endif


-----Original Message-----
From: linux-kernel-owner@vger.kernel.org
[mailto:linux-kernel-owner@vger.kernel.org]On Behalf Of David S. Miller
Sent: Monday, March 25, 2002 11:44 PM
To: ashokr2@attbi.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: version.h missing from 2.4.18?



version.h gets automatically generated by the kernel build process.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.099 / U:0.904 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site