mtd: integck needs MMU support
authorRahul Bedarkar <rahul.bedarkar@imgtec.com>
Wed, 10 Aug 2016 16:38:37 +0000 (22:08 +0530)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 11 Aug 2016 13:01:16 +0000 (15:01 +0200)
After fixing build issue related to MS_DIRSYNC and MS_RELATIME, we get
following build error with blackfin external toolchain.

fstest_monitor.c: In function 'main':
fstest_monitor.c:237: warning: implicit declaration of function 'fork'
/tmp/ccCzZIuW.o: In function 'main':
/home/rahul.bedarkar/buildroot/output/build/mtd-1.5.2/tests/fs-tests/utils/fstest_monitor.c:237: undefined reference to '_fork'
collect2: ld returned 1 exit status
make[2]: *** [fstest_monitor] Error 1

Since it uses fork(), add dependency on MMU support for integck.

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mtd/Config.in

index eef812909a244c4a799dd395cbff8f99296ac989..8be5eff551d17a297e2f52bb8a0e5e693696ed97 100644 (file)
@@ -161,6 +161,7 @@ config BR2_PACKAGE_MTD_UBIBLOCK
 
 config BR2_PACKAGE_MTD_INTEGCK
        bool "integck"
+       depends on BR2_USE_MMU # fork()
        help
          Install the integck test program.