Hello Thomas,

Such dependency  is possible, you can have a look at how freeradius handles 
it : https://dev.openwrt.org/browser/packages/net/freeradius/Makefile

This package is divided into several modules, each of these module have custom 
dependencies, and passes arguments.

Some other packages also check the SDK, including, this might be closer to 
your question.

I hope this answers your question ?

Le jeudi 2 août 2007, [EMAIL PROTECTED] a écrit :
> Hi,
>
> I have a question regarding the build system and the dependencies
> (Kamikaze 7.07):
>
> Is it possible to dynamical (re-)define the build dependencies?
> I know about PKG_BUILD_DEPENDS, but I want to do something like:
>
> ifdef CONFIG_option_X
> PKG_BUILD_DEPENDS+=my-package-Y
> endif
>
> Is it possible to trigger such a behaviour, maybe via some other
> definitions in my Makefile?
>
> Thanks for your help,
> Thomas
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



-- 
Cordialement, Florian Fainelli
------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to