From: "Khachaturov, Vassilii" <Vassilii.Khachaturov@comverse.com>
To: "'rjd@xyzzy.clara.co.uk'" <rjd@xyzzy.clara.co.uk>
Cc: linux-kernel@vger.kernel.org
Subject: RE: Detecting Red Hat builds ?
Date: Thu, 10 May 2001 14:28:50 -0400 [thread overview]
Message-ID: <6B1DF6EEBA51D31182F200902740436802678EB2@mail-in.comverse-in.com> (raw)
For a RH7.x, at least, there is the /boot/kernel.h file generated on bootup,
and the RH kernel headers include it somewhere.
You can see if the corresponding symbols (coming from it) are defined, and
assume redhat than.
You might consider using passing -dM down to the preprocessor with the
standard driver includes preamble,
and look in the preprocessed output for a good clue - it may well be that
there is some other redhat-specific string somewhere defined.
I guess you will find smth if you egrep -i (rh|redhat).
HTH,
Vassilii
-----Original Message-----
From: rjd@xyzzy.clara.co.uk [mailto:rjd@xyzzy.clara.co.uk]
Sent: Thursday, May 10, 2001 12:25 PM
To: linux-kernel@vger.kernel.org
Subject: Detecting Red Hat builds ?
Hi,
How can I determine if the build my device driver is being compiled under is
a standard kernel.org one or a Red Hat one ?
next reply other threads:[~2001-05-10 18:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-10 18:28 Khachaturov, Vassilii [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-05-10 16:25 rjd
2001-05-11 2:28 ` Keith Owens
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=6B1DF6EEBA51D31182F200902740436802678EB2@mail-in.comverse-in.com \
--to=vassilii.khachaturov@comverse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rjd@xyzzy.clara.co.uk \
/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®