kern.pre.mk.diff

stefan.johannesdal, 09/23/2008 12:14 PM

Download (717 Bytes)

View differences:

kern.pre.mk 2008-09-23 13:35:42 +0200
103 103
FULLKERNEL=	${KERNEL}.nodebug
104 104
SELECTEDKERNEL= ${KERNEL}.stripped
105 105
.endif
106
DESTKERNNAME?=	${KERNEL}
106
.if defined(DESTLABEL)
107
  DESTKERNNAME?=${KERNEL}.${DESTLABEL}
108
  DESTMODULESNAME?=modules.${DESTLABEL}
109
.else
110
  DESTKERNNAME?=${KERNEL}
111
  DESTMODULESNAME?=modules
112
.endif
113
DESTKERNDIR?=/boot
107 114

  
108 115

  
109
MKMODULESENV=	MAKEOBJDIRPREFIX=${.OBJDIR} BUILDING_WITH_KERNEL=${.OBJDIR}
116
MKMODULESENV=	DESTKERNDIR=${DESTKERNDIR} DESTMODULESNAME=${DESTMODULESNAME} MAKEOBJDIRPREFIX=${.OBJDIR} BUILDING_WITH_KERNEL=${.OBJDIR}
110 117
.if defined(MODULES_OVERRIDE)
111 118
MKMODULESENV+=	MODULES_OVERRIDE="${MODULES_OVERRIDE}"
112 119
.endif