efabless / caravel_mgmt_soc_litex

https://caravel-mgmt-soc-litex.readthedocs.io/en/latest/
Apache License 2.0
24 stars 14 forks source link

env.makefile should use MCW_ROOT to refer to caravel_mgmt_soc_litex #30

Open proppy opened 2 years ago

proppy commented 2 years ago

https://github.com/efabless/caravel_mgmt_soc_litex/blob/3fee299f8177cebf7919eb0e6da7f0f5ad7af31d/verilog/dv/make/env.makefile#L30 seems to assume this repo is cloned in a directory named caravel_mgmt_soc_litex.

That doesn't seems to be always the case, e.g: caravel_user_project makefile: https://github.com/efabless/caravel-lite/blob/main/Makefile#L45

Instead env.makefile should probably rely on MCW_ROOT to refer to this path instead of caravel_mgmt_soc_litex.