diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-02-12 16:18:03 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-02-20 11:11:18 -0600 |
| commit | bf5cece51a20eb4773d196ec650fb3af574afa17 (patch) | |
| tree | 8abd33c815b38a3dee673ea345f106d4ddcae9ab /mk/tools.mk | |
| parent | 691a441bfeb90642840d2869cb04ec146e274a1e (diff) | |
mk: initial commit
This is a complete overhaul of the build system. This new
implementations upports many new features and is very extensible.
Diffstat (limited to 'mk/tools.mk')
| -rw-r--r-- | mk/tools.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mk/tools.mk b/mk/tools.mk new file mode 100644 index 0000000..9f3734e --- /dev/null +++ b/mk/tools.mk @@ -0,0 +1,10 @@ +define find_tools_lazy + $(call find_command_lazy,cocotb-config,COCOTB_CONFIG) + $(call find_command_lazy,genhtml,GENHTML) + $(call find_command_lazy,pkg-config,PKG_CONFIG) + $(call find_command_lazy,verilator,VERILATOR) + + $(call shell_defer,cocotb_share,$$(COCOTB_CONFIG) --share) + $(call shell_defer,cocotb_libdir,$$(COCOTB_CONFIG) --lib-dir) + $(call shell_defer,cocotb_libpython,$$(COCOTB_CONFIG) --libpython) +endef |
