Copied files from two other repositories:
https://github.com/HermanChen/Rockchip_4.1_release_libstagefright
Copy them to the work tree to compile stagefright for rockchip. I use them to build CM10, but you'll also need some extra propietary files. Read the instructions in HermanChen's repository, you can find them there.
This repo is to be used with:
https://github.com/fefifofum/device_bq_maxwell2plus/tree/jellybean
https://github.com/fefifofum/propietary_vendor_bq/tree/jellybean