Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Fix the USBVERBOSE stuff so it does not get incl...
details: https://anonhg.NetBSD.org/src/rev/9d1a149340cd
branches: trunk
changeset: 353745:9d1a149340cd
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sat May 20 00:56:32 2017 +0000
description:
Fix the USBVERBOSE stuff so it does not get included in the build if
there are no USB devices or controllers.
Without this change, a kernel with no USB devices but with USBVERBOSE
defined in the configuration file will include the usb_verbose.c file,
but will fail to link due to undefined symbols.
diffstat:
sys/dev/usb/files.usb | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 00a74ec78631 -r 9d1a149340cd sys/dev/usb/files.usb
--- a/sys/dev/usb/files.usb Fri May 19 19:55:16 2017 +0000
+++ b/sys/dev/usb/files.usb Sat May 20 00:56:32 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.usb,v 1.143 2017/04/17 08:59:37 riastradh Exp $
+# $NetBSD: files.usb,v 1.144 2017/05/20 00:56:32 pgoyette Exp $
#
# Config file and device description for machine-independent USB code.
# Included by ports that need it. Ports that use it must provide
@@ -103,8 +103,7 @@
define usb_dma: usb
file dev/usb/usb_mem.c usb_dma needs-flag
-define usbverbose: usb
-file dev/usb/usb_verbose.c usbverbose
+file dev/usb/usb_verbose.c usbverbose & usb
# Hub driver
device uhub: usbdevif, usbifif
Home |
Main Index |
Thread Index |
Old Index