npm: add firmata & imraa support to npm
mraa_LIB_PLAT_SRCS_NOAUTO no longer used for firmata unlike USBPLAT but mraa_LIB_SRCS_NOAUTO and this is now loaded before the standard src files for mraa. The package still needs to be generated with IMRAA & FIRMATA enabled for this to work. Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
if (FIRMATA)
|
||||
message (STATUS "INFO - Adding firmata backend support")
|
||||
set (mraa_LIB_PLAT_SRCS_NOAUTO ${mraa_LIB_PLAT_SRCS_NOAUTO}
|
||||
set (mraa_LIB_SRCS_NOAUTO ${mraa_LIB_SRCS_NOAUTO}
|
||||
${PROJECT_SOURCE_DIR}/src/firmata/firmata.c
|
||||
${PROJECT_SOURCE_DIR}/src/firmata/firmata_mraa.c
|
||||
PARENT_SCOPE
|
||||
)
|
||||
message (${mraa_LIB_PLAT_SRCS_NOAUTO})
|
||||
endif ()
|
||||
|
||||
Reference in New Issue
Block a user