mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 01:23:34 +08:00
Updated cmake_hexagon and all the associated files that use it
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
committed by
Lorenz Meier
parent
e904184613
commit
169259059b
@@ -5,10 +5,14 @@ px4_posix_generate_builtin_commands(
|
||||
MODULE_LIST ${module_libraries})
|
||||
|
||||
if ("${BOARD}" STREQUAL "eagle")
|
||||
|
||||
include(fastrpc)
|
||||
include(linux_app)
|
||||
|
||||
FASTRPC_STUB_GEN(../qurt/px4muorb.idl)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-missing-prototypes -Wno-missing-declarations")
|
||||
QURT_APP(
|
||||
LINUX_APP(
|
||||
APP_NAME mainapp
|
||||
IDL_NAME px4muorb
|
||||
APPS_DEST "/home/linaro"
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon")
|
||||
include(fastrpc)
|
||||
include(qurt_lib)
|
||||
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-missing-prototypes")
|
||||
@@ -33,16 +37,16 @@ else()
|
||||
message("df_driver_libs = ${df_driver_libs}")
|
||||
# Generate the DSP lib and stubs but not the apps side executable
|
||||
# The Apps side executable is generated via the posix_eagle_xxxx target
|
||||
QURT_LIB(APP_NAME mainapp
|
||||
QURT_LIB(LIB_NAME mainapp
|
||||
IDL_NAME px4muorb
|
||||
SOURCES
|
||||
${CMAKE_BINARY_DIR}/apps.h
|
||||
${CMAKE_BINARY_DIR}/apps.h
|
||||
LINK_LIBS
|
||||
${module_libraries}
|
||||
${target_libraries}
|
||||
df_driver_framework
|
||||
${df_driver_libs}
|
||||
m
|
||||
${module_libraries}
|
||||
${target_libraries}
|
||||
df_driver_framework
|
||||
${df_driver_libs}
|
||||
m
|
||||
)
|
||||
|
||||
px4_add_adb_push(OUT upload
|
||||
|
||||
@@ -148,3 +148,7 @@ int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type)
|
||||
return -1;
|
||||
}
|
||||
|
||||
int fsync(int fd)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user