gccarmemb: don't assume 'dtc' is in /usr/bin
Just search for it in the system PATH. Issue: ZEP-2211 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
da86ae0cb6
commit
113015b64c
1 changed files with 1 additions and 1 deletions
|
@ -10,6 +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
|
||||
|
||||
DTC ?= /usr/bin/dtc
|
||||
DTC ?= dtc
|
||||
|
||||
export CROSS_COMPILE TOOLCHAIN_LIBS TOOLCHAIN_CFLAGS LIB_INCLUDE_DIR DTC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue