I've done fw_printenv compilation on Android 4.3 with U-Boot 2009.
But this is different on U-Boot 2015.04 on Android 5.1
fw_printenv compile error:
This is Makefile: I add "static" in flags.
And please look into my situation before you type your "answer". If you don't, please leave it. Because I've found so many idiots who do not event look at what's your situation and just leave some stupid idea just to get scores.