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
2023-04-21 07:42:20 +02:00
parent 1c8ab2a0d7
commit 504d951c75
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -341,7 +341,7 @@ if(EXISTS ${BOARD_DEFCONFIG})
add_definitions( ${COMPILE_DEFINITIONS})
endif()
if(LINUX)
if(LINUX_TARGET)
add_definitions( "-D__PX4_LINUX" )
endif()