mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/mdio-tools: needs fork
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>
This commit is contained in:
committed by
Yann E. MORIN
parent
0910ada70b
commit
a0d1c6288a
@@ -1,12 +1,15 @@
|
|||||||
comment "mdio-tools needs a Linux kernel to be built"
|
comment "mdio-tools needs a Linux kernel to be built"
|
||||||
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_LINUX_KERNEL
|
depends on !BR2_LINUX_KERNEL
|
||||||
|
|
||||||
comment "mdio-tools needs a toolchain w/ headers >= 5.1"
|
comment "mdio-tools needs a toolchain w/ headers >= 5.1"
|
||||||
|
depends on BR2_USE_MMU
|
||||||
depends on BR2_LINUX_KERNEL
|
depends on BR2_LINUX_KERNEL
|
||||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
|
||||||
|
|
||||||
config BR2_PACKAGE_MDIO_TOOLS
|
config BR2_PACKAGE_MDIO_TOOLS
|
||||||
bool "mdio-tools"
|
bool "mdio-tools"
|
||||||
|
depends on BR2_USE_MMU # fork()
|
||||||
depends on BR2_LINUX_KERNEL
|
depends on BR2_LINUX_KERNEL
|
||||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
|
||||||
select BR2_PACKAGE_LIBMNL
|
select BR2_PACKAGE_LIBMNL
|
||||||
|
|||||||
Reference in New Issue
Block a user