summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev2026-02-07 02:39:33 +0000
committerHauke Mehrtens2026-02-07 23:23:13 +0000
commit71ad91ecfa74427fce0dd5cfa68b95213b9a3e76 (patch)
tree060b493511304e9bddc355c6c8e53bcee916afb3
parent528c9259a70f3a94595cd860b97913fbe913ed39 (diff)
downloadopenwrt-71ad91ecfa74427fce0dd5cfa68b95213b9a3e76.tar.gz
package-pack: fix Ubuntu 18.04 compilation
Add \ to fix parsing with make 4.1. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/21910 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--include/package-pack.mk22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/package-pack.mk b/include/package-pack.mk
index e6f6a11fed..bdf2fae742 100644
--- a/include/package-pack.mk
+++ b/include/package-pack.mk
@@ -231,17 +231,17 @@ endef
# 3: ABI version
# 4: list of provides
define FormatProvides
-$(strip
- $(if $(call FormatABISuffix,$(1),$(3)),
- $(1) $(foreach provide,
- $(filter-out $(1),$(4)),
- $(call AddProvide,$(provide),$(2),$(3))
- ),
- $(foreach provide,
- $(filter-out $(1),$(4)),
- $(call AddProvide,$(provide),$(2))
- )
- )
+$(strip \
+ $(if $(call FormatABISuffix,$(1),$(3)), \
+ $(1) $(foreach provide, \
+ $(filter-out $(1),$(4)), \
+ $(call AddProvide,$(provide),$(2),$(3)) \
+ ), \
+ $(foreach provide, \
+ $(filter-out $(1),$(4)), \
+ $(call AddProvide,$(provide),$(2)) \
+ ) \
+ ) \
)
endef