projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d4f5f27
)
build - Fix kernel / modules install from object dir or module source dir
author
Matthew Dillon <dillon@apollo.backplane.com>
Wed, 1 Sep 2010 16:07:51 +0000 (09:07 -0700)
committer
Matthew Dillon <dillon@apollo.backplane.com>
Wed, 1 Sep 2010 16:07:51 +0000 (09:07 -0700)
* Only installkernel from /usr/src was installing the modules in the
right place.
* Add a default KERNEL?= in kmod.mk to try to correct the problem.
Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
sys/conf/kmod.mk
patch
|
blob
|
blame
|
history
diff --git
a/sys/conf/kmod.mk
b/sys/conf/kmod.mk
index
33db29a
..
759b450
100644
(file)
--- a/
sys/conf/kmod.mk
+++ b/
sys/conf/kmod.mk
@@
-60,6
+60,10
@@
OBJCOPY?= objcopy
KMODLOAD?= /sbin/kldload
KMODUNLOAD?= /sbin/kldunload
+# KERNEL is needed when running make install directly from
+# the obj directory.
+KERNEL?= kernel
+
KMODDIR?= ${DESTKERNDIR}
KMODOWN?= ${BINOWN}
KMODGRP?= ${BINGRP}