Source-Changes-HG archive

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

[src/trunk]: src/sys/dev fix FDT build without openfirm pseudo-device



details:   https://anonhg.NetBSD.org/src/rev/7de60230e6c2
branches:  trunk
changeset: 812463:7de60230e6c2
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Dec 16 12:22:48 2015 +0000

description:
fix FDT build without openfirm pseudo-device

diffstat:

 sys/dev/fdt/files.fdt |  4 ++--
 sys/dev/ofw/files.ofw |  5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 3e427a129bd0 -r 7de60230e6c2 sys/dev/fdt/files.fdt
--- a/sys/dev/fdt/files.fdt     Wed Dec 16 12:18:02 2015 +0000
+++ b/sys/dev/fdt/files.fdt     Wed Dec 16 12:22:48 2015 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: files.fdt,v 1.3 2015/12/16 12:03:44 jmcneill Exp $
+# $NetBSD: files.fdt,v 1.4 2015/12/16 12:22:48 jmcneill Exp $
 
 include        "external/bsd/libfdt/conf/files.libfdt"
 
-defflag        opt_fdt.h                               FDT: libfdt
+defflag        opt_fdt.h                               FDT: libfdt, ofw_subr
 
 define fdtbus { }
 
diff -r 3e427a129bd0 -r 7de60230e6c2 sys/dev/ofw/files.ofw
--- a/sys/dev/ofw/files.ofw     Wed Dec 16 12:18:02 2015 +0000
+++ b/sys/dev/ofw/files.ofw     Wed Dec 16 12:22:48 2015 +0000
@@ -1,15 +1,16 @@
-#      $NetBSD: files.ofw,v 1.13 2007/01/08 06:43:09 macallan Exp $
+#      $NetBSD: files.ofw,v 1.14 2015/12/16 12:22:48 jmcneill Exp $
 #
 # First cut on Openfirmware interface
 #
 
 define ofbus {}
 define of_network_dev
+define ofw_subr
 
 defpseudo openfirm
 file   dev/ofw/openfirmio.c            openfirm needs-flag
 
-file   dev/ofw/ofw_subr.c              ofbus | openfirm
+file   dev/ofw/ofw_subr.c              ofbus | openfirm | ofw_subr
 
 file   dev/ofw/ofw_network_subr.c      of_network_dev
 



Home | Main Index | Thread Index | Old Index