Date: Thu, 26 Feb 2009 20:54:43 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r189089 - head/sys/conf Message-ID: <200902262054.n1QKshPG038038@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thompsa Date: Thu Feb 26 20:54:43 2009 New Revision: 189089 URL: http://svn.freebsd.org/changeset/base/189089 Log: Allow the old usb stack to compile by adding the appropriate -I foo, this must go before the standard -I$S to have the search happen before /sys/. Make this conditional on 'makeoptions WITH_LEGACY=1' in the kernel config. Prodded by: sam Modified: head/sys/conf/kern.pre.mk Modified: head/sys/conf/kern.pre.mk ============================================================================== --- head/sys/conf/kern.pre.mk Thu Feb 26 20:38:37 2009 (r189088) +++ head/sys/conf/kern.pre.mk Thu Feb 26 20:54:43 2009 (r189089) @@ -53,7 +53,11 @@ C_DIALECT= -std=c99 NOSTDINC= -nostdinc .endif -INCLUDES= ${NOSTDINC} ${INCLMAGIC} -I. -I$S +.if defined(WITH_LEGACY) +LEGACY_INC= -I$S/legacy +.endif + +INCLUDES= ${NOSTDINC} ${INCLMAGIC} -I. ${LEGACY_INC} -I$S # This hack lets us use the OpenBSD altq code without spamming a new # include path into contrib'ed source files.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902262054.n1QKshPG038038>