Files
kernel_arpi/build.config.common
Daniel Mentz a71e480e82 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: 023411cbe9 ("ANDROID: Use DTC from the hermetic toolchain")
Signed-off-by: Daniel Mentz <danielmentz@google.com>
Change-Id: I4e190192b39c4cf18c6412cc85895ed1ce2ec6dd
2021-09-17 18:06:27 +00:00

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}