blob: f96cd4c6e3dab2ee8dc616aa290cd77d7cbb35e0 [file] [log] [blame]
Damjan Marion01fe7ab2023-10-23 18:36:18 +02001# Copyright (c) 2023 Marvell.
2# SPDX-License-Identifier: Apache-2.0
3# https://spdx.org/licenses/Apache-2.0.html
4
Monendra Singh Kushwahaa93c85a2024-02-28 13:09:06 +05305octeon-roc_version := 0.4
Damjan Marion01fe7ab2023-10-23 18:36:18 +02006octeon-roc_tarball := octeon-roc-v$(octeon-roc_version).tar.gz
Monendra Singh Kushwahaa93c85a2024-02-28 13:09:06 +05307octeon-roc_tarball_md5sum := f3772f6e05d71cf2709c00ff1a1929ca
Damjan Marion01fe7ab2023-10-23 18:36:18 +02008
9octeon-roc_tarball_strip_dirs := 1
10octeon-roc_url := https://github.com/MarvellEmbeddedProcessors/marvell-vpp/archive/refs/tags/$(octeon-roc_tarball)
11
12define octeon-roc_config_cmds
13 @true
14endef
15
16define 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)
19endef
20
21define octeon-roc_install_cmds
22 @$(MAKE) -C ${octeon-roc_src_dir} install >> $(octeon-roc_install_log)
23endef
24
25$(eval $(call package,octeon-roc))
26