toolchain.gccarmemb: set DTC for building targets that use devicetrees
We default DTC to /usr/bin/dtc so we can build targets that are using devicetree and not using the zephyr SDK (which provides a version of dtc). Change-Id: I84c3e3181eda75b4da715e16bbde2e67f28785e7 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
8bde07dfae
commit
047ae4033c
1 changed files with 3 additions and 1 deletions
|
@ -10,4 +10,6 @@ LIBGCC_DIR = $(shell dirname `$(CROSS_COMPILE)gcc ${KBUILD_CFLAGS} -print-libgcc
|
|||
LIB_INCLUDE_DIR += -L ${LIBGCC_DIR}
|
||||
TOOLCHAIN_CFLAGS = -I${GCCARMEMB_TOOLCHAIN_PATH}/arm-none-eabi/include
|
||||
|
||||
export CROSS_COMPILE TOOLCHAIN_LIBS TOOLCHAIN_CFLAGS LIB_INCLUDE_DIR
|
||||
DTC ?= /usr/bin/dtc
|
||||
|
||||
export CROSS_COMPILE TOOLCHAIN_LIBS TOOLCHAIN_CFLAGS LIB_INCLUDE_DIR DTC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue