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: 023411cbe9 ("ANDROID: Use DTC from the hermetic toolchain")
Signed-off-by: Daniel Mentz <danielmentz@google.com>
Change-Id: I4e190192b39c4cf18c6412cc85895ed1ce2ec6dd
16 lines
362 B
Plaintext
16 lines
362 B
Plaintext
BRANCH=android-mainline
|
|
KMI_GENERATION=0
|
|
|
|
LLVM=1
|
|
DEPMOD=depmod
|
|
CLANG_PREBUILT_BIN=prebuilts/clang/host/linux-x86/clang-r433403/bin
|
|
BUILDTOOLS_PREBUILT_BIN=build/build-tools/path/linux-x86
|
|
DTC=${ROOT_DIR}/${BUILDTOOLS_PREBUILT_BIN}/dtc
|
|
|
|
EXTRA_CMDS=''
|
|
STOP_SHIP_TRACEPRINTK=1
|
|
IN_KERNEL_MODULES=1
|
|
DO_NOT_STRIP_MODULES=1
|
|
|
|
HERMETIC_TOOLCHAIN=${HERMETIC_TOOLCHAIN:-1}
|