build: replace phony target with .ok file 49/38349/3
authorJieqiang Wang <jieqiang.wang@arm.com>
Fri, 24 Feb 2023 08:40:58 +0000 (16:40 +0800)
committerDamjan Marion <dmarion@0xa5.net>
Mon, 6 Mar 2023 14:24:57 +0000 (14:24 +0000)
commitd69233f44ea1f039e7755358c0acb20bfbec2258
tree5a2fe8d2044fc39bd27af7a6d52b834b3362f30e
parent79687d92fe652b4b7563c3d436753ab03c395f3f
build: replace phony target with .ok file

When VPP builds its external packages from source, it will download the
package, patch it, configure it, build and install it. For DPDK, it will
depend on rdma-core if mlx4/mlx5 PMD is enabled. So phony target
dpdk-config needs to have the prerequisites of rdma-core-install and
ipsec-mb-install(x86 only), which are both phony targets. This leads to
redundant behavior of recipes executing twice in dpdk-config.
Replace the phony target with hidden file *.install.ok to avoid that.

Type: improvement
Signed-off-by: Lijian Zhang <lijian.zhang@arm.com>
Signed-off-by: Jieqiang Wang <jieqiang.wang@arm.com>
Change-Id: Ibf3b766ab7a4ccfcbffe08f6cdb90da72ca1ce29
build/external/packages.mk