-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Looking again at your Kconfig snippet, the depends do not make sense to
me. The bool option which ultimatively is supposed to select mylib
depends itself at mylib. This looks like a recursive dependency to me
and it does not surprise me that it does not work as expected. Are you
sure you didn't mean something like the snippet below?

config MYPACKAGE_USES_LIBRARY
    bool "Use library"
    depends PACKAGE_mypackage
    selects PACKAGE_mylib
    default n
    help
      bla...

Actually the select would be redundant as well since
"DEPENDS:=+MYPACKAGE_USES_LIBRARY:mylib" would inject the required
selects by default.

In order to debug the final Kconfig code I also suggest to examine the
output of

./scripts/metadata.pl package_config tmp/.packageinfo

~ Jow
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8IVBoACgkQdputYINPTPPfGgCdGRllt8HzKQRq5q8DHXRMXHyu
rqoAn3slduym/HH+tM6m7eez7lO+kiDP
=J9pN
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to