Android + OP-TEE Build Error

I have been trying to compile android and OP-TEE by following instructions/steps here. Steps 3.1 - 3.7 have been successfully done. However the command for step 3.8 [make -j32], I get the error below. I need help fixing the error since it’s been a couple of days now:


a@jupiter:/media/usb/androidOptee$ make -j32

PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
TARGET_PRODUCT=hikey
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-32-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NYC
OUT_DIR=out
AUX_OS_VARIANT_LIST=

[38/38] bootstrap out/soong/.minibootstrap/build.ninja.in
[4/4] cp out/soong/.bootstrap/bin/bpglob
[233/234] glob vendor///Android.bp
[36/37] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -b out/soong -d out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
config file: out/soong/soong.variables did not parse correctly: invalid characte[37/37] soong_build docs out/soong/.bootstrap/docs/soong_build.html
FAILED: out/soong/.bootstrap/docs/soong_build.html
out/soong/.bootstrap/bin/soong_build -b out/soong --docs out/soong/.bootstrap/docs/soong_build.html ./Android.bp
config file: out/soong/soong.variables did not parse correctly: invalid character ‘d’ after object key:value pair
ninja: build stopped: subcommand failed.
make: *** [run_soong] Error 1

make failed to build some targets (18 seconds)

</pre

I can reproduce the error. Will try to debug and post an update. Thanks!

@vchong…thanks. I have been waiting for the update.

Hi,
I’m also facing the issue. Could you please provide the fix ASAP. Trustzone integration is blocked on this issue. If the issue can not be resolved, and if you have working version of manifest file for AOSP and OPTEE, it is fine for me.

Thanks,
Krishna.

@efak Sorry for the delay. Please see post on http://www.96boards.org/forums/topic/hikey-lemaker-optee-kernel-working-source-code/#post-19807.