[Droid Eris Android Development] icbeer:
OK, had to make a few adjustments to the script to get it to go, but Gingerbread has been building now for like 15 minutes. Still a long ways to go, but I'm cheering it on now. Go, go, go...

---

Still going after another hour...

---

After about 4 1/2 hours I finally built a generic version of gingerbread, now I got my work cut out for me to get a proper product build.

---

OK, I had to make some changes in Conap's device and Vendor tree and some stuff still needs more work, like I need to get a Build Fingerprint for the market. But that's a secondary concern right not. Gingerbread didn't have a make file for the armv6j processor so I had to add one at build/core/combo/arch/arm/arm6j.mk. Looks like it's building the kernel right now. I was pretty skeptical about this at first, but it looks like I might actually be able to generate a gingerbread build. Still crossing my fingers.

---

This error is getting really old:

build/core/base_rules.mk:74: *** Module name: libCustomWifi

build/core/base_rules.mk:75: *** Makefile location: system/wlan/ti/sta_dk_4_0_4_32/wpa_supplicant_lib

build/core/base_rules.mk:76: *

build/core/base_rules.mk:77: * Each module must use a LOCAL_MODULE_TAGS in its

build/core/base_rules.mk:78: * Android.mk. Possible tags declared by a module:

build/core/base_rules.mk:79: *

build/core/base_rules.mk:80: * optional, debug, eng, tests, samples

build/core/base_rules.mk:81: *

build/core/base_rules.mk:82: * If the module is expected to be in all builds

build/core/base_rules.mk:83: * of a product, then it should use the

build/core/base_rules.mk:84: * "optional" tag:

build/core/base_rules.mk:85: *

build/core/base_rules.mk:86: * Add "LOCAL_MODULE_TAGS := optional" in the

build/core/base_rules.mk:87: * Android.mk for the affected module, and add

build/core/base_rules.mk:88: * the LOCAL_MODULE value for that component

build/core/base_rules.mk:89: * into the PRODUCT_PACKAGES section of product

build/core/base_rules.mk:90: * makefile(s) where it's necessary, if

build/core/base_rules.mk:91: * appropriate.

build/core/base_rules.mk:92: *

build/core/base_rules.mk:93: * If the component should be in EVERY build of ALL

build/core/base_rules.mk:94: * products, then add its LOCAL_MODULE value to the

build/core/base_rules.mk:95: * PRODUCT_PACKAGES section of

build/core/base_rules.mk:96: * build/target/product/core.mk

build/core/base_rules.mk:97: *

build/core/base_rules.mk:98: *** user tag detected on new module - user tags are only supported on legacy modules. Stop.

This error seems to happen for a bunch of the legacy modules that either do not have an entry or have "LOCAL_MODULE_TAGS := user" defined in the Android.mk files. You have to change it to LOCAL_MODULES_TAGS := optional to get through the error. Sucky thing is that it happens on several files. I'm tempted to just modify the code from base_rules.mk. For now I think I will just change the individual make files unless this keeps going on a lot longer. I think I may have to eliminate the prompts in this build script. The prompts are driving me crazy. Either that or move all the prompting to the beginning of the script.

---

OK looks like the compiler's finally rolling. Maybe I'll have some gingerbread in the morning. I initially tried doing a make -j4 otapackage, but it was missing targets. Doing a make is working though. I suspect that the make otapackage will work after the make finishes. Too bad it takes like 4 1/2 hours or so to run. Hope I can provide you all with a working script for this tommorow.