Skip to content

Commit

Permalink
Makefile: VIVADO_TOOLCHAIN_PATH default to use Vitis
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
  • Loading branch information
mhennerich committed Mar 1, 2023
1 parent 5b6d37e commit 82442b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ XSDK_SETTINGS ?= ${VIVADO_SETTINGS}
HAVE_VIVADO= $(shell bash -c "source $(VIVADO_SETTINGS) > /dev/null 2>&1 && vivado -version > /dev/null 2>&1 && echo 1 || echo 0")

ifeq (1, ${HAVE_VIVADO})
VIVADO_TOOLCHAIN_PATH ?= /opt/Xilinx/SDK/$(VIVADO_VERSION)/gnu/aarch32/lin/gcc-arm-linux-gnueabi
VIVADO_TOOLCHAIN_PATH ?= /opt/Xilinx/Vitis/$(VIVADO_VERSION)/gnu/aarch32/lin/gcc-arm-linux-gnueabi
CROSS_COMPILE ?= $(VIVADO_TOOLCHAIN_PATH)/bin/arm-linux-gnueabihf-
else
CROSS_COMPILE ?= arm-linux-gnueabihf-
Expand Down

0 comments on commit 82442b4

Please sign in to comment.