add script for compiling tools and weaver for ejp

Change-Id: Ia28e7b842b4c620df4532eb3e0a0e237c9fd530d