Module Name:    src
Committed By:   simonb
Date:           Mon Dec 20 11:54:33 UTC 2021

Modified Files:
        src/sys/external/bsd/dwc2/conf: files.dwc2

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


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/dwc2/conf/files.dwc2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/dwc2/conf/files.dwc2
diff -u src/sys/external/bsd/dwc2/conf/files.dwc2:1.3 src/sys/external/bsd/dwc2/conf/files.dwc2:1.4
--- src/sys/external/bsd/dwc2/conf/files.dwc2:1.3	Wed Feb 24 22:17:54 2016
+++ src/sys/external/bsd/dwc2/conf/files.dwc2	Mon Dec 20 11:54:32 2021
@@ -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

Reply via email to