kernel: Force disable LLVM HIP

Gets rid of the following from clang -v:

```
Found HIP installation: /opt/rocm, version 5.4.22804
```

Change-Id: Ic58b3fb2dd67d345372bec7f5d2cf023ed2fb34d
This commit is contained in:
dianlujitao 2023-03-01 23:06:18 +08:00
parent eb86bd1bc5
commit ef68678120

View file

@ -239,7 +239,7 @@ ifneq ($(TARGET_KERNEL_CLANG_COMPILE),false)
endif endif
PATH_OVERRIDE += PATH=$(TARGET_KERNEL_CLANG_PATH)/bin:$$PATH PATH_OVERRIDE += PATH=$(TARGET_KERNEL_CLANG_PATH)/bin:$$PATH
ifeq ($(KERNEL_CC),) ifeq ($(KERNEL_CC),)
KERNEL_CC := CC="$(CCACHE_BIN) clang --cuda-path=/dev/null" KERNEL_CC := CC="$(CCACHE_BIN) clang --cuda-path=/dev/null --hip-path=/dev/null"
endif endif
endif endif