We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd086f4 commit 5477998Copy full SHA for 5477998
2 files changed
ports/unix/Makefile
@@ -193,6 +193,15 @@ CFLAGS += $(LIBFFI_CFLAGS) -DMICROPY_PY_FFI=1
193
LDFLAGS += $(LIBFFI_LDFLAGS)
194
endif
195
196
+ifeq ($(MICROPY_PY_UBUS),1)
197
+LIBUBUS_LDFLAGS := "-lubus"
198
+
199
+CFLAGS += $(LIBUBUS_CFLAGS_MOD) -DMICROPY_PY_UBUS=1
200
+LDFLAGS += $(LIBUBUS_LDFLAGS)
201
+SRC_C += modubus.c
202
+endif
203
204
205
ifeq ($(MICROPY_PY_JNI),1)
206
# Path for 64-bit OpenJDK, should be adjusted for other JDKs
207
CFLAGS += -I/usr/lib/jvm/java-7-openjdk-amd64/include -DMICROPY_PY_JNI=1
0 commit comments