aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2020-03-27 09:37:46 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2020-03-27 09:37:46 +0200
commitc0c03ccfebc31ee71e2dfeefffe2320642329e8b (patch)
tree93bbd257573d2969fc2773d3760a76dd8524aec4
parent67d092d4f267b2daf11d3c536105fbd5472d06c0 (diff)
downloadlinux-dt-c0c03ccfebc31ee71e2dfeefffe2320642329e8b.tar.gz
Revert "overlays: Makefile: Fix dtc when kernel build is not in kernel"
This reverts commit e939e4cf1760a9c9b69f7a9dab66992ac43b5d6c.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d3b207e..5974d53 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ mkfile_path := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
LINUX ?= ${mkfile_path}../linux
endif
-DTC ?= ${O}/scripts/dtc/dtc
+DTC ?= ${LINUX}/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