Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102135325
D30615.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D30615.diff
View Options
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -44,10 +44,12 @@
#
# DESTDIR The tree where the module gets installed. [not set]
#
-# KERNBUILDDIR
-# Set to the location of the kernel build directory where
+# KERNBUILDDIR Set to the location of the kernel build directory where
# the opt_*.h files, .o's and kernel winds up.
#
+# BLOB_OBJS Prebuilt binary blobs .o's from the src tree to be linked into
+# the module. These are precious and not removed in make clean.
+#
# +++ targets +++
#
# install:
@@ -241,14 +243,14 @@
.endif
.if ${__KLD_SHARED} == yes
-${KMOD}.kld: ${OBJS}
+${KMOD}.kld: ${OBJS} ${BLOB_OBJS}
.else
-${FULLPROG}: ${OBJS}
+${FULLPROG}: ${OBJS} ${BLOB_OBJS}
.endif
${LD} -m ${LD_EMULATION} ${_LDFLAGS} ${LDSCRIPT_FLAGS} -r -d \
- -o ${.TARGET} ${OBJS}
+ -o ${.TARGET} ${OBJS} ${BLOB_OBJS}
.if ${MK_CTF} != "no"
- ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS}
+ ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS} ${BLOB_OBJS}
.endif
.if defined(EXPORT_SYMS)
.if ${EXPORT_SYMS} != YES
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 9, 1:30 AM (20 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14547441
Default Alt Text
D30615.diff (1 KB)
Attached To
Mode
D30615: kmod.mk: Allow extra objects to be specified in modules
Attached
Detach File
Event Timeline
Log In to Comment