Skip to content

Commit e0dcd28

Browse files
Fixed bug in dtb_gen Makefile and removed unused file
1 parent d395828 commit e0dcd28

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#******************************************************************************
2+
# Copyright (C) 2020-2022 Xilinx, Inc. All rights reserved.
3+
# Copyright (C) 2022-2024 Advanced Micro Devices, Inc. All rights reserved.
4+
# SPDX-License-Identifier: MIT
5+
#******************************************************************************
6+
7+
export PYTHON_VER="python-3.8.3"
8+
export CMAKE_VER="cmake-3.24.2"
9+
10+
export XBUILDS_CMAKE_PATH=${XILINX_VITIS}/tps/lnx64/${CMAKE_VER}
11+
export XBUILDS_PYTHON_PATH=${XILINX_VITIS}/tps/lnx64/${PYTHON_VER}
12+
13+
# LD_LIBRARY_PATH is needed to add the linker libraries (e.g. libffi) to the path
14+
export LD_LIBRARY_PATH=${XBUILDS_PYTHON_PATH}/lib:${XBUILDS_CMAKE_PATH}/libs/Ubuntu:${LD_LIBRARY_PATH}
15+
export LD_LIBRARY_PATH=${XILINX_VITIS}/lib/lnx64.o/Ubuntu/20:$LD_LIBRARY_PATH
16+
17+
# Source Paths of different toolchains, python, cmake and lopper binary
18+
export PATH=${XILINX_VITIS}/bin:${XILINX_VITIS}/gnu/microblaze/lin/bin:${XILINX_VITIS}/gnu/arm/lin/bin:${XILINX_VITIS}/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin:${XILINX_VITIS}/gnu/aarch32/lin/gcc-arm-none-eabi/bin:${XILINX_VITIS}/gnu/aarch64/lin/aarch64-none/bin:${XILINX_VITIS}/gnu/armr5/lin/gcc-arm-none-eabi/bin:${XBUILDS_PYTHON_PATH}/bin:${XBUILDS_CMAKE_PATH}/bin:$PATH
19+
20+
# VALIDATE_ARGS flag is needed to enable the validation of inputs. Set this flag to "" when
21+
# using the GUI flow.
22+
export VALIDATE_ARGS="True"
23+
# OSF Flag is needed to be enabled for Open Source Flow.
24+
export OSF="False"
25+
26+
# Below is a fallback mechanism to set an esw repo when no user repo is set
27+
# export ESW_REPO="${XILINX_VITIS}/data/embeddedsw-sdt"
28+
29+
# LOPPER_DTC_FLAGS is needed to generate device tree with symbols in it.
30+
export LOPPER_DTC_FLAGS="-b 0 -@"
31+
32+
source ${XILINX_VITIS}/tps/lnx64/lopper-1.1.0/env/bin/activate
33+

0 commit comments

Comments
 (0)