diff options
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/Makefile.alpha | 2 | ||||
-rw-r--r-- | sys/conf/Makefile.i386 | 2 | ||||
-rw-r--r-- | sys/conf/Makefile.ia64 | 2 | ||||
-rw-r--r-- | sys/conf/Makefile.pc98 | 2 | ||||
-rw-r--r-- | sys/conf/Makefile.powerpc | 2 | ||||
-rw-r--r-- | sys/conf/kmod.mk | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha index 25de750..d045c07 100644 --- a/sys/conf/Makefile.alpha +++ b/sys/conf/Makefile.alpha @@ -38,7 +38,7 @@ SIZE?= size OBJCOPY?= objcopy COPTFLAGS?=-O -INCLUDES= -nostdinc -I- -I. -I$S +INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S # This hack is to allow kernel compiles to succeed on machines w/out srcdist .if exists($S/../include) INCLUDES+= -I$S/../include diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 6489bf3..369dd4d 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -38,7 +38,7 @@ SIZE?= size OBJCOPY?= objcopy COPTFLAGS?=-O -INCLUDES= -nostdinc -I- -I. -I$S +INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S # This hack is to allow kernel compiles to succeed on machines w/out srcdist .if exists($S/../include) INCLUDES+= -I$S/../include diff --git a/sys/conf/Makefile.ia64 b/sys/conf/Makefile.ia64 index 91c4501..ebd1526 100644 --- a/sys/conf/Makefile.ia64 +++ b/sys/conf/Makefile.ia64 @@ -48,7 +48,7 @@ SIZE?= size OBJCOPY?= objcopy COPTFLAGS?=-O -INCLUDES= -nostdinc -I- -I. -I$S +INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S # This hack is to allow kernel compiles to succeed on machines w/out srcdist .if exists($S/../include) INCLUDES+= -I$S/../include diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index 386a9cb..8b33752 100644 --- a/sys/conf/Makefile.pc98 +++ b/sys/conf/Makefile.pc98 @@ -40,7 +40,7 @@ SIZE?= size OBJCOPY?= objcopy COPTFLAGS?=-O -INCLUDES= -nostdinc -I- -I. -I$S +INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S # This hack is to allow kernel compiles to succeed on machines w/out srcdist .if exists($S/../include) INCLUDES+= -I$S/../include diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index 6489bf3..369dd4d 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -38,7 +38,7 @@ SIZE?= size OBJCOPY?= objcopy COPTFLAGS?=-O -INCLUDES= -nostdinc -I- -I. -I$S +INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S # This hack is to allow kernel compiles to succeed on machines w/out srcdist .if exists($S/../include) INCLUDES+= -I$S/../include diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index f1d598a..4d94560 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -95,7 +95,7 @@ CFLAGS+= -DKLD_MODULE # such paths after -nostdinc. It doesn't seem to be possible to # add to the front of `make' variable. _ICFLAGS:= ${CFLAGS:M-I*} -CFLAGS+= -nostdinc -I- ${_ICFLAGS} +CFLAGS+= -nostdinc -I- ${INCLMAGIC} ${_ICFLAGS} # Add -I paths for system headers. Individual KLD makefiles don't # need any -I paths for this. Similar defaults for .PATH can't be |