Skip to content

Commit

Permalink
target: Improve Makefile reusability for use in Occamy
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca committed Sep 4, 2024
1 parent ee1e521 commit 2e29bca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion target/snitch_cluster/sw/apps/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $(APP)_RISCV_LDFLAGS += -T$(BASE_LD)
$(APP)_RISCV_LDFLAGS += $(addprefix -L,$($(APP)_LIBDIRS))
$(APP)_RISCV_LDFLAGS += $(addprefix -l,$($(APP)_LIBNAMES))

LD_DEPS = $(MEMORY_LD) $(BASE_LD) $($(APP)_LIBS)
LD_DEPS += $(MEMORY_LD) $(BASE_LD) $($(APP)_LIBS)

###########
# Outputs #
Expand Down
8 changes: 4 additions & 4 deletions target/snitch_cluster/sw/runtime/runtime.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
# Directories #
###############

SNRT_DIR = $(SNITCH_ROOT)/sw/snRuntime
SNRT_TARGET_DIR = $(SNITCH_ROOT)/target/snitch_cluster/sw/runtime/$(SELECT_RUNTIME)
SNRT_BUILDDIR = $(SNRT_TARGET_DIR)/build
SNRT_SRCDIR = $(SNRT_TARGET_DIR)/src
SNRT_DIR = $(SNITCH_ROOT)/sw/snRuntime
SNRT_TARGET_DIR ?= $(SNITCH_ROOT)/target/snitch_cluster/sw/runtime/$(SELECT_RUNTIME)
SNRT_BUILDDIR = $(SNRT_TARGET_DIR)/build
SNRT_SRCDIR = $(SNRT_TARGET_DIR)/src

###################
# Build variables #
Expand Down

0 comments on commit 2e29bca

Please sign in to comment.