package/tar: Depends on MMU
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 9 Aug 2014 13:28:39 +0000 (15:28 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 15 Aug 2014 17:16:11 +0000 (19:16 +0200)
Fixes
misc.o: In function `_xfork':
misc.c:(.text+0x614): undefined reference to `_fork'
../lib/libtar.a(rtapelib.o): In function `_rmt_open__':
rtapelib.c:(.text+0x6d2): undefined reference to `_fork'

To reproduce use this defconfig
http://autobuild.buildroot.net/results/8d5/8d5ad404fab7ec2a501972ba9c08b0109e420b80/defconfig

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/tar/Config.in

index 06a58250e752d994b44ccf864f32b6e1f31deb29..74b0219919ca2f22b9aa102e619b818ef9d7b584 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_TAR
        bool "tar"
        depends on BR2_USE_WCHAR
+       depends on BR2_USE_MMU # fork()
        help
          A program that saves many files together into a single tape or disk
          archive, and can restore individual files from the archive.