mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
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:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user