Skip to content

Commit

Permalink
Add dependency to Python when SIM=spike
Browse files Browse the repository at this point in the history
Since `scripts/wrapper/spike/*` started to use the script
`scripts/march-to-cpu-opt`, we need to add dependency to the
prerequisite of this script (installation of pyelftools).

This commit adds the dependency to `stamps/install-python-package`.
  • Loading branch information
a4lg committed Nov 28, 2023
1 parent b905f4b commit 455c71e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ ifeq ($(SIM),spike)
# Using spike simulator.
SIM_PATH:=$(srcdir)/scripts/wrapper/spike:$(srcdir)/scripts
SIM_PREPARE:=PATH="$(SIM_PATH):$(INSTALL_DIR)/bin:$(PATH)" PK_PATH="$(INSTALL_DIR)/$(NEWLIB_TUPLE)/bin/" ARCH_STR="$(WITH_ARCH)"
SIM_STAMP:= stamps/build-spike
SIM_STAMP:= stamps/build-spike stamps/install-python-package
ifneq (,$(findstring rv32,$(NEWLIB_MULTILIB_NAMES)))
SIM_STAMP+= stamps/build-pk32
endif
Expand Down

0 comments on commit 455c71e

Please sign in to comment.