From be164d261dff183796b95021053a8032aeea18b3 Mon Sep 17 00:00:00 2001 From: Arnout Vandecappelle Date: Sat, 14 Sep 2024 11:55:00 +0200 Subject: [PATCH] package/pkg-generic.mk: legal-info: proper double-dollar Everything inside the generic-package macro should be double-dollared, except for $(1) $(2) etc. There was still a $(call ...) that was not double-dollared in the legal-info target. The result is that OVERRIDE_SRCDIR isn't actually qstrip'ed. Double dollar the $(call ...) like everywhere else. Signed-off-by: Arnout Vandecappelle Cc: Nicolas Carrier Reported-by: Yann E. MORIN Signed-off-by: Yann E. MORIN (cherry picked from commit 109c7c437c9743a6fd71a5653c634d7ba7514df9) Signed-off-by: Peter Korsgaard --- package/pkg-generic.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 48cc8ec800..e67f141604 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -1164,7 +1164,7 @@ ifneq ($$($(2)_OVERRIDE_SRCDIR),) $$(Q)rm -rf $$($(2)_BUILDDIR)/.legal-info-rsync $$(Q)mkdir -p $$($(2)_BUILDDIR)/.legal-info-rsync $$(Q)rsync -au --chmod=u=rwX,go=rX $$(RSYNC_VCS_EXCLUSIONS) \ - $(call qstrip,$$($(2)_OVERRIDE_SRCDIR))/ \ + $$(call qstrip,$$($(2)_OVERRIDE_SRCDIR))/ \ $$($(2)_BUILDDIR)/.legal-info-rsync/ $$(call prepare-per-package-directory,$$(BR2_GZIP_HOST_DEPENDENCY) $$(BR2_TAR_HOST_DEPENDENCY)) $$(Q)mkdir -p $$($(2)_REDIST_SOURCES_DIR)