Hello All,

With the latest cupcake merge, the make gives an error saying argument list too long. I tracked it down to build/core/tasks/localize.mk. The first foreach seems to be wrong. The $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_PACKAGES) this expands to all controllers like AlarmController, CalenderController and so on and $(PACKAGES) expands to all the packages.

This would in normal case expand to a huge number. To replicate the problem, I created a small makefile as follows:

foo := a b c d
foo1 := a1 b1 c1 d1
foo2 := "something"
files := $(foreach p, $(foo), $(foo2.$(p)) )
bar := $(shell echo $(foo) >&2)
bar := $(shell echo $(foo1) >&2)
bar := $(shell echo $(files) >&2)

When running this makefile, $files expands to an empty list while it should be something.a something.b something.c something.d according to the manual. I would appreciate any help in solving this isse.

Thanks,
Vaidhy
begin:vcard
fn:Vaidhyanathan Mayilrangam Gopalan
n:Mayilrangam Gopalan;Vaidhyanathan
org:Svapas Innovations
email;internet:[email protected]
title:CTO
tel;work:+91 44 22238717
tel;cell:+91 9790911996
note:Skype: vaidhy
x-mozilla-html:FALSE
version:2.1
end:vcard

_______________________________________________
android-freerunner mailing list
[email protected]
http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org

Reply via email to