[Buildroot] [PATCH 2/2] pkg-stats: fix proper identification of package infrastructure

Peter Korsgaard jacmet at uclibc.org
Wed Sep 11 11:06:07 UTC 2013


>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin at gmail.com> writes:

 Thomas> Hi,
 Thomas> On Wed, Sep 11, 2013 at 11:12 AM, Jerzy Grzegorek
 Thomas> <jerzy.grzegorek at trzebnica.net> wrote:
 >> Typically each package invokes the macro which generates the Makefile code, in the way
 >> like this: e.g. $(eval $(generic-package)) or $(eval $(autotools-package)) ,
 >> but a few packages have to invoke this macro in other way:
 >> $(eval $(call generic-package)) e.g. dhcpcd.mk
 >> $(eval $(call autotools-package)) e.g. wireshark.mk .

 Thomas> I rather think that the 'call' is an accident. Arnout removed the need
 Thomas> for the extra $(call) in July 2012, with commit
 Thomas> e1502ebc0c92763896c53d405ee9c7c7a1a33e24, and both dhcpcd and
 Thomas> wireshark were added after that time. So I think this has been missed
 Thomas> during code review.

 Thomas> A quick search shows only three packages with a remaining $(eval
 Thomas> $(call)) construct: dhcpcd, wireshark, jquery-keyboard.
 Thomas> So I'd rather fix those packages...

Agreed, I've fixed those in git now.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list