Project

General

Profile

Actions

Bug #1140

closed

installkernel POSTFIX directive

Added by stefan.johannesdal over 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

These patches add a POSTFIX directive to installkernel. Like this:

make installkernel KERNCONF=MYSMPCONF POSTFIX=.smp

The kernel would end up as "/boot/kernel.smp" and the modules as
"/boot/modules.smp".

I also had a go at the hard coded adding of "/boot" that I felt was a
bit illogical since it got added even if one defined DESTDIR. Things
would end up in DESTDIR/boot while I felt that if you define DESTDIR
then you want kernel/modules to end up in DESTDIR.

Affected files:
share/mk/bsd.own.mk
sys/conf/kern.post.mk
sys/conf/kern.pre.mk

--

Mvh  - Stefan -

Files

bsd.own.mk.diff (263 Bytes) bsd.own.mk.diff stefan.johannesdal, 09/20/2008 02:14 AM
kern.post.mk.diff (3.15 KB) kern.post.mk.diff stefan.johannesdal, 09/20/2008 02:14 AM
kern.pre.mk.diff (515 Bytes) kern.pre.mk.diff stefan.johannesdal, 09/20/2008 02:14 AM
kern.post.mk.diff (3.21 KB) kern.post.mk.diff stefan.johannesdal, 09/21/2008 03:51 AM
bsd.own.mk.diff (265 Bytes) bsd.own.mk.diff stefan.johannesdal, 09/21/2008 03:51 AM
kern.pre.mk.diff (544 Bytes) kern.pre.mk.diff stefan.johannesdal, 09/21/2008 03:51 AM
kern.pre.mk.diff (538 Bytes) kern.pre.mk.diff stefan.johannesdal, 09/21/2008 02:30 PM
bsd.own.mk.diff (279 Bytes) bsd.own.mk.diff stefan.johannesdal, 09/21/2008 02:30 PM
kern.post.mk.diff (3.21 KB) kern.post.mk.diff stefan.johannesdal, 09/21/2008 02:30 PM
bsd.own.mk.diff (276 Bytes) bsd.own.mk.diff stefan.johannesdal, 09/23/2008 12:14 PM
kern.post.mk.diff (3.17 KB) kern.post.mk.diff stefan.johannesdal, 09/23/2008 12:14 PM
kern.pre.mk.diff (717 Bytes) kern.pre.mk.diff stefan.johannesdal, 09/23/2008 12:14 PM
0001-Add-two-variables-to-adjust-where-to-install-kernel.patch (8 KB) 0001-Add-two-variables-to-adjust-where-to-install-kernel.patch qhwt+dfly, 02/08/2009 08:24 AM
0002-Set-the-default-DESTDIR-to-var-vkernel-when-the-pla.patch (1.46 KB) 0002-Set-the-default-DESTDIR-to-var-vkernel-when-the-pla.patch qhwt+dfly, 02/08/2009 08:24 AM
Actions

Also available in: Atom PDF