The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: rjd@xyzzy.clara.co.uk
Cc: linux-kernel@vger.kernel.org
Subject: Re: Detecting Red Hat builds ?
Date: Fri, 11 May 2001 12:28:32 +1000	[thread overview]
Message-ID: <29401.989548112@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Thu, 10 May 2001 17:25:29 +0100." <200105101625.f4AGPTh02433@xyzzy.clara.co.uk>

On Thu, 10 May 2001 17:25:29 +0100 (BST), 
rjd@xyzzy.clara.co.uk wrote:
>The problem is I have a driver that includes syncppp.h which in the releases
>from kernel.org is in linux/drivers/net/wan/ up to and including 2.4.2 after
>which it moves to linux/include/net/.

Do it in the Makefile.  Untested:

ifneq ($(wildcard $(TOPDIR)/include/net/syncppp.h),)
  CFLAGS_driver_name.o += -I $(TOPDIR)/include/net
else
  CFLAGS_driver_name.o += -I $(TOPDIR)/drivers/net/wan
endif

and the driver does #include "syncppp.h".


  reply	other threads:[~2001-05-11  2:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-10 16:25 Detecting Red Hat builds ? rjd
2001-05-11  2:28 ` Keith Owens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-05-10 18:28 Khachaturov, Vassilii

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=29401.989548112@kao2.melbourne.sgi.com \
    --to=kaos@ocs.com.au \
    --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