This is very useful, thank you mirko. Should I include depends on things like libc? I notice there is a variable called PKG_BUILD_DEPENDS. I've seen it used for host-side compilation of the same package. A package I'm working on also needs bison and flex and build-time dependencies. Is it appropriate to put those in PKG_BUILD_DEPENDS?
-Alan On Thu, Oct 07, 2010 at 03:56:20PM +0200, Mirko Vogt wrote: > Hey Alan, > > let's imagine we have a Makefile/port/package called <foo>, and the > following within the respective Makefile: > > DEPENDS:=bar # package <foo> will be only selectable, if <bar> is > selected > > DEPENDS:=+bar # <foo> will be always selectable and - if selected - is > going to select <bar> automatically as dependency > > Greetings > > mirko > > > On Mon, 2010-10-04 at 15:05 -0600, Alan Post wrote: > > coi ro do, > > > > Last month I purchased a Ben NanoNote and began working on porting > > packages and understanding how OpenWrt works. > > > > I have commit access to qi-hardware's repository, but this > > repository mostly serves to track OpenWrt's backfire and trunk > > branches. > > > > I have a question about packages and dependencies in OpenWrt, based > > on what I have observed. > > > > I see that a package may list what it depends on. I don't think > > this dependency is checked if you enable a package in make > > menuconfig. If you enable a package but don't enable the > > dependencies, the package will be skipped. > > > > Is this true? I still feel like I'm getting myself oriented in > > using OpenWrt, so please excuse what may be a basic question.=20 > > > > Thank you, > > > > -Alan > > > > -- > This email address is used for mailinglist purposes only. > Non-mailinglist emails will be dropped automatically. > If you want to get in contact with me personally, please mail to: > mirko.vogt <at> nanl <dot> de > > _______________________________________________ > openwrt-devel mailing list > [email protected] > https://lists.openwrt.org/mailman/listinfo/openwrt-devel -- .i ko djuno fi le do sevzi _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
