Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 10:31:49 -0700
From:      "Justin T. Gibbs" <gibbs@scsiguy.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        arch@FreeBSD.org, bde@FreeBSD.org
Subject:   Re: Local driver include files. 
Message-ID:  <200101231731.f0NHVns82856@aslan.scsiguy.com>
In-Reply-To: Your message of "Tue, 23 Jan 2001 18:47:28 %2B1100." <Pine.BSF.4.21.0101231828090.35723-100000@besplex.bde.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>> This is a much more scalable approach.
>
>Except the size of the Makefile and most command lines generated by
>it is O(number of path/to/file/being/compiled).

Really?  It seems that this does what I need:

INCLUDES= -nostdinc -I- -I. -I$S -I${<:H}

Perhaps that is too simplistic?

>BTW, the -current kernel Makefiles have already been hacked to add
>-I$S/dev (not to mention -I$S/contrib/dev/acpica/Subsystem/Include)
>to CFLAGS, so you don't need the above ifdefs in -current.  You still
>need them in RELENG[3-4].

I would have to use "aic7xxx/filename.h" which still forces the aic7xxx
driver to be in a particular location in the source tree on all supported
platforms.  I'm not positive I can get that.

--
Justin


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101231731.f0NHVns82856>