ndisc6: needs mmu
authorAxel Lin <axel.lin@ingics.com>
Sat, 5 Oct 2013 09:07:09 +0000 (17:07 +0800)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 5 Oct 2013 19:11:29 +0000 (21:11 +0200)
Fix below build error if !BR2_USE_MMU:

tcpspray.o: In function `tcpspray':
tcpspray.c:(.text+0x4a8): undefined reference to `fork'
collect2: ld returned 1 exit status
make[3]: *** [tcpspray] Error 1

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ndisc6/Config.in

index 6abe4ce2ea8dbbb4f6df9d4063443e5d4e9e5f5c..095b2e8174d7eb314a86deaaab21875ae697ea68 100644 (file)
@@ -4,6 +4,7 @@ comment "ndisc6 requires a toolchain with IPv6 support"
 config BR2_PACKAGE_NDISC6
        bool "ndisc6 tools"
        depends on BR2_INET_IPV6
+       depends on BR2_USE_MMU # fork()
        select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
        help
          NDisc6 is a small collection of useful tools for IPv6 networking