Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/dwc2/conf Explicitly use -I$S/external/bsd/...



details:   https://anonhg.NetBSD.org/src/rev/dfa3f741d86e
branches:  trunk
changeset: 1029057:dfa3f741d86e
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Dec 20 11:54:32 2021 +0000

description:
Explicitly use -I$S/external/bsd/dwc2/dist for dwc2 instead of possibly
getting that include path via DRM.  Fixes evbmips cavium kernel build.

diffstat:

 sys/external/bsd/dwc2/conf/files.dwc2 |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r d89838eaf0df -r dfa3f741d86e sys/external/bsd/dwc2/conf/files.dwc2
--- a/sys/external/bsd/dwc2/conf/files.dwc2     Mon Dec 20 11:17:40 2021 +0000
+++ b/sys/external/bsd/dwc2/conf/files.dwc2     Mon Dec 20 11:54:32 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.dwc2,v 1.3 2016/02/24 22:17:54 skrll Exp $
+#      $NetBSD: files.dwc2,v 1.4 2021/12/20 11:54:32 simonb Exp $
 
 # DesignWare HS OTG Controller
 #
@@ -6,7 +6,9 @@
 device dwctwo: usbus, usbroothub, usb_dma, linux
 file   external/bsd/dwc2/dwc2.c                        dwctwo  needs-flag
 
-makeoptions    dwctwo  CPPFLAGS+="-I$S/external/bsd -I$S/external/bsd/dwc2/dist"
+makeoptions    dwctwo  CPPFLAGS+="-I$S/external/bsd"
+makeoptions    dwctwo  CPPFLAGS+="-I$S/external/bsd/common/include"
+makeoptions    dwctwo  CPPFLAGS+="-I$S/external/bsd/dwc2/dist"
 
 file   external/bsd/dwc2/dist/dwc2_core.c              dwctwo
 file   external/bsd/dwc2/dist/dwc2_coreintr.c          dwctwo



Home | Main Index | Thread Index | Old Index