newer kernels (3.7) split user side headers

should fix: https://dev.openwrt.org/ticket/12875

Should the patch be compatible with older kernels too?
(see https://dev.openwrt.org/ticket/12875#comment:6 )

Signed-off-by: Dirk Neukirchen <dirkneukirc...@web.de>
---
 net/keepalived/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/keepalived/Makefile b/net/keepalived/Makefile
index d7396b2..b7ac46a 100644
--- a/net/keepalived/Makefile
+++ b/net/keepalived/Makefile
@@ -43,7 +43,7 @@ CONFIGURE_ARGS+= \
        --disable-strip \
        --disable-lvs \
        --disable-lvs-syncd \
-       --with-kernel-dir="$(LINUX_DIR)"
+       --with-kernel-dir="$(LINUX_DIR)/$(LINUX_UAPI_DIR)"
 
 CONFIGURE_VARS+= \
        ac_cv_file_$(call acvar,$(LINUX_DIR)/net/core/link_watch.c)=yes
-- 
1.8.4.3

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to