Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/nouveau Makefile got moved to Kbuild. ...



details:   https://anonhg.NetBSD.org/src/rev/c544b0e1998d
branches:  trunk
changeset: 365671:c544b0e1998d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 00:46:10 2018 +0000

description:
Makefile got moved to Kbuild.  Make sure variables expand.

diffstat:

 sys/external/bsd/drm2/nouveau/nouveau2netbsd |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 55342c2e3dec -r c544b0e1998d sys/external/bsd/drm2/nouveau/nouveau2netbsd
--- a/sys/external/bsd/drm2/nouveau/nouveau2netbsd      Mon Aug 27 00:46:04 2018 +0000
+++ b/sys/external/bsd/drm2/nouveau/nouveau2netbsd      Mon Aug 27 00:46:10 2018 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-#      $NetBSD: nouveau2netbsd,v 1.3 2018/08/27 00:46:04 riastradh Exp $
+#      $NetBSD: nouveau2netbsd,v 1.4 2018/08/27 00:46:10 riastradh Exp $
 #
 # $ /path/to/nouveau2netbsd > /path/to/files.nouveau.new
 #
@@ -30,11 +30,11 @@
 
 filemap="$(mktemp -t ${0##*/})"
 
-cat Makefile                                                           \
+cat Kbuild                                                             \
 | sed -e 's,^include \(.*\)$,.include "\1",'                           \
 | sed -e 's,^ifdef \(.*\)$,.if !empty(\1:M[yY][eE][sS]),'              \
 | sed -e 's,^endif$,.endif,'                                           \
-| make -f /dev/stdin -V nouveau-y src=.                                        \
+| make -f /dev/stdin -V '$(nouveau-y)' src=.                           \
 | tr ' ' '\n'                                                          \
 | sed -e 's,^$,,'                                                      \
 | sort -u                                                              \



Home | Main Index | Thread Index | Old Index