samples: posix: eventfd: Use NET_TEST config

NET_TEST is the approprite config for networking tests that do not
require a network device. This has the same effect of disabling
NET_SLIP_TAP, but also disables other network devices. This is required
to disable e1000 Ethernet driver on the qemu_cortex_a53 board.

Signed-off-by: Grant Ramsay <gramsay@enphaseenergy.com>
This commit is contained in:
Grant Ramsay 2023-08-10 13:27:47 +12:00 committed by Carles Cufí
parent 7670ae4c68
commit 47ca788185

View file

@ -6,5 +6,5 @@ CONFIG_EVENTFD=y
# eventfd() implementation currently depends on some networking APIs,
# so provide reasonable defaults so it can be built.
CONFIG_NETWORKING=y
CONFIG_NET_SLIP_TAP=n
CONFIG_NET_TEST=y
CONFIG_TEST_RANDOM_GENERATOR=y