-
Notifications
You must be signed in to change notification settings - Fork 551
/
Makefile
executable file
·55 lines (45 loc) · 1.62 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
50
51
52
53
54
55
#
# Copyright (C) 2023, Advanced Micro Devices, Inc. All rights reserved.
# SPDX-License-Identifier: MIT
#
# Author: Faisal El-Shabani
ECHO = @echo
export TARGET ?= hw_emu
export AIE_SIM_ONLY := false
TOP_DIR ?= $(shell readlink -f .)
PLATFORM_NAME = xilinx_vck190_base_202410_1
PLATFORM_PATH = ${TOP_DIR}/platform/platform_repo
export PLATFORM = ${PLATFORM_PATH}/${PLATFORM_NAME}/export/${PLATFORM_NAME}/${PLATFORM_NAME}.xpfm
export SYSROOT = ${COMMON_IMAGE_VERSAL}/sysroots/cortexa72-cortexa53-xilinx-linux
export KERNEL_IMAGE = ${COMMON_IMAGE_VERSAL}/Image
export ROOTFS = ${COMMON_IMAGE_VERSAL}/rootfs.ext4
export PREBUILT_LINUX_PATH = ${COMMON_IMAGE_VERSAL}
##############
# Build Flow #
##############
.PHONY: clean help gen_vectors
help::
$(ECHO) "Makefile Usage:"
$(ECHO) " make all"
$(ECHO) " Command to generate everything for this design"
$(ECHO) ""
$(ECHO) " make clean"
$(ECHO) " Command to remove all the generated files."
gen_vectors:
matlab -batch "gen_vectors"
all: farrow_design
farrow_design:
$(MAKE) all -C platform
$(MAKE) compile -C aie/farrow_final
$(MAKE) all -C hls/farrow_dma_snk
$(MAKE) all -C hls/farrow_dma_src
$(MAKE) all -C ps_apps/hw_emu
$(MAKE) all -C vitis
clean:
$(MAKE) clean -C platform
$(MAKE) clean -C aie/farrow_final
$(MAKE) clean -C hls/farrow_dma_snk
$(MAKE) clean -C hls/farrow_dma_src
$(MAKE) clean -C ps_apps/hw_emu
$(MAKE) clean -C vitis
@/bin/rm -rf .crashReporter* .Xil vivado.jou vivado.log