package/gptfdisk: propagate ncurses reverse dependency
authorRomain Naour <romain.naour@openwide.fr>
Tue, 26 May 2015 19:33:21 +0000 (21:33 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 27 May 2015 11:40:18 +0000 (13:40 +0200)
gptfdisk cgdisk select nucurses wchar support which is disabled
on bfin with FLAT binary format.

Add the ncurses's reverse dependency to gptfdisk.

Fixes:
http://autobuild.buildroot.net/results/ce3/ce35c072f0b7c3a7a1918cb865a2eecbba8a1b23/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gptfdisk/Config.in

index 61692f6bb1afcb1d2743291c44d9dbdad57500bc..befdf777156cabc014910a38356b99c38c84cb37 100644 (file)
@@ -38,6 +38,7 @@ config BR2_PACKAGE_GPTFDISK_CGDISK
        bool "ncurses cgdisk"
        select BR2_PACKAGE_NCURSES
        select BR2_PACKAGE_NCURSES_WCHAR # needed because of UTF-16
+       depends on !(BR2_bfin && BR2_BINFMT_FLAT) # ncurses wchar support
        help
          Install the ncurses-based GUID partition table (GPT)
          manipulator /usr/sbin/cgdisk.