fix kconfig: rename LINUX to LINUX_TARGET

LINUX is defined by cmake >= 3.25:
https://cmake.org/cmake/help/latest/variable/LINUX.html
This commit is contained in:
Beat Küng
2022-12-13 13:23:41 +01:00
committed by Daniel Agar
parent 257d4e473b
commit 685d5cb473
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -362,7 +362,7 @@ if(EXISTS ${BOARD_DEFCONFIG})
add_definitions( ${COMPILE_DEFINITIONS})
endif()
if(LINUX)
if(LINUX_TARGET)
add_definitions( "-D__PX4_LINUX" )
endif()