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. _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"