summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-07-02 18:35:17 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2016-07-02 18:35:17 -0500
commit7aa502721fb5918b709ae7595537705faf38408f (patch)
tree30415c6cc6c3459cd83d9760112ca3b2b6c75c2f /sys/conf
parent13d9c0c302a9efbf93724bd23c4b86a757e45348 (diff)
parentd08d8c2ff3af6ce2ba65f9805f1f061373e78a82 (diff)
downloadFreeBSD-src-7aa502721fb5918b709ae7595537705faf38408f.zip
FreeBSD-src-7aa502721fb5918b709ae7595537705faf38408f.tar.gz
Merge remote-tracking branch 'origin/master' into devel-11
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/NOTES2
-rw-r--r--sys/conf/kern.post.mk18
-rw-r--r--sys/conf/newvers.sh2
-rw-r--r--sys/conf/options2
4 files changed, 13 insertions, 11 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index ee47de8..837cf71 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -1345,7 +1345,7 @@ options CAM_MAX_HIGHPOWER=4
options SCSI_NO_SENSE_STRINGS
options SCSI_NO_OP_STRINGS
options SCSI_DELAY=5000 # Be pessimistic about Joe SCSI device
-options CAM_NETFLIX_IOSCHED
+options CAM_IOSCHED_DYNAMIC
# Options for the CAM CDROM driver:
# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk
index 8c5a713..4cb60c0 100644
--- a/sys/conf/kern.post.mk
+++ b/sys/conf/kern.post.mk
@@ -189,11 +189,16 @@ genassym.o: $S/$M/$M/genassym.c
${SYSTEM_OBJS} genassym.o vers.o: opt_global.h
+.if !empty(.MAKE.MODE:Unormal:Mmeta) && empty(.MAKE.MODE:Unormal:Mnofilemon)
+_meta_filemon= 1
+.endif
# Skip reading .depend when not needed to speed up tree-walks
# and simple lookups.
+# Also skip generating or including .depend.* files if in meta+filemon mode
+# since it will track dependencies itself. OBJS_DEPEND_GUESS is still used.
.if !empty(.MAKEFLAGS:M-V${_V_READ_DEPEND}) || make(obj) || make(clean*) || \
make(install*) || make(kernel-obj) || make(kernel-clean*) || \
- make(kernel-install*)
+ make(kernel-install*) || defined(_meta_filemon)
_SKIP_READ_DEPEND= 1
.MAKE.DEPENDFILE= /dev/null
.endif
@@ -203,11 +208,6 @@ SRCS= assym.s vnode_if.h ${BEFORE_DEPEND} ${CFILES} \
${SYSTEM_CFILES} ${GEN_CFILES} ${SFILES} \
${MFILES:T:S/.m$/.h/}
DEPENDFILES= .depend .depend.*
-# Skip generating or including .depend.* files if in meta+filemon mode since
-# it will track dependencies itself. OBJS_DEPEND_GUESS is still used though.
-.if !empty(.MAKE.MODE:Unormal:Mmeta) && empty(.MAKE.MODE:Unormal:Mnofilemon)
-_meta_filemon= 1
-.endif
DEPENDOBJS+= ${SYSTEM_OBJS} genassym.o
DEPENDFILES_OBJS= ${DEPENDOBJS:O:u:C/^/.depend./}
.if ${MAKE_VERSION} < 20160220
@@ -254,11 +254,13 @@ ${__obj}: ${OBJS_DEPEND_GUESS.${__obj}}
.elif defined(_meta_filemon)
# For meta mode we still need to know which file to depend on to avoid
# ambiguous suffix transformation rules from .PATH. Meta mode does not
-# use .depend files. We really only need source files, not headers.
+# use .depend files. We really only need source files, not headers since
+# they are typically in SRCS/beforebuild already. For target-specific
+# guesses do include headers though since they may not be in SRCS.
.if ${SYSTEM_OBJS:M${__obj}}
${__obj}: ${OBJS_DEPEND_GUESS:N*.h}
.endif
-${__obj}: ${OBJS_DEPEND_GUESS.${__obj}:N*.h}
+${__obj}: ${OBJS_DEPEND_GUESS.${__obj}}
.endif
.endfor
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index 2d89104..7e6b1d2 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -32,7 +32,7 @@
TYPE="FreeBSD"
REVISION="11.0"
-BRANCH="ALPHA3"
+BRANCH="ALPHA6"
if [ -n "${BRANCH_OVERRIDE}" ]; then
BRANCH=${BRANCH_OVERRIDE}
fi
diff --git a/sys/conf/options b/sys/conf/options
index d5c9159..ba410ee 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -330,7 +330,7 @@ CAM_DEBUG_TARGET opt_cam.h
CAM_DEBUG_LUN opt_cam.h
CAM_DEBUG_FLAGS opt_cam.h
CAM_BOOT_DELAY opt_cam.h
-CAM_NETFLIX_IOSCHED opt_cam.h
+CAM_IOSCHED_DYNAMIC opt_cam.h
SCSI_DELAY opt_scsi.h
SCSI_NO_SENSE_STRINGS opt_scsi.h
SCSI_NO_OP_STRINGS opt_scsi.h
OpenPOWER on IntegriCloud