Hi,
>
> I don't like patterns like this, because it silently fails if there is a
> typo. And we know, that this is only needed for 6.18 or later. And all
> 6.x versions install this file. So maybe wrap it with:
>
> ifeq ($(KERNEL_VERSION_MAJOR),6)
> ...
> endif
>
> Michael
>
In this case the patch is much simpler:
-- /usr/local/lib/ptxdist-2026.01.0/rules/kernel.make 2025-12-12
09:44:06.000000000 +0100
+++ kernel.make 2026-01-13 10:36:36.840222985 +0100
@@ -285,8 +285,10 @@
@$(call targetinfo)
ifdef PTXCONF_KERNEL_MODULES_INSTALL
@$(call world/install, KERNEL)
+ifeq ($(KERNEL_VERSION_MAJOR),6)
@chmod -x $(KERNEL_PKGDIR)/lib/modules/*/modules.builtin.modinfo
endif
+endif
@$(call world/dtb, KERNEL)
@$(call world/dtbo, KERNEL)
@$(call touch)
Ín my case I tested it successfully, and I think it would be nice to have
it included in the future.
Best regards,
Ruggero