build: config: msm: Update the output dir for external/dtc

This change updates the output directory for the external/dtc project. This
change will make the output folder outside the kernel output directory (the
same layout as the source code).

Change-Id: Ic52f962204fdb849c295abaa89e63a805e638e71
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
This commit is contained in:
Siddharth Gupta 2020-11-05 14:58:03 -08:00
parent 817003b074
commit e30d9616ae

View File

@ -8,6 +8,7 @@ CONFIG_TARGET=msm.${MSM_ARCH}
##
function compile_external_dtc() {
(
OUT_DIR=$(realpath $OUT_DIR/..)/external/dtc
cd ${ROOT_DIR}/external/dtc
NO_PYTHON=1 CC=cc make
)