Re: [OpenWrt-Devel] [PATCH] silence error when package has no patches

2010-10-09 Thread Alan Post
On Sat, Oct 09, 2010 at 02:35:45AM -0300, Werner Almesberger wrote: > Alan Post wrote: > > - @if [ -d "$(2)" -a "(ls $(2) | wc -l)" -gt 0 ]; then \ > > + @if [ -d "$(2)" -a "(ls $(2) 2>/dev/null | wc -l)" -gt 0 ]; then \

Re: [OpenWrt-Devel] [PATCH] silence error when package has no patches

2010-10-08 Thread Alan Post
On Fri, Oct 08, 2010 at 10:57:26PM -0600, Alan Post wrote: > I got this patch backwards, here is the correct patch: > > <++> nopatches.diff > diff --git a/include/quilt.mk b/include/quilt.mk > index 6c4839b..598c6f8 100644 > --- a/include/quilt.mk > +++ b/includ

Re: [OpenWrt-Devel] [PATCH] silence error when package has no patches

2010-10-08 Thread Alan Post
On Fri, Oct 08, 2010 at 10:45:37PM -0600, Alan Post wrote: > My name is Alan Post. I'm a developer for the NanoNote, which uses > OpenWrt. > > I've ported a package that does not need any patches, so I excluded > the patches directory. This resulted in an error from ls

[OpenWrt-Devel] make error: overriding commands for target XXX

2010-10-08 Thread Alan Post
I've created a package for OpenWrt that downloads five separate files: http://projects.qi-hardware.com/index.php/p/openwrt-packages/source/tree/master/lojban-wordlists/Makefile I've defined Download/* actions for each of these files. Everything is working fine, but I get a strange error: m

[OpenWrt-Devel] [PATCH] silence error when package has no patches

2010-10-08 Thread Alan Post
My name is Alan Post. I'm a developer for the NanoNote, which uses OpenWrt. I've ported a package that does not need any patches, so I excluded the patches directory. This resulted in an error from ls during make: ls: cannot access ./patches: No such file or directory Here is the

Re: [OpenWrt-Devel] Question about package dependencies

2010-10-07 Thread Alan Post
will be only selectable, if is > selected > > DEPENDS:=+bar # will be always selectable and - if selected - is > going to select automatically as dependency > > Greetings > > mirko > > > On Mon, 2010-10-04 at 15:05 -0600, Alan Post wrote: > > coi ro

[OpenWrt-Devel] Question about package dependencies

2010-10-04 Thread Alan Post
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 dep