[lkml]   [2001]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Detecting Red Hat builds ?
On Thu, 10 May 2001 17:25:29 +0100 (BST), wrote:
>The problem is I have a driver that includes syncppp.h which in the releases
>from 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
CFLAGS_driver_name.o += -I $(TOPDIR)/drivers/net/wan

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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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