Revert "keepalived: needs headers >= 3.4"
authorVadym Kochan <vadym.kochan@plvision.eu>
Sun, 1 Nov 2020 23:48:10 +0000 (01:48 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 3 Nov 2020 22:44:20 +0000 (23:44 +0100)
This reverts commit d01b0bbad04b97a5e8e1dd3ac3c1026555f793fb.

Original commit  made restriction for Linux headers < 3.4 which was
related to keepalived version 1.3.5, but it compiles fine now at least
with a toolchain based on 3.2 headers and keepalived 2.0.15 together
with ipset enabled.

Probably it was fixed by this commit:

    https://github.com/acassen/keepalived/commit/5a7f895bb795269f79e6353c6269dfbc0b782281

Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/keepalived/Config.in

index c71821545c0668cf6213e637ec6f41f5ef12d87e..2a0663fed064dc00eda1bf38e5af0fcfab57e593 100644 (file)
@@ -2,7 +2,6 @@ config BR2_PACKAGE_KEEPALIVED
        bool "keepalived"
        depends on BR2_USE_MMU
        depends on !BR2_STATIC_LIBS # uses libdl
-       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
        select BR2_PACKAGE_OPENSSL
        help
          The main goal of the keepalived project is to add a strong &
@@ -15,6 +14,6 @@ config BR2_PACKAGE_KEEPALIVED
 
          http://www.keepalived.org/
 
-comment "keepalived needs a toolchain w/ dynamic library, headers >= 3.4"
+comment "keepalived needs a toolchain w/ dynamic library"
        depends on BR2_USE_MMU
-       depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
+       depends on BR2_STATIC_LIBS