Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit a71e480

Browse files
ANDROID: build.config: Set DTC to absolute path
The device tree compiler specified by $(DTC) is actually used as a prerequisite for the following .dtb makefile rule: $(obj)/%.dtb: $(src)/%.dts $(DTC) FORCE Ensure that it's set to an absolute path so that make can actually find it. Otherwise, make will not instantiate that rule, because it can't find dtc. Bug: 198176779 Fixes: 023411c ("ANDROID: Use DTC from the hermetic toolchain") Signed-off-by: Daniel Mentz <[email protected]> Change-Id: I4e190192b39c4cf18c6412cc85895ed1ce2ec6dd
1 parent c510b49 commit a71e480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.config.common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ KMI_GENERATION=0
33

44
LLVM=1
55
DEPMOD=depmod
6-
DTC=dtc
76
CLANG_PREBUILT_BIN=prebuilts/clang/host/linux-x86/clang-r433403/bin
87
BUILDTOOLS_PREBUILT_BIN=build/build-tools/path/linux-x86
8+
DTC=${ROOT_DIR}/${BUILDTOOLS_PREBUILT_BIN}/dtc
99

1010
EXTRA_CMDS=''
1111
STOP_SHIP_TRACEPRINTK=1

0 commit comments

Comments
 (0)