Created
May 4, 2017 01:09
-
-
Save pklazy/35fb6e1862e354ad66c8aa3c74bfc599 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CROSS_COMPILE = arm-none-eabi- | |
TOOLCHAIN_LIBS = gcc | |
LIBGCC_DIR = $(shell dirname `$(CROSS_COMPILE)gcc ${KBUILD_CFLAGS} -print-libgcc-file-name`) | |
LIB_INCLUDE_DIR += -L ${LIBGCC_DIR} | |
TOOLCHAIN_CFLAGS = -I/usr/lib/arm-none-eabi/include | |
DTC ?= /usr/bin/dtc | |
OPENOCD ?= /usr/bin/openocd | |
OPENOCD_DEFAULT_PATH ?= /usr/share/openocd/scripts | |
export CROSS_COMPILE TOOLCHAIN_LIBS TOOLCHAIN_CFLAGS LIB_INCLUDE_DIR DTC OPENOCD OPENOCD_DEFAULT_PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment