package/multipath-tools: fix path to kernel headers
PATCH 1/1 package/multipath-tools: fix path to kernel headers
With change 6b7d47be3b23 ("multipath-tools: Makefiles: simplify code for include dirs") the Makefile variable 'LINUX_HEADERS_INCDIR' has been replaced with 'kernel_incdir'.
fpin_handlers.c:355:32: note: each undeclared identifier is reported only once for each function it appears in fpin_handlers.c:360:37: error: ‘ELS_DTAG_LNK_INTEGRITY’ undeclared (first use in this function)
360 | if (dtag == ELS_DTAG_LNK_INTEGRITY) {
| ^~~~~~~~~~~~~~~~~~~~~~make[2]: *** [../Makefile.inc:116: fpin_handlers.o] Error 1
--- package/multipath-tools/multipath-tools.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/multipath-tools/multipath-tools.mk +1 -1
@@ -22,7 +22,7 @@ MULTIPATH_TOOLS_CPE_ID_VENDOR = opensvc MULTIPATH_TOOLS_DEPENDENCIES = lvm2 json-c readline udev liburcu libaio host-pkgconf MULTIPATH_TOOLS_MAKE_OPTS = \ - LINUX_HEADERS_INCDIR=$(STAGING_DIR)/usr/include \ + kernel_incdir=$(STAGING_DIR)/usr/include \ LIB="lib" \ RUN="run" \ OPTFLAGS="" \
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 8 lines · On Sat, 18 Feb 2023 09:29:43 +0000 Alexander Egorenkov…
With change
6b7d47be3b23("multipath-tools: Makefiles: simplify code for include dirs") theMakefilevariable 'LINUX_HEADERS_INCDIR' has been replaced with 'kernel_incdir'.fpin_handlers.c:355:32: note: each undeclared identifier is reported only once for each function it appears in fpin_handlers.c:360:37: error: ‘ELS_DTAG_LNK_INTEGRITY’ undeclared (first use in this function)
360 | if (dtag == ELS_DTAG_LNK_INTEGRITY) { | ^~~~~~~~~~~~~~~~~~~~~~
Quoted 7 lines
make[2]: *** [../Makefile.inc:116: fpin_handlers.o] Error 1
Signed-off-by Alexander Egorenkov <[email protected]>--- package/multipath-tools/multipath-tools.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot