summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-03-04 05:29:10 +0000
committerobrien <obrien@FreeBSD.org>2001-03-04 05:29:10 +0000
commit5a48882c7cb95e673e7b25583eb9cd1d8a5ad3b5 (patch)
treedb72329a46b0c11d226c5b601b1977a97f5a2bb4 /sys
parent114e64b3c43157811d82e73b1e5f2b3defd16b24 (diff)
downloadFreeBSD-src-5a48882c7cb95e673e7b25583eb9cd1d8a5ad3b5.zip
FreeBSD-src-5a48882c7cb95e673e7b25583eb9cd1d8a5ad3b5.tar.gz
Set TARGET_ARCH and install files -fschg as we do the kernel module.
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/kmod.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 9fa8029..350df22 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -78,6 +78,8 @@
KMODLOAD?= /sbin/kldload
KMODUNLOAD?= /sbin/kldunload
+TARGET_ARCH?= ${MACHINE_ARCH}
+
.if !target(__initialized__)
__initialized__:
.if exists(${.CURDIR}/../Makefile.inc)
@@ -199,6 +201,7 @@ beforeinstall:
afterinstall:
.endif
+INSTALLFLAGS+= -fschg
_INSTALLFLAGS:= ${INSTALLFLAGS}
.for ie in ${INSTALLFLAGS_EDIT}
_INSTALLFLAGS:= ${_INSTALLFLAGS${ie}}
OpenPOWER on IntegriCloud