[OpenWrt-Devel] Make package foo conflict with /replace package bar

edgar.soldin at web.de edgar.soldin at web.de
Sun Jun 12 12:11:33 CEST 2011


On 12.06.2011 10:59, edgar.soldin at web.de wrote:
> On 10.06.2011 08:43, harish badrinath wrote:
>> Hello,
>> If i have a package called foo, How do it specify in its Makefile
>> (package/foo/Makefile) that it conflicts with / replaces a package
>> called bar. When that happens the compilation is aborted until package
>> bar is deselected.
>>
>>
> 
> try what phillip suggested, but know that the result wont be a compilation error. instead the package will not be available in menuconfig (as long as the conflicting package is selected) or deselected during build because of that rule and hence skipped.
> 
> conflicting packages usually do the same differently. did you consider creating a package with options?
> 

check
http://wiki.openwrt.org/doc/devel/packages#adding.configuration.options

..ede


More information about the openwrt-devel mailing list