Skip to contentSkip to conversation

package/pkg-generic.mk: drop RAWNAME variable

PATCH Applied Peter Korsgaard 2 participants 8 messages Oct 10 – Oct 16

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 package/pkg-generic.mk: drop RAWNAME variable

This was added in commit 7a41cbf938 ("package: fix patching procedure for host packages") to figure out where to find patches, but this was reworked in commit 99d4180eda ("package/pkg-generic.mk: factor out patch directories") to instead use <FOO>_RAWNAME, so drop it.

---
 package/pkg-generic.mk | 1 -
 1 file changed, 1 deletion(-)
package/pkg-generic.mk +0 -1
index 09d6e5b20b..f8ffaa21c7 100644
@@ -1085,7 +1085,6 @@ $$($(2)_TARGET_CONFIGURE):		NAME=$(1)
 $$($(2)_TARGET_RSYNC):			SRCDIR=$$($(2)_OVERRIDE_SRCDIR)
 $$($(2)_TARGET_RSYNC):			PKG=$(2)
 $$($(2)_TARGET_PATCH):			PKG=$(2)
-$$($(2)_TARGET_PATCH):			RAWNAME=$$(patsubst host-%,%,$(1))
 $$($(2)_TARGET_PATCH):			PKGDIR=$(pkgdir)
 $$($(2)_TARGET_EXTRACT):		PKG=$(2)
 $$($(2)_TARGET_SOURCE):			PKG=$(2)
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/3 package/pkg-generic.mk: drop PKGDIR variable for patch step

This was added in commit 604d261fb0 ("infra: remove variable FOO_DIR_PREFIX") to figure out where to find patches, but this was reworked in commit 99d4180eda ("package/pkg-generic.mk: factor out patch directories") to instead use <FOO>_PKGDIR, so drop it.

---
 package/pkg-generic.mk | 1 -
 1 file changed, 1 deletion(-)
package/pkg-generic.mk +0 -1
index f8ffaa21c7..c69bc96237 100644
@@ -1085,7 +1085,6 @@ $$($(2)_TARGET_CONFIGURE):		NAME=$(1)
 $$($(2)_TARGET_RSYNC):			SRCDIR=$$($(2)_OVERRIDE_SRCDIR)
 $$($(2)_TARGET_RSYNC):			PKG=$(2)
 $$($(2)_TARGET_PATCH):			PKG=$(2)
-$$($(2)_TARGET_PATCH):			PKGDIR=$(pkgdir)
 $$($(2)_TARGET_EXTRACT):		PKG=$(2)
 $$($(2)_TARGET_SOURCE):			PKG=$(2)
 $$($(2)_TARGET_SOURCE):			PKGDIR=$(pkgdir)
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH 2/3] package/pkg-generic.mk: drop PKGDIR variable for patch step

In reply of:

Quoted 6 lines

This was added in commit 604d261fb0 ("infra: remove variable FOO_DIR_PREFIX") to figure out where to find patches, but this was reworked in commit 99d4180eda ("package/pkg-generic.mk: factor out patch directories") to instead use <FOO>_PKGDIR, so drop it.

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 9 lines
---
 package/pkg-generic.mk | 1 -
 1 file changed, 1 deletion(-)
package/pkg-generic.mk +0 -0
index f8ffaa21c7..c69bc96237 100644

package/pkg-generic.mk $$($(2)_TARGET_CONFIGURE): NAME=$(1) · line 1090

Quoted 7 lines
package/pkg-generic.mk +0 -1
@@ -1085,7 +1085,6 @@ $$($(2)_TARGET_CONFIGURE):		NAME=$(1)
 $$($(2)_TARGET_RSYNC):			SRCDIR=$$($(2)_OVERRIDE_SRCDIR)
 $$($(2)_TARGET_RSYNC):			PKG=$(2)
 $$($(2)_TARGET_PATCH):			PKG=$(2)
-$$($(2)_TARGET_PATCH):			PKGDIR=$(pkgdir)
 $$($(2)_TARGET_EXTRACT):		PKG=$(2)
 $$($(2)_TARGET_SOURCE):			PKG=$(2)
 $$($(2)_TARGET_SOURCE):			PKGDIR=$(pkgdir)

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw

PATCH 3/3 package/pkg-generic.mk: drop PKGDIR variable for {, actual-}source step

In reply to Peter Korsgaard

This was added in commit 2d4fd5d358 ("pkg-infra: also set PKGDIR for the download step") for the DOWNLOAD macro, which was reworked in commit 155f752d8a ("core/download: do not hard-code the path to the package hash file") to instead use <FOO>_HASH_FILE, so drop it.

---
 package/pkg-generic.mk | 2 --
 1 file changed, 2 deletions(-)
package/pkg-generic.mk +0 -2
index c69bc96237..4e2ce2e7a0 100644
@@ -1087,9 +1087,7 @@ $$($(2)_TARGET_RSYNC):			PKG=$(2)
 $$($(2)_TARGET_PATCH):			PKG=$(2)
 $$($(2)_TARGET_EXTRACT):		PKG=$(2)
 $$($(2)_TARGET_SOURCE):			PKG=$(2)
-$$($(2)_TARGET_SOURCE):			PKGDIR=$(pkgdir)
 $$($(2)_TARGET_ACTUAL_SOURCE):		PKG=$(2)
-$$($(2)_TARGET_ACTUAL_SOURCE):		PKGDIR=$(pkgdir)
 $$($(2)_TARGET_DIRCLEAN):		PKG=$(2)
 $$($(2)_TARGET_DIRCLEAN):		NAME=$(1)
 
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

Re: [Buildroot] [PATCH 3/3] package/pkg-generic.mk: drop PKGDIR variable for {, actual-}source step

In reply of:

Quoted 6 lines

This was added in commit 2d4fd5d358 ("pkg-infra: also set PKGDIR for the download step") for the DOWNLOAD macro, which was reworked in commit 155f752d8a ("core/download: do not hard-code the path to the package hash file") to instead use <FOO>_HASH_FILE, so drop it.

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 9 lines
---
 package/pkg-generic.mk | 2 --
 1 file changed, 2 deletions(-)
package/pkg-generic.mk +0 -0
index c69bc96237..4e2ce2e7a0 100644

package/pkg-generic.mk $$($(2)_TARGET_RSYNC): PKG=$(2) · line 1093

Quoted 9 lines
package/pkg-generic.mk +0 -2
@@ -1087,9 +1087,7 @@ $$($(2)_TARGET_RSYNC):			PKG=$(2)
 $$($(2)_TARGET_PATCH):			PKG=$(2)
 $$($(2)_TARGET_EXTRACT):		PKG=$(2)
 $$($(2)_TARGET_SOURCE):			PKG=$(2)
-$$($(2)_TARGET_SOURCE):			PKGDIR=$(pkgdir)
 $$($(2)_TARGET_ACTUAL_SOURCE):		PKG=$(2)
-$$($(2)_TARGET_ACTUAL_SOURCE):		PKGDIR=$(pkgdir)
 $$($(2)_TARGET_DIRCLEAN):		PKG=$(2)
 $$($(2)_TARGET_DIRCLEAN):		NAME=$(1)
 

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#6 lore raw
Quoted 2 lines · Arnout Vandecappelle via buildroot

On Sat, 10 Oct 2026 16:37:04 +0200, Peter Korsgaard wrote:
${quote_head}

I'm experimenting with b4 and it's clearly not entirely ready yet :-)

Regards,
Arnout

Quoted 11 lines

Applied to master, thanks!

Regards,
Arnout
${quote_tail}

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#7 lore raw
In reply to Peter Korsgaard

In reply of:

Quoted 6 lines

This was added in commit 7a41cbf938 ("package: fix patching procedure for host packages") to figure out where to find patches, but this was reworked in commit 99d4180eda ("package/pkg-generic.mk: factor out patch directories") to instead use <FOO>_RAWNAME, so drop it.

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 9 lines
---
 package/pkg-generic.mk | 1 -
 1 file changed, 1 deletion(-)
package/pkg-generic.mk +0 -0
index 09d6e5b20b..f8ffaa21c7 100644

package/pkg-generic.mk $$($(2)_TARGET_CONFIGURE): NAME=$(1) · line 1090

Quoted 7 lines
package/pkg-generic.mk +0 -1
@@ -1085,7 +1085,6 @@ $$($(2)_TARGET_CONFIGURE):		NAME=$(1)
 $$($(2)_TARGET_RSYNC):			SRCDIR=$$($(2)_OVERRIDE_SRCDIR)
 $$($(2)_TARGET_RSYNC):			PKG=$(2)
 $$($(2)_TARGET_PATCH):			PKG=$(2)
-$$($(2)_TARGET_PATCH):			RAWNAME=$$(patsubst host-%,%,$(1))
 $$($(2)_TARGET_PATCH):			PKGDIR=$(pkgdir)
 $$($(2)_TARGET_EXTRACT):		PKG=$(2)
 $$($(2)_TARGET_SOURCE):			PKG=$(2)

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot