DriverFramework/cmake_hexagon: use defines with DF

This changes the following defines:

__QURT -> __DF_QURT
__RPI -> __DF_RPI
__EDISON -> __DF_EDISON
__BEBOP -> __DF_BEBOP
__LINUX -> __DF_LINUX
This commit is contained in:
Julian Oes
2016-09-27 14:44:51 +02:00
committed by Lorenz Meier
parent e4398c7088
commit f8a1631077
6 changed files with 7 additions and 7 deletions

View File

@@ -4,8 +4,8 @@ set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-linux-
add_definitions(
-D__PX4_POSIX_BEBOP
-D__LINUX
-D__BEBOP
-D__DF_LINUX
-D__DF_BEBOP
)
set(CMAKE_PROGRAM_PATH

View File

@@ -56,7 +56,7 @@ foreach(tool echo grep rm mkdir nm cp touch make unzip)
endforeach()
add_definitions(
-D __RPI
-D __DF_RPI
)
# where is the target environment

View File

@@ -71,7 +71,7 @@ foreach(tool echo grep rm mkdir nm cp touch make unzip)
endforeach()
add_definitions(
-D __RPI
-D __DF_RPI
)
set(LINKER_FLAGS "-Wl,-gc-sections")

View File

@@ -118,7 +118,7 @@ int px4_clock_settime(clockid_t clk_id, struct timespec *tp)
return 0;
}
#elif defined(__QURT)
#elif defined(__PX4_QURT)
#include "dspal_time.h"