Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libkern Introduce LIBKERN_MD_FLAGS to pass some MD f...
details: https://anonhg.NetBSD.org/src/rev/5bca54109c1b
branches: trunk
changeset: 366549:5bca54109c1b
user: rin <rin%NetBSD.org@localhost>
date: Mon May 30 14:13:59 2022 +0000
description:
Introduce LIBKERN_MD_FLAGS to pass some MD flags for libkern.
This is necessary since libkern is built by coprocess, and
threfore subsets of make(1) variables are passed.
diffstat:
sys/lib/libkern/Makefile.inc | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 1364d9831903 -r 5bca54109c1b sys/lib/libkern/Makefile.inc
--- a/sys/lib/libkern/Makefile.inc Mon May 30 14:09:01 2022 +0000
+++ b/sys/lib/libkern/Makefile.inc Mon May 30 14:13:59 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.46 2018/09/22 12:24:04 rin Exp $
+# $NetBSD: Makefile.inc,v 1.47 2022/05/30 14:13:59 rin Exp $
#
# Configuration variables (default values are below):
#
@@ -38,6 +38,8 @@
LIBKERNLNBN= llib-lkern.ln
KERNLIBLN= ${KERNDST}/${LIBKERNLNBN}
+LIBKERN_MD_FLAGS?= none
+
KERNMAKE= \
cd ${KERNDST} && ${MAKE} -f ${KERNDIR:q}/Makefile \
KERNDIR=${KERNDIR:q} \
@@ -54,6 +56,7 @@
LINTFLAGS=${KERNLINTFLAGS:q} \
LIBKERN_ARCH=${LIBKERN_ARCH:q} \
COMMON_MACHINE_ARCH=${COMMON_MACHINE_ARCH:q} \
+ LIBKERN_MD_FLAGS=${LIBKERN_MD_FLAGS:q} \
${KERNMISCMAKEFLAGS}
${KERNLIB}: .NOTMAIN .MAKE __always_make_kernlib
Home |
Main Index |
Thread Index |
Old Index