Problem was with a third party library which the component used.
Had to add in component.mk
Code: Select all
COMPONENT_ADD_LDFLAGS := -lmySensor -L$(COMPONENT_PATH)/lib -lsensorLib
COMPONENT_ADD_INCLUDEDIRS := . lib
COMPONENT_SRCDIRS := . lib
Code: Select all
COMPONENT_ADD_LDFLAGS := -lmySensor -L$(COMPONENT_PATH)/lib -lsensorLib
COMPONENT_ADD_INCLUDEDIRS := . lib
COMPONENT_SRCDIRS := . lib