5976114eee278e6f574cb67e30b28ca5ac99f824 |
|
18-Jan-2012 |
David 'Digit' Turner <digit@google.com> |
Add support for MSys on windows. This is really experimental, but this patch does two things: 1/ First, add MSys detection to build/core/init.mk. This runtime will be treated exactly like Cygwin 2/ Allow gen-cygwin-deps-convert.awk to parse MSys' mount command output. The latter uses back-slashes for host paths, while Cygwin uses forward slashes. + Add unit test. Change-Id: I15ebc8b14ff1fd984d3b69ac17dd95612ac70dfb
|
62e94189bb3a26ea1f31e8e0cf921d9cb9b5c91e |
|
05-Jan-2012 |
David 'Digit' Turner <digit@google.com> |
cygwin: better auto dependency detection. This patch fixes the way we convert GCC-generated dependency files from Windows to Cygwin path conventions. The old script assumed that the cygwin drive prefix was always "/cygdrive" and didn't support drive-less mounts at all. In these cases, the converted dependency files didn't include valid paths, making the dependency detection not work (i.e. updating a header would not force the rebuild of the source files that include it). We fix this by parsing the cygwin mount command and generating a special temporary shell script that can properly make the conversion of dependency files in all cases. Change-Id: Ic557bad63873817cf2c19338eaffc10d8ea4e6e8
|