forked from Xilinx/Vitis-Tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
50 lines (39 loc) · 1.3 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# Copyright (C) 2024, Advanced Micro Devices, Inc. All rights reserved.
# SPDX-License-Identifier: MIT
#
# Author: Richard Buz
ECHO = @echo
export TARGET = hw_emu
RELEASE=2024.2
BOARD=vek280
BASE_NUM=202420_1
# Platform Selection...
VERSAL_VITIS_PLATFORM = xilinx_${BOARD}\_base_${BASE_NUM}
VITIS_PLATFORM_DIR = ${PLATFORM_REPO_PATHS}/${VERSAL_VITIS_PLATFORM}
export VITIS_PLATFORM_XPFM = ${VITIS_PLATFORM_DIR}/${VERSAL_VITIS_PLATFORM}.xpfm
# Set SysRoot, RootFS and Image
export VITIS_SYSROOTS = ${COMMON_IMAGE_VERSAL}/sysroots/cortexa72-cortexa53-xilinx-linux
export SDKTARGETSYSROOT = ${VITIS_SYSROOTS}
export KERNEL_IMAGE = ${COMMON_IMAGE_VERSAL}/Image
export ROOTFS = ${COMMON_IMAGE_VERSAL}/rootfs.ext4
export XLNX_VERSAL = ${COMMON_IMAGE_VERSAL}
export PLATFORM = ${VITIS_PLATFORM_XPFM}
export SYSROOT = ${SDKTARGETSYSROOT}
##############
# Build Flow #
##############
.PHONY: clean help
help::
$(ECHO) "Makefile Usage:"
$(ECHO) " make all"
$(ECHO) " Command to compile and simulate this design"
$(ECHO) ""
$(ECHO) " make clean"
$(ECHO) " Command to remove all the generated files."
all: softmax
softmax:
$(MAKE) all -C aie-ml/
clean:
$(MAKE) clean -C aie-ml/
@/bin/rm -rf .crashReporter*