build - Fix kernel / modules install from object dir or module source dir
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 1 Sep 2010 16:07:51 +0000 (09:07 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 1 Sep 2010 16:07:51 +0000 (09:07 -0700)
commit7a84d2a74655a82f69fdf99b0579051d99f25ddd
tree8957b92cc440bf7a6e33dc7d107e7c4e33223dca
parentd4f5f27caf71bf7e0767701e5cbdce6d66d49357
build - Fix kernel / modules install from object dir or module source dir

* 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