Damjan Marion | 01fe7ab | 2023-10-23 18:36:18 +0200 | [diff] [blame] | 1 | # Copyright (c) 2023 Marvell. |
| 2 | # SPDX-License-Identifier: Apache-2.0 |
| 3 | # https://spdx.org/licenses/Apache-2.0.html |
| 4 | |
Monendra Singh Kushwaha | 81f0f16 | 2024-06-03 17:33:41 +0530 | [diff] [blame^] | 5 | octeon-roc_version := 0.5 |
| 6 | octeon-roc_tarball := v$(octeon-roc_version).tar.gz |
| 7 | octeon-roc_tarball_md5sum := 76bc56c84935da944bbf340fe5283ef0 |
Damjan Marion | 01fe7ab | 2023-10-23 18:36:18 +0200 | [diff] [blame] | 8 | |
| 9 | octeon-roc_tarball_strip_dirs := 1 |
Monendra Singh Kushwaha | 81f0f16 | 2024-06-03 17:33:41 +0530 | [diff] [blame^] | 10 | octeon-roc_url := https://github.com/MarvellEmbeddedProcessors/marvell-octeon-roc/archive/refs/tags/$(octeon-roc_tarball) |
Damjan Marion | 01fe7ab | 2023-10-23 18:36:18 +0200 | [diff] [blame] | 11 | |
| 12 | define octeon-roc_config_cmds |
| 13 | @true |
| 14 | endef |
| 15 | |
| 16 | define octeon-roc_build_cmds |
| 17 | @cd ${octeon-roc_src_dir} && rm -f $(octeon-roc_build_log) && $(CMAKE) ${octeon-roc_src_dir} -DCMAKE_INSTALL_PREFIX='$(octeon-roc_install_dir)' >> $(octeon-roc_build_log) |
| 18 | @$(MAKE) -C ${octeon-roc_src_dir} >> $(octeon-roc_build_log) |
| 19 | endef |
| 20 | |
| 21 | define octeon-roc_install_cmds |
| 22 | @$(MAKE) -C ${octeon-roc_src_dir} install >> $(octeon-roc_install_log) |
| 23 | endef |
| 24 | |
| 25 | $(eval $(call package,octeon-roc)) |
| 26 | |