Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F97393130
D37108.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
794 B
Referenced Files
None
Subscribers
None
D37108.diff
View Options
diff --git a/sys/conf/config.mk b/sys/conf/config.mk
--- a/sys/conf/config.mk
+++ b/sys/conf/config.mk
@@ -13,6 +13,13 @@
@echo "#define SMP 1" >> ${.TARGET}
@echo "#define MAC 1" >> ${.TARGET}
@echo "#define VIMAGE 1" >> ${.TARGET}
+# Note: Define 'options' in DEFAULTS to 1. For simplicity, no check if the
+# option is in opt_global.h. Nearly all the options in DEFAUlTS today are in
+# opt_global.h with GEOM_* being the main exceptions. Move any options from
+# GENERIC or std.* files to DEFAULTS to get this treatment for untied builds.
+ @awk '$$1 == "options" && $$2 !~ "GEOM_" { print "#define ", $$2, " 1"; }' \
+ < ${SYSDIR}/${MACHINE}/conf/DEFAULTS \
+ >> ${.TARGET}
.if ${MK_BHYVE_SNAPSHOT} != "no"
opt_bhyve_snapshot.h:
@echo "#define BHYVE_SNAPSHOT 1" > ${.TARGET}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 30, 1:26 AM (7 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13161451
Default Alt Text
D37108.diff (794 B)
Attached To
Mode
D37108: config.mk: All options in DEFAULTS are now defined in opt_global.h
Attached
Detach File
Event Timeline
Log In to Comment