NetBSD/share/ldscripts/Makefile
ad 0b78a6ea64 Use an ldscript to merge kernel modules' .bss sections into .data. Passing
-fno-common -fno-zero-initialized-in-bss to gcc does not work, and objcopy
refuses to expand the bss section.
2008-05-20 12:17:48 +00:00

13 lines
196 B
Makefile

# $NetBSD: Makefile,v 1.1 2008/05/20 12:17:49 ad Exp $
NOOBJ= # defined
.include <bsd.own.mk>
.if ${MKSHARE} != "no"
FILES= kmodule
FILESDIR=/usr/share/ldscripts
.endif
.include <bsd.prog.mk>