Config.in.legacy: fix consistency warning on pthread-stubs option
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 29 Apr 2013 10:29:34 +0000 (10:29 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 29 Apr 2013 20:57:09 +0000 (22:57 +0200)
The old BR2_PACKAGE_PTHREAD_STUBS option (kept for legacy support) now
selects the BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS option, but this creates
a consistency warning from kconfig, because the new option has
BR2_PACKAGE_XORG7 as a dependency.

Since the old option also had BR2_PACKAGE_XORG7 has a dependency, we
make the legacy config option depend on BR2_PACKAGE_XORG7 to avoid
this warning.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Config.in.legacy

index 5165138581c2f8fd0a1293f4681c22464153f5a0..fc9f68f24860c5d4888f4059ed6aca0c745ec60e 100644 (file)
@@ -140,6 +140,7 @@ config BR2_PACKAGE_PTHREAD_STUBS
        bool "pthread-stubs option has been renamed"
        select BR2_LEGACY
        select BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS
+       depends on BR2_PACKAGE_XORG7
        help
          For consistency reason, the pthread-stubs package has been
          renamed to xlib_libpthread-stubs.