[Android Builders Collective] Weetbix:
Ok, I've gone and done something silly while playing around. Damned if I can quite figure out what though :confused: Help would be much appreciated.

After successfully building ABC for my angler several times, I managed to make the right changes to have it build with a third party kernel (Flash) included. That worked, then a repo sync happened and I lost my changes. D'oh! I poked around a bit with the help of google and tried to set up my environment (ubuntu 16.04) so that I can make a few changes (i.e. include a different kernel) and track those via git so that I don't have to manually make them everytime a 'repo sync' happens. I didn't find a guide to doing this in one place so I ended up piecing together info from several sources.

All good, it worked beautifully without including the new kernel - last done march 6th if the output dir timestamps are any indication. But when I finally included the kernel stuff in the new git setup (now flash kernel had finished it's rebase/rewrite), things didn't quite go as I expected. The last bit out output from build_rom.sh is here:

Setting up build environment

including device/huawei/angler/vendorsetup.sh

including vendor/nexus/vendorsetup.sh

including sdk/bash_completion/adb.bash

Set cache size limit to 50.0 GB

Setting the device...

including vendor/nexus/vendorsetup.sh

ls: cannot access 'vendor/nexus/products/nexus_angler.mk': No such file or directory

build/core/product_config.mk:245: *** Can not locate config makefile for product "nexus_angler". Stop.

ls: cannot access 'vendor/nexus/products/nexus_angler.mk': No such file or directory

build/core/product_config.mk:245: *** Can not locate config makefile for product "nexus_angler". Stop.

** Don't have a product spec for: 'nexus_angler'

** Do you have the right repo manifest?

Cleaning up the OUT folder with make clobber

ls: cannot access 'vendor/nexus/products/nexus_angler.mk': No such file or directory

build/core/product_config.mk:245: *** Can not locate config makefile for product "aosp_arm". Stop.

#### make failed to build some targets ####

Compiling for angler and saving a build log file

ls: cannot access 'vendor/nexus/products/nexus_angler.mk': No such file or directory

build/core/product_config.mk:245: *** Can not locate config makefile for product "aosp_arm". Stop.

#### make failed to build some targets ####

...and the output of build.log is here:

ls: cannot access 'vendor/nexus/products/nexus_angler.mk': No such file or directory

build/core/product_config.mk:245: *** Can not locate config makefile for product "aosp_arm". Stop.

#### make failed to build some targets ####

vendor/nexus/products only contains a single file named 'angler.mk'

I didn't make any vendor related changes (as far as I remember anyway) ..... yet I have quite obviously stuffed *something* up. Looking at the above is anybody able to tell me which silly thing I did to cause this, and point me in the direction to remedy it? Or what information I should have provided as the above doesn't quite show enough info?

Alternatively as I quite possibly screwed up my setup somehow, is there a guide somewhere I can follow to see what I should have done? Happy to start from scratch as work simply doesn't care if I suck down the entire repo several times...