Skip to content

Commit 83907a4

Browse files
committed
ports:unix:makefile: introduce ASI_TARGET make environment variable
Compile for ASI2900 if ASI_TARGET is equal to ASI2900. e.g. `make ASI_TARGET=ASI2900`
1 parent 1acc588 commit 83907a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ports/unix/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ CFLAGS_MOD += -I/usr/lib/jvm/java-7-openjdk-amd64/include -DMICROPY_PY_JNI=1
218218
SRC_MOD += modjni.c
219219
endif
220220

221+
ifeq ($(ASI_TARGET),ASI2900)
221222
# Add ASI module
222223
ASI2900_ROOT = ../../../..
223224
HWIO = $(realpath ${ASI2900_ROOT}/audio_protocols/dante/hwio)
@@ -236,6 +237,7 @@ SRC_MOD += $(HWIO)/hwioc_asi2900.c \
236237
$(HWIO)/asi_iyo_conmon_fns.c
237238

238239
LDFLAGS_MOD += -L$(EDAPI_ROOT)/lib -ledapi -ldns_sd -lstdc++
240+
endif
239241

240242
# source files
241243
SRC_C += \

0 commit comments

Comments
 (0)