From 4b4b43193c3657d57a36784514cdfda95cb12cfd Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 20 Jan 2026 11:36:25 +0100 Subject: [PATCH] topdir.mk: Add pkg-install-testbuild-deps There's little system in the pkg-install-xxx targets, add one more to increase the confusion. It's needed to install all packages needed to do a standalone build against the packages installed into the system via package manager. That said, the respective jw-projects.sh commands need broader refactoring, as well as the pkg-install-xxx target naming. Signed-off-by: Jan Lindemann --- make/topdir.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/make/topdir.mk b/make/topdir.mk index aaad268b..1b6fff2b 100644 --- a/make/topdir.mk +++ b/make/topdir.mk @@ -217,6 +217,9 @@ pkg-install-build-deps: pkg-install-release-deps: $(PKG_MANAGER_SH) install $(DASH_Y) $(BASE_PKGS) $(shell $(proj_query_cmd) required-os-pkg --skip-excluded --flavours "build run release" $(PROJECT)) +pkg-install-testbuild-deps: + $(PKG_MANAGER_SH) install $(DASH_Y) $(BASE_PKGS) $(shell $(proj_query_cmd) pkg-requires --delimiter=' ' --no-version build,run,release $(PROJECT)) + echo-hash: @/bin/bash $(PKG_SH_EXE) hash