编译报错信息为:
make[2]: 进入目录“/home/hann/OP-TEE/optee_examples/auto_basicAlg”
make -C host CROSS_COMPILE="/home/hann/OP-TEE/build/../toolchains/aarch32/bin/arm-linux-gnueabihf-"
make[3]: 进入目录“/home/hann/OP-TEE/optee_examples/auto_basicAlg/host”
make[3]: 对“all”无需做任何事。
make[3]: 离开目录“/home/hann/OP-TEE/optee_examples/auto_basicAlg/host”
make -C ta CROSS_COMPILE="/home/hann/OP-TEE/build/../toolchains/aarch32/bin/arm-linux-gnueabihf-"
make[3]: 进入目录“/home/hann/OP-TEE/optee_examples/auto_basicAlg/ta”
make[3]: *** 没有规则可制作目标“/home/vmuser/open-tee/optee_os/out/arm/export-ta_arm32/include/tee_internal_api.h”,由“CryptoVerifyTaEntry.o” 需求。 停止。
make[3]: 离开目录“/home/hann/OP-TEE/optee_examples/auto_basicAlg/ta”
Makefile:6: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: 离开目录“/home/hann/OP-TEE/optee_examples/auto_basicAlg”
最后发现是在在/ta/MakeFile,UUID 前面多写了0x。
BINARY=0x3ae6f4b5-7e33-4ad2-9802-e64f2a7cc20c
BINARY=3ae6f4b5-7e33-4ad2-9802-e64f2a7cc20c
在ta/sub.mk 中,缺少对应的添加的话 也会出现该问题
global-incdirs-y += include
srcs-y += CryptoVerifyTaEntry.c