There seems to be a bug (or by design issue) with the Common.mk file when trying to build under WSL 2. The build process needs to test to see if it is running under WSL and then turn on folder case sensitivity as appropriate. However, there appears to be a change in WSL 2 that is failing evaluation.
The test in Common.mk is:
but with WSL 2 the “cat /proc/sys/kernel/osrelease” returns:
So it fails as findstring is case sensitive. I can fix this for my system but it should be addressed for the future as who knows if MS will go back to uppercase M in the osrelease value.