Update for new binutils location.

XXX Why is kmodule under binutils anyway?
This commit is contained in:
skrll 2009-11-08 22:27:09 +00:00
parent 314b0d9f8c
commit c93ac2bc84
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.kmodule.mk,v 1.19 2009/04/10 16:16:12 apb Exp $
# $NetBSD: bsd.kmodule.mk,v 1.20 2009/11/08 22:27:09 skrll Exp $
# We are not building this with PIE
MKPIE=no
@ -27,8 +27,8 @@ _YKMSRCS= ${SRCS:M*.[ly]:C/\..$/.c/} ${YHEADER:D${SRCS:M*.y:.y=.h}}
DPSRCS+= ${_YKMSRCS}
CLEANFILES+= ${_YKMSRCS}
.if exists($S/../gnu/usr.bin/binutils/ld/xldscripts/kmodule)
KMODSCRIPT= $S/../gnu/usr.bin/binutils/ld/xldscripts/kmodule
.if exists($S/../external/gpl3/binutils/usr.bin/ld/xldscripts/kmodule)
KMODSCRIPT= $S/../external/gpl3/binutils/usr.bin/ld/xldscripts/kmodule
.else
KMODSCRIPT= ${DESTDIR}/usr/libdata/ldscripts/kmodule
.endif