diff options
author | green <green@FreeBSD.org> | 2003-11-14 16:04:11 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2003-11-14 16:04:11 +0000 |
commit | 0ab08e7b8bbad637d432771fe714e366c4c7d940 (patch) | |
tree | afb886c933317430d6dcc6be653bd02d47425f66 /sys/conf/kern.post.mk | |
parent | b9e1262c4cae4804a6c32fdb37227e5960f95fff (diff) | |
download | FreeBSD-src-0ab08e7b8bbad637d432771fe714e366c4c7d940.zip FreeBSD-src-0ab08e7b8bbad637d432771fe714e366c4c7d940.tar.gz |
Include opt_global.h in the modules build, when building from a normal
kernel build. This makes it possible for me not to get pissed off that
random.ko crashes the system trying to rdtsc() when the i386/cpu.h
support code decides it's okay to call that op when neither I386_CPU or
I486_CPU is defined. I guess it also makes WITNESS/INVARIANTS defines
get picked up by the modules.
Diffstat (limited to 'sys/conf/kern.post.mk')
-rw-r--r-- | sys/conf/kern.post.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index 4d2edd3..042d4aa 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -13,6 +13,7 @@ .if defined(DESTDIR) MKMODULESENV+= DESTDIR="${DESTDIR}" .endif +MKMODULESENV+= KERNBUILDDIR="${.CURDIR}" .MAIN: all |