tclibc-newlib.inc sets TARGET_OS:arm to 'eabi', which gets assigned to HOST_OS
and is used here to determine CMAKE_SYSTEM_NAME.
Signed-off-by: Harald Brinkmann <brinkmann@stulz-digital-solutions.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
return 'Windows'
if host_os.startswith('linux'):
return 'Linux'
return 'Windows'
if host_os.startswith('linux'):
return 'Linux'
+ if host_os == 'eabi':
+ return 'Generic'
return host_os
# CMake expects target architectures in the format of uname(2),
return host_os
# CMake expects target architectures in the format of uname(2),