Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171130587
D55571.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
893 B
Referenced Files
None
Subscribers
None
D55571.id.diff
View Options
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -758,12 +758,16 @@
${_THINNER}
universe_kernconfs: universe_kernels_prologue .PHONY
.for kernel in ${KERNCONFS}
+.if !exists(${KERNSRCDIR}/${TARGET}/conf/${kernel})
+.warning ${TARGET}/conf/${kernel} missing; skipping.
+.else
TARGET_ARCH_${kernel}!= cd ${KERNSRCDIR}/${TARGET}/conf && \
env PATH=${HOST_OBJTOP}/tmp/legacy/bin:${PATH:Q} \
config -m ${KERNSRCDIR}/${TARGET}/conf/${kernel} 2> /dev/null | \
grep -v WARNING: | cut -f 2
.if empty(TARGET_ARCH_${kernel})
-.error Target architecture for ${TARGET}/conf/${kernel} unknown. config(8) likely too old.
+.error Target architecture for ${TARGET}/conf/${kernel} cannot be determined, kernconf file may be invalid!
+.endif
.endif
universe_kernconfs_${TARGET_ARCH_${kernel}}: universe_kernconf_${TARGET}_${kernel}
universe_kernconf_${TARGET}_${kernel}: .MAKE
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 9, 9:40 PM (12 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38614009
Default Alt Text
D55571.id.diff (893 B)
Attached To
Mode
D55571: universe: emit warning instead of error for bad/missing KERNCONF
Attached
Detach File
Event Timeline
Log In to Comment