diff --git a/Makefile b/Makefile index 71690c792719370059bcdc010b9ef4119b01c6cb..a5a1e9ace7c9fa4387f56bf13a805d32e26c8e38 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ DTC ?= dtc CPP ?= cpp KERNEL_VERSION ?= $(shell uname -r) -DTCVERSION = $(shell dtc --version | grep ^Version | sed 's/^.* //g') +DTCVERSION = $(shell $(DTC) --version | grep ^Version | sed 's/^.* //g') MAKEFLAGS += -rR --no-print-directory