buildroot/package/ebtables/Config.in
David Owens 8d95e3db83 package/ebtables: add option to install save/restore utils
This patch adds an option to include the tools on target that allow
the saving and restoring of ebtables. The upstream save utility is
replaced in this commit as it depended on perl which is not always
possible on an embedded system. The commit used to replace this
script seems to note it as a common approach across a few distros.

Signed-off-by: David Owens <david.owens@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-12-22 22:25:58 +01:00

27 lines
571 B
Plaintext

config BR2_PACKAGE_EBTABLES
bool "ebtables"
depends on BR2_USE_MMU # fork()
help
Ethernet bridge frame table administration
http://ebtables.netfilter.org/
if BR2_PACKAGE_EBTABLES
config BR2_PACKAGE_EBTABLES_UTILS_SAVE
bool "ebtables save"
depends on BR2_PACKAGE_BASH # runtime
help
Install the ebtables-save tool
config BR2_PACKAGE_EBTABLES_UTILS_RESTORE
bool "ebtables restore"
depends on !BR2_STATIC_LIBS
help
Install the ebtables-restore tool
comment "ebtables-restore needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
endif