rk: Makefile: Call gcc-wrapper.py use absolute path

Fixes: c2482146d1 ("rk: Makefile: add gcc-wrapper")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I6442c206c797573d57ef1976b4a30316235f4e03
This commit is contained in:
Tao Huang
2022-07-14 19:35:55 +08:00
parent f2f7901e85
commit 18f2a774bc

View File

@@ -483,7 +483,7 @@ ZSTD = zstd
# warnings and causes the build to stop upon encountering them.
ifeq ($(CC),$(CROSS_COMPILE)gcc)
ifneq ($(wildcard $(srctree)/scripts/gcc-wrapper.py),)
CC = $(srctree)/scripts/gcc-wrapper.py $(CROSS_COMPILE)gcc
CC = $(abspath $(srctree)/scripts/gcc-wrapper.py) $(CROSS_COMPILE)gcc
endif
endif