px4-firmware/cmake
Matthias Grob 463217a5f9 Cygwin: repair NuttX build (#8737)
* Cygwin: repaired NuttX build after 1f63d85869
all the NuttX specific WINTOOL define handling was skiped in cmake Make.defs generation
The Nuttx build is makfile based and needs its cygwin treatment

Additionally the ${PX4_SOURCE_DIR}/src/include which was added through cmake needs path conversion

The two root causes for the special handling are:
- ARM GCC for Windows doesn't support cygwin paths passed as an argument
  so they need to be either relative or converted via cypath tool
- Symbolic links are totally different under Windows and because NuttX uses them extensively
  it has special handling scripts that need to be fed with the correct defines

* Cygwin: NuttX include paths all converted in Make.defs.in

differentiate between WINTOOL define (MSYS & cygwin) and cygwin using uname command:
- MSYS needs symbolic link handling for ARM GCC but no path conversion
- Cygwin needs both
2018-01-20 23:26:12 -05:00
..
cmake_hexagon@07168bd571 Updated to latest dspal and cmake_hexagon 2017-04-10 08:49:29 +02:00
common NuttX upgrade default compiler to GCC 7 2018-01-15 12:57:29 -05:00
configs hott automatically include hott_sensors and hott_telemetry 2018-01-16 23:46:45 -05:00
toolchains Cygwin: repair NuttX build (#8737) 2018-01-20 23:26:12 -05:00
cygwin_cygpath.cmake Cygwin: use absolute path with cygpath conversion to the linker script again 2018-01-05 14:47:33 -05:00