diff options
author | Dan Murphy <dmurphy@ti.com> | 2020-03-26 14:42:51 -0500 |
---|---|---|
committer | Dan Murphy <dmurphy@ti.com> | 2020-03-26 14:42:51 -0500 |
commit | e939e4cf1760a9c9b69f7a9dab66992ac43b5d6c (patch) | |
tree | 5f4341376bb3b9c2ced52e5f55cb04600f620dbc | |
parent | 6a65ba2db6cd6fe3239b888fcf66636792a980f6 (diff) | |
download | linux-dt-e939e4cf1760a9c9b69f7a9dab66992ac43b5d6c.tar.gz |
overlays: Makefile: Fix dtc when kernel build is not in kernel
Fix the dtc path when the kernel build is built with the O= make
arguement.
Signed-off-by: Dan Murphy <dmurphy@ti.com>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ mkfile_path := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) LINUX ?= ${mkfile_path}../linux endif -DTC ?= ${LINUX}/scripts/dtc/dtc +DTC ?= ${O}/scripts/dtc/dtc DTC_WARN_FLAGS := -Wno-unit_address_vs_reg -Wno-unit_address_format -Wno-avoid_unnecessary_addr_size -Wno-alias_paths -Wno-graph_child_address -Wno-simple_bus_reg -Wno-unique_unit_address -Wno-pci_device_reg DTC_FLAGS := -O dtb -@ -b 0 -i${LINUX}/include ${DTC_WARN_FLAGS} CPP_FLAGS := -E -nostdinc -I${LINUX}/scripts/dtc/include-prefixes -undef -D__DTS__ -x assembler-with-cpp |