Add a hook for doing #include magic (for src/tools/tools/kerninclude).

This commit is contained in:
Poul-Henning Kamp 2000-10-29 09:47:50 +00:00
parent 74972d42db
commit 26dac111f1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67861
6 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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