aircrack-ng: disable on non-MMU systems
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 9 Mar 2013 08:21:26 +0000 (08:21 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 9 Mar 2013 20:07:56 +0000 (21:07 +0100)
aircrack-ng uses fork() and therefore fails to build on non-MMU
systems:

aircrack-ng.o: In function `_clean_exit':
aircrack-ng.c:(.text+0x555c): undefined reference to `_fork'
collect2: ld returned 1 exit status

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/aircrack-ng/Config.in

index 419f991efd89b10e28218799dad173a0899353df..319b7c40b5024c47d012db1f4e5464342c356216 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_AIRCRACK_NG
        bool "aircrack-ng"
        depends on BR2_LARGEFILE
+       depends on BR2_USE_MMU # uses fork()
        select BR2_PACKAGE_OPENSSL
        select BR2_PACKAGE_IW # runtime
        help