Skip to content

Commit 65b1859

Browse files
Andrew BoieAnas Nashif
authored andcommitted
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 <[email protected]>
1 parent caca8c0 commit 65b1859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Makefile.toolchain.gccarmemb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ LIBGCC_DIR = $(shell dirname `$(CROSS_COMPILE)gcc ${KBUILD_CFLAGS} -print-libgcc
1010
LIB_INCLUDE_DIR += -L ${LIBGCC_DIR}
1111
TOOLCHAIN_CFLAGS = -I${GCCARMEMB_TOOLCHAIN_PATH}/arm-none-eabi/include
1212

13-
DTC ?= /usr/bin/dtc
13+
DTC ?= dtc
1414

1515
export CROSS_COMPILE TOOLCHAIN_LIBS TOOLCHAIN_CFLAGS LIB_INCLUDE_DIR DTC

0 commit comments

Comments
 (0)