package/radvd: drop dependency on flex runtime library
authorAlexander Mukhin <alexander.i.mukhin@gmail.com>
Fri, 20 Mar 2020 10:07:20 +0000 (13:07 +0300)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 20 Mar 2020 21:10:45 +0000 (22:10 +0100)
Radvd has its own main(), and does not use yywrap() from libfl.so,
because scanner.l module contains noyywrap option. So, none of the
functions exported by libfl.so are used, and there's no need to have
the flex runtime on target.

Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/radvd/Config.in
package/radvd/radvd.mk

index fa5a20c4c1db2d1ab7f262ac49fa175aaf4807a5..f1df0c3cb81c322d6f4a1c98b82527580bd5b49d 100644 (file)
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_RADVD
        bool "radvd"
        depends on BR2_USE_MMU # fork()
-       select BR2_PACKAGE_FLEX
        help
          IPv6 Router Advertisement Daemon.
 
index 3358264f18f33ee4049f234683f246dd9020d2f8..ba0c78bd1ed37130b7deaf45c8e0a3b63c7c2166 100644 (file)
@@ -6,7 +6,7 @@
 
 RADVD_VERSION = 2.18
 RADVD_SITE = http://www.litech.org/radvd/dist
-RADVD_DEPENDENCIES = host-bison flex host-flex host-pkgconf
+RADVD_DEPENDENCIES = host-bison host-flex host-pkgconf
 # We need to ignore <linux/if_arp.h>, because radvd already includes
 # <net/if_arp.h>, which conflicts with <linux/if_arp.h>.
 RADVD_CONF_ENV = \