Skip to content

Commit 99af591

Browse files
committed
sw: Make it possible to omit build of apps
1 parent 5c02f4e commit 99af591

File tree

1 file changed

+5
-1
lines changed
  • target/snitch_cluster

1 file changed

+5
-1
lines changed

target/snitch_cluster/sw.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ include $(SN_ROOT)/target/snitch_cluster/sw/toolchain.mk
5959
include $(SN_ROOT)/target/snitch_cluster/sw/runtime/runtime.mk
6060
include $(SN_ROOT)/target/snitch_cluster/sw/tests/tests.mk
6161

62+
SNRT_BUILD_APPS ?= ON
63+
64+
ifeq ($(SNRT_BUILD_APPS), ON)
6265
SNRT_APPS = sw/apps/nop
6366
SNRT_APPS += sw/apps/blas/axpy
6467
SNRT_APPS += sw/apps/blas/gemm
@@ -85,5 +88,6 @@ SNRT_APPS += sw/apps/kmeans
8588

8689
# Include Makefile from each app subdirectory
8790
$(foreach app,$(SNRT_APPS), \
88-
$(eval include $(app)/app.mk) \
91+
$(eval include $(SN_ROOT)/target/snitch_cluster/$(app)/app.mk) \
8992
)
93+
endif

0 commit comments

Comments
 (0)