imx-uuc: uses fork(), needs MMU
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 19 Aug 2016 20:20:30 +0000 (22:20 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 19 Aug 2016 20:20:30 +0000 (22:20 +0200)
The imx-uuc source code uses fork(), so it can only be compiled and used
on MMU-capable platforms. This commit adds the necessary Config.in
dependencies to express this.

Fixes:

  http://autobuild.buildroot.net/results/41602c20d4e6a833e72b507792a28b8db74a5f53/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/freescale-imx/imx-uuc/Config.in

index d18157540e0cc65ca417d67f3ebfb963761ea72c..ed734ad7e22fb0a994ee368134ae68c67b399673 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_IMX_UUC
        bool "imx-uuc"
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_arm # Only relevant for i.MX
+       depends on BR2_USE_MMU # fork()
        select BR2_PACKAGE_HOST_DOSFSTOOLS
        help
          This package provides the Universal Adapter user-space
@@ -16,4 +17,5 @@ config BR2_PACKAGE_IMX_UUC
 
 comment "imx-uuc needs a toolchain w/ threads"
        depends on BR2_arm
+       depends on BR2_USE_MMU
        depends on !BR2_TOOLCHAIN_HAS_THREADS