Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140661540
D42444.id129632.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
943 B
Referenced Files
None
Subscribers
None
D42444.id129632.diff
View Options
diff --git a/Makefile.inc1 b/Makefile.inc1
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1677,15 +1677,33 @@
KERNCONF=${KERNFAST}
.endif
.endif
+.if defined(PACKAGE_BUILDING)
.if ${TARGET_ARCH} == "powerpc64"
KERNCONF?= GENERIC64
.elif ${TARGET_ARCH} == "powerpc64le"
KERNCONF?= GENERIC64LE
.elif ${TARGET_ARCH} == "powerpcspe"
KERNCONF?= MPC85XXSPE
+.elif ${TARGET_ARCH} == "amd64"
+KERNCONF?= GENERIC GENERIC-NODEBUG MINIMAL GENERIC-MMCCAM
+.elif ${ARCH} == "arm" || ${ARCH} == "arm64"
+KERNCONF?= GENERIC GENERIC-NODEBUG GENERIC-MMCCAM
+.elif ${TARGET_ARCH} == "i386"
+KERNCONF?= GENERIC GENERIC-NODEBUG MINIMAL
.else
KERNCONF?= GENERIC
.endif
+.else
+.if ${TARGET_ARCH} == "powerpc64"
+KERNCONF?= GENERIC64
+.elif ${TARGET_ARCH} == "powerpc64le"
+KERNCONF?= GENERIC64LE
+.elif ${TARGET_ARCH} == "powerpcspe"
+KERNCONF?= MPC85XXSPE
+.else
+KERNCONF?= GENERIC
+.endif
+.endif
INSTKERNNAME?= kernel
KERNSRCDIR?= ${.CURDIR}/sys
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 27, 1:55 PM (2 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27306269
Default Alt Text
D42444.id129632.diff (943 B)
Attached To
Mode
D42444: pkgbase: set a default set of kernel for when PACKAGE_BUILDING=1
Attached
Detach File
Event Timeline
Log In to Comment