Skip to content
Snippets Groups Projects
Commit 8845070d authored by Mark Charlebois's avatar Mark Charlebois Committed by Lorenz Meier
Browse files

Revered changes by Daniel Agar that broke posix eagle build


The following cflags must be set for the eagle builds that compile the
generated IDL stubs:

	-Wno-missing-prototypes -Wno-missing-declarations

Signed-off-by: default avatarMark Charlebois <charlebm@gmail.com>
parent 7c6d24d6
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ if ("${BOARD}" STREQUAL "eagle" OR ("${BOARD}" STREQUAL "excelsior"))
FASTRPC_STUB_GEN(../qurt/px4muorb.idl)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-missing-prototypes -Wno-missing-declarations")
LINUX_APP(
APP_NAME mainapp
IDL_NAME px4muorb
......@@ -36,14 +36,14 @@ if ("${BOARD}" STREQUAL "eagle" OR ("${BOARD}" STREQUAL "excelsior"))
${CMAKE_SOURCE_DIR}/posix-configs/eagle/flight/mainapp.config
DEPENDS mainapp
DEST /home/linaro)
elseif ("${BOARD}" STREQUAL "rpi2")
add_executable(mainapp
${CMAKE_SOURCE_DIR}/src/platforms/posix/main.cpp
apps.h
)
target_link_libraries(mainapp
-Wl,--start-group
${module_libraries}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment