We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aba1ecb commit 326665cCopy full SHA for 326665c
ports/unix/Makefile
@@ -212,6 +212,15 @@ LDFLAGS_MOD += $(LIBFFI_LDFLAGS_MOD)
212
SRC_MOD += modffi.c
213
endif
214
215
+ifeq ($(MICROPY_PY_UBUS),1)
216
+LIBUBUS_LDFLAGS_MOD := "-lubus"
217
+
218
+CFLAGS_MOD += $(LIBUBUS_CFLAGS_MOD) -DMICROPY_PY_UBUS=1
219
+LDFLAGS_MOD += $(LIBUBUS_LDFLAGS_MOD)
220
+SRC_MOD += modubus.c
221
+endif
222
223
224
ifeq ($(MICROPY_PY_JNI),1)
225
# Path for 64-bit OpenJDK, should be adjusted for other JDKs
226
CFLAGS_MOD += -I/usr/lib/jvm/java-7-openjdk-amd64/include -DMICROPY_PY_JNI=1
0 commit comments