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
_______________________________________________
android-freerunner mailing list
[email protected]
http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org