import rtconfig Import('RTT_ROOT') from building import * # get current directory cwd = GetCurrentDir() # The set of source files associated with this SConscript file. src = Glob('MQTTPacket/src/*.c') path = [cwd + '/MQTTPacket/src'] group = DefineGroup('paho-mqtt', src, depend = ['RT_USING_PAHOMQTT'], CPPPATH = path) Return('group')