--- src/sys/conf/kmod.mk 2006/10/22 16:09:19 1.26 +++ src/sys/conf/kmod.mk 2006/10/23 21:50:31 1.27 @@ -82,10 +82,12 @@ CFLAGS+= -nostdinc ${_ICFLAGS} # need any -I paths for this. Similar defaults for .PATH can't be # set because there are no standard paths for non-headers. # -# We want traditional architecture paths like -# to work so we add -I@/arch +# NOTE! Traditional architecture paths such as +# must run through the "arch" softlink using . An +# explicit cross-architecture path must operate relative to /usr/src/sys +# using e.g. # -CFLAGS+= -I. -I@ -I@/arch +CFLAGS+= -I. -I@ # Add a -I path to standard headers like . Use a relative # path to src/include if possible. If the @ symlink hasn't been built