xfsprogs: depends on MMU
authorJérôme Pouiller <jezz@sysmic.org>
Fri, 12 Sep 2014 15:50:07 +0000 (17:50 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 12 Sep 2014 21:18:20 +0000 (23:18 +0200)
Fixes http://sysmic.org/~jezz/results/17f32103:

xfs_fsr.o: In function `fsrallfs':
/home/jezz/br-continuous/cfgs/45-bf609-bfin-uclibc-nommu-ext/build/xfsprogs-3.1.11/fsr/xfs_fsr.c:617: undefined reference to `_fork'
collect2: ld returned 1 exit status

madvise.o: In function `madvise_f':
/home/jezz/br-continuous/cfgs/45-bf609-bfin-uclibc-nommu-ext/build/xfsprogs-3.1.11/io/madvise.c:111: undefined reference to `_madvise'
mincore.o: In function `mincore_f':
/home/jezz/br-continuous/cfgs/45-bf609-bfin-uclibc-nommu-ext/build/xfsprogs-3.1.11/io/mincore.c:77: undefined reference to `_mincore'
collect2: ld returned 1 exit status

[Peter: don't mention mmu dependency in comment]
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/xfsprogs/Config.in

index 3a31dd29287ed5c4dc60bcf8760b716b2ab81001..6f02c97135ca284cab68a56024389ebd7839d583 100644 (file)
@@ -3,10 +3,12 @@ comment "Note that xfsprogs needs a toolchain with UCLIBC_SV4_DEPRECATED and UCL
        depends on BR2_PACKAGE_XFSPROGS
 
 comment "xfsprogs needs a toolchain w/ largefile, wchar"
+       depends on BR2_USE_MMU
        depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
 
 config BR2_PACKAGE_XFSPROGS
        bool "xfsprogs"
+       depends on BR2_USE_MMU # fork()
        depends on BR2_LARGEFILE
        depends on BR2_USE_WCHAR # util-linux
        select BR2_PACKAGE_UTIL_LINUX