Re: [OpenWrt-Devel] Makefile: problem with configurable library dependency

2012-01-08 Thread Jan Chybiak
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jow, With the bool depends option I meant the option itself only to be displayed if mylib was selected to be built. That indeed created a recursive dependency. After some trial-and-error I finally was able to realize the desired configuration by

Re: [OpenWrt-Devel] Makefile: problem with configurable library dependency

2012-01-06 Thread Jan Chybiak
? Cheers, jan Am 06.01.2012 21:43, schrieb Jan Chybiak: > > Hi Jo-Philipp, > > thanks for the reply. Unfortunately that does not work either. The result is the same as with omitting the + sign. > The package gets built but the dependency is not passed on to opkg therefore still

Re: [OpenWrt-Devel] Makefile: problem with configurable library dependency

2012-01-06 Thread Jan Chybiak
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jo-Philipp, thanks for the reply. Unfortunately that does not work either. The result is the same as with omitting the + sign. The package gets built but the dependency is not passed on to opkg therefore still installing the package without the n

[OpenWrt-Devel] Makefile: problem with configurable library dependency

2012-01-05 Thread Jan Chybiak
Hello, I have a problem defining a library dependency in the Makefile of a project. - First of all I defined a Config.in file like so: config MYPACKAGE_USES_LIBRARY bool "Use library" depends PACKAGE_mypackage && PACKAGE_mylib default n help bla... - included it in the Mak