Fix the following build failure raised since the addition of the package
in commit 8fdf8731e7
:
mdio.c: In function 'mdio_modprobe':
mdio.c:738:15: error: implicit declaration of function 'fork' [-Werror=implicit-function-declaration]
738 | pid = fork();
| ^~~~
Fixes:
- http://autobuild.buildroot.org/results/c53aaeaa34dd4d6d9a57da196687beecaeed9fe2
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
18 lines
501 B
Plaintext
18 lines
501 B
Plaintext
comment "mdio-tools needs a Linux kernel to be built"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_LINUX_KERNEL
|
|
|
|
comment "mdio-tools needs a toolchain w/ headers >= 5.1"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_LINUX_KERNEL
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
|
|
|
|
config BR2_PACKAGE_MDIO_TOOLS
|
|
bool "mdio-tools"
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on BR2_LINUX_KERNEL
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
|
|
select BR2_PACKAGE_LIBMNL
|
|
help
|
|
Low-level debug tools for MDIO devices
|