Re: [PATCH v2 17/30] Kbuild: Detect including an MSYS2 path

2023-05-01 Thread Bin Meng
Hi Simon, On Sun, Apr 30, 2023 at 9:30 AM Simon Glass wrote: > > The source-tree directory is prepended to relative include paths, but this > does not work on Windows, where a path may have a drive letter like C: at > the start of it. > > This breaks SDL which includes an absolute path to the hea

Re: [PATCH v2 17/30] Kbuild: Detect including an MSYS2 path

2023-04-30 Thread Tom Rini
On Sat, Apr 29, 2023 at 07:29:50PM -0600, Simon Glass wrote: > The source-tree directory is prepended to relative include paths, but this > does not work on Windows, where a path may have a drive letter like C: at > the start of it. > > This breaks SDL which includes an absolute path to the header

[PATCH v2 17/30] Kbuild: Detect including an MSYS2 path

2023-04-29 Thread Simon Glass
The source-tree directory is prepended to relative include paths, but this does not work on Windows, where a path may have a drive letter like C: at the start of it. This breaks SDL which includes an absolute path to the header directory to the C flags, e.g. -IC:/msys64/mingw64/include/SDL2 Add t