ccflags-y+=-Werror
ccflags-y+=-I$(M)/include/arm_common
ccflags-y+=-I$(M)/include/linux
ccflags-y+=-I$(M)/include
ccflags-y+=-I$(M)/core
ccflags-y+=-Werror
ccflags-y+=-I$(M)/include/linux
ccflags-y+=-I$(M)/include
上文为Optee拷贝前的h文件引用路径,移植到drivers目录下时,需要更改h文件路径,所以做如下更改:
ccflags-y+=-Werror
ccflags-y+=-Idrivers/optee/include/arm_common
ccflags-y+=-Idrivers/optee/include/linux
ccflags-y+=-Idrivers/optee/include
ccflags-y+=-Idrivers/optee/core
ccflags-y+=-Werror
ccflags-y+=-Idrivers/optee/include/linux
ccflags-y+=-Idrivers/optee/include