Skip to contentSkip to conversation

package/kmsxx: fix meson build directory for extra tools

PATCH Applied Heiko Thiery 3 participants 3 messages May 22, 2025 – Jun 12, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/kmsxx: fix meson build directory for extra tools

Commit 4e95062f8 ("package/pkg-meson: use buildroot-build for build directory") changed the build directory for meson packages to 'buildroot-build'. Thus accessing the build directory for installing the extra utils needs to be adopted to this directory. Otherwise the install will fail when BR2_PACKAGE_KMSXX_INSTALL_TESTS is enabled.

---
 package/kmsxx/kmsxx.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/kmsxx/kmsxx.mk +1 -1
index 8ebdffaad1..f65cc668d4 100644
@@ -30,7 +30,7 @@ KMSXX_EXTRA_UTILS += kmstouch
 endif
 define KMSXX_INSTALL_EXTRA_UTILS
 	$(foreach t,$(KMSXX_EXTRA_UTILS),\
-		$(INSTALL) -D -m 0755 $(@D)/build/utils/$(t) \
+		$(INSTALL) -D -m 0755 $(@D)/buildroot-build/utils/$(t) \
 			$(TARGET_DIR)/usr/bin/$(t)
 	)
 endef
Signature · 6 lines
2.39.5

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

"Heiko" == Heiko Thiery <[email protected]> writes:

Commit 4e95062f8 ("package/pkg-meson: use buildroot-build for build directory") changed the build directory for meson packages to 'buildroot-build'. Thus accessing the build directory for installing the extra utils needs to be adopted to this directory. Otherwise the install will fail when BR2_PACKAGE_KMSXX_INSTALL_TESTS is enabled.

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Heiko Thiery
Quoted 7 lines · Heiko Thiery

Commit 4e95062f8 ("package/pkg-meson: use buildroot-build for build directory") changed the build directory for meson packages to 'buildroot-build'. Thus accessing the build directory for installing the extra utils needs to be adopted to this directory. Otherwise the install will fail when BR2_PACKAGE_KMSXX_INSTALL_TESTS is enabled.

Applied to 2025.02.x, thanks.

Regards,
Arnout

Quoted 9 lines
---
  package/kmsxx/kmsxx.mk | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
package/kmsxx/kmsxx.mk +0 -0
index 8ebdffaad1..f65cc668d4 100644

package/kmsxx/kmsxx.mk KMSXX_EXTRA_UTILS += kmstouch · line 36

Quoted 8 lines
package/kmsxx/kmsxx.mk +1 -1
@@ -30,7 +30,7 @@ KMSXX_EXTRA_UTILS += kmstouch
  endif
  define KMSXX_INSTALL_EXTRA_UTILS
  	$(foreach t,$(KMSXX_EXTRA_UTILS),\
-		$(INSTALL) -D -m 0755 $(@D)/build/utils/$(t) \
+		$(INSTALL) -D -m 0755 $(@D)/buildroot-build/utils/$(t) \
  			$(TARGET_DIR)/usr/bin/$(t)
  	)
  endef

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