mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
Add a hook for doing #include magic (for src/tools/tools/kerninclude).
This commit is contained in:
parent
74972d42db
commit
26dac111f1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67861
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user