[Buildroot] [PATCH 1/2] package/pkg-generic: remove trailing slash in the package-specific PKGDIR variable
Scott Fan
fancp2007 at gmail.com
Sat Mar 23 16:01:18 UTC 2024
Signed-off-by: Scott Fan <fancp2007 at gmail.com>
---
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 577a148c1e..f9cb8722b8 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -489,7 +489,7 @@ PACKAGES_ALL += $(1)
$(2)_TYPE = $(4)
$(2)_NAME = $(1)
$(2)_RAWNAME = $$(patsubst host-%,%,$(1))
-$(2)_PKGDIR = $(pkgdir)
+$(2)_PKGDIR = $$(patsubst %/,%,$(pkgdir))
# Keep the package version that may contain forward slashes in the _DL_VERSION
# variable, then replace all forward slashes ('/') by underscores ('_') to
--
2.34.1
More information about the buildroot
mailing list