Skip to content

Commit

Permalink
dont use advanced firmware variables with remote builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jw3 committed Mar 27, 2018
1 parent cf6b9ba commit de0b4de
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmake/particle.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ function(add_particle_remote_app name)
message(STATUS "Configuring [${name}] remote at ${USER_REMOTE}")

foreach (dep IN LISTS ARGN)
set(APPLIBS ${APPLIBS} ${${dep}})
message(STATUS "${name} include ${dep} at ${${dep}}")
target_include_directories(${REMOTE_TARGET} PRIVATE ${${dep}})
target_link_libraries(${REMOTE_TARGET} PRIVATE $<TARGET_OBJECTS:${dep}>)
Expand All @@ -74,13 +73,8 @@ function(add_particle_remote_app name)
PLATFORM=${PLATFORM}
TARGET_DIR=${TARGET_DIR}
GCC_ARM_PATH=${GCC_ARM_PATH}
APPDIR=${APP_DIR}
USER_REMOTE=${CMAKE_BINARY_DIR})

if (APPLIBS)
set(MAKE_ARGS ${MAKE_ARGS} APPLIBSV1=${APPLIBS})
endif ()

add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${name}.bin
COMMAND make
ARGS ${MAKE_ARGS}
Expand Down

0 comments on commit de0b4de

Please sign in to comment.