feat(eclass/cros-kernel2.eclass): add the bridge feature

with the bridge use flag we will compile in network bridging support.
This commit is contained in:
Brandon Philips 2013-04-04 13:18:29 -07:00
parent 622d9c77b5
commit edcb8a79bc

View File

@ -30,6 +30,7 @@ STRIP_MASK="/usr/lib/debug/boot/vmlinux"
CONFIG_FRAGMENTS=(
aufs
bridge
blkdevram
cifs
debug
@ -51,6 +52,11 @@ aufs_config="
CONFIG_AUFS_FS=y
"
bridge_desc="bridge"
bridge_config="
CONFIG_BRIDGE=y
"
blkdevram_desc="ram block device"
blkdevram_config="
CONFIG_BLK_DEV_RAM=y
@ -180,9 +186,6 @@ CONFIG_DEBUG_INFO=y
# Add all config fragments as off by default
IUSE="${IUSE} ${CONFIG_FRAGMENTS[@]}"
# CoreOS always wants aufs... for now
IUSE="${IUSE} +aufs"
REQUIRED_USE="
initramfs? ( !netboot_ramfs )
netboot_ramfs? ( !initramfs )