diff options
author | imp <imp@FreeBSD.org> | 2005-04-03 04:56:05 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-04-03 04:56:05 +0000 |
commit | b3f43c4882e22d525038362a759dbe1e152f61fc (patch) | |
tree | 303504f8d119db65fe6ffe211c0e3344cea2e273 /sys | |
parent | b115dca3b21275df7c346e1ad344e8aaddcd81fa (diff) | |
download | FreeBSD-src-b3f43c4882e22d525038362a759dbe1e152f61fc.zip FreeBSD-src-b3f43c4882e22d525038362a759dbe1e152f61fc.tar.gz |
Don't forget to create new-style links for module builds.
Forgotten by: imp@
Reminded by: nyan@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/kmod.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 07d0c38..7607c20 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -188,6 +188,9 @@ ${FULLPROG}: ${OBJS} .endif _ILINKS=@ machine +.if ${MACHINE} != ${MACHINE_ARCH} +_ILINKS+=${MACHINE_ARCH} +.endif all: objwarn ${PROG} @@ -213,8 +216,10 @@ SYSDIR= ${_dir} ${_ILINKS}: @case ${.TARGET} in \ - machine) \ + ${MACHINE_ARCH}) \ path=${SYSDIR}/${MACHINE_ARCH}/include ;; \ + machine) \ + path=${SYSDIR}/${MACHINE}/include ;; \ @) \ path=${SYSDIR} ;; \ esac ; \ |