mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Ashok Raj" <ashokr2@attbi.com>
To: "David S. Miller" <davem@redhat.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: version.h missing from 2.4.18?
Date: Tue, 26 Mar 2002 02:17:04 -0800	[thread overview]
Message-ID: <PPENJLMFIMGBGDDHEPBBKEAPCMAA.ashokr2@attbi.com> (raw)
In-Reply-To: <20020325.234400.03241011.davem@redhat.com>

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/


  reply	other threads:[~2002-03-26 10:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-26  7:45 Ashok Raj
2002-03-26  7:44 ` David S. Miller
2002-03-26 10:17   ` Ashok Raj [this message]
2002-03-26 21:52     ` Mike Castle
2002-03-30 14:09   ` linux PCI hotplug Ashok Raj
2002-03-30 16:22     ` Greg KH
2002-03-26 10:09 ` version.h missing from 2.4.18? Ashok Raj

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=PPENJLMFIMGBGDDHEPBBKEAPCMAA.ashokr2@attbi.com \
    --to=ashokr2@attbi.com \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®