diff options
author | 2025-03-11 10:49:43 +0000 | |
---|---|---|
committer | 2025-03-14 01:58:15 +0000 | |
commit | 9c93af3b7fe849f0d2662b1757d9a437e16f03de (patch) | |
tree | ff568fd648b3cc8a3b7ab21cc2c3650b0931cb4d | |
parent | bdf1288528cfc9cead581356f10a7f95fb1cc9be (diff) |
build: remove the duplicate `make install-dep` in `make pkg-verify`
In Makefile, when a target has multiple prerequisites, the order of
execution of prerequisites is not guaranteed. So we might encounter the
following `apt-get` lock issue when executing `make pkg-verify` due to
the duplicate execution of `make install-dep` command.
Reading package lists...
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 21872 (apt-get)
E: Unable to lock directory /var/lib/apt/lists/
make[1]: *** [Makefile:404: install-dep] Error 100
make[1]: Leaving directory '/builds/software/ias/networking/vpp'
make: *** [Makefile:373: /builds/software/ias/networking/vpp/build-root/.deps.ok] Error 2
Type: fix
Change-Id: I057cebf5e31c0f3eef42f7ad07c7759a2d8e7f73
Signed-off-by: Jay Wang <jay.wang2@arm.com>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -932,7 +932,7 @@ docs: @$(MAKE) -C $(WS_ROOT)/docs docs .PHONY: pkg-verify -pkg-verify: install-dep $(BR)/.deps.ok install-ext-deps +pkg-verify: $(BR)/.deps.ok install-ext-deps $(call banner,"Building for PLATFORM=vpp") @$(MAKE) CC=$(CC) -C build-root PLATFORM=vpp TAG=vpp wipe-all install-packages $(call banner,"Building sample-plugin") |