Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Don't define _LKM. LKMs are dead. Long live modules.



details:   https://anonhg.NetBSD.org/src/rev/9fb7fae7102f
branches:  trunk
changeset: 936450:9fb7fae7102f
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Jul 27 08:26:09 2020 +0000

description:
Don't define _LKM. LKMs are dead. Long live modules.

diffstat:

 share/mk/bsd.kmodule.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 69eab7bb4ae4 -r 9fb7fae7102f share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk   Mon Jul 27 08:25:28 2020 +0000
+++ b/share/mk/bsd.kmodule.mk   Mon Jul 27 08:26:09 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kmodule.mk,v 1.68 2020/05/11 10:21:24 skrll Exp $
+#      $NetBSD: bsd.kmodule.mk,v 1.69 2020/07/27 08:26:09 skrll Exp $
 
 # We are not building this with PIE
 MKPIE=no
@@ -29,7 +29,7 @@
 CFLAGS+=       -ffreestanding ${COPTS}
 CPPFLAGS+=     -nostdinc -I. -I${.CURDIR} -isystem $S -isystem $S/arch
 CPPFLAGS+=     -isystem ${S}/../common/include
-CPPFLAGS+=     -D_KERNEL -D_LKM -D_MODULE -DSYSCTL_INCLUDE_DESCR
+CPPFLAGS+=     -D_KERNEL -D_MODULE -DSYSCTL_INCLUDE_DESCR
 
 CWARNFLAGS.clang+=     -Wno-error=address-of-packed-member -Wno-error=constant-conversion
 



Home | Main Index | Thread Index | Old Index