forked from Xilinx/Vitis-Tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
65 lines (52 loc) · 1.8 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
56
57
58
59
60
61
62
63
#
# Copyright (C) 2023, Advanced Micro Devices, Inc. All rights reserved.
# SPDX-License-Identifier: MIT
#
# Author: Mark Rollins
ECHO = @echo
export TARGET = hw_emu
RELEASE=2024.2
TOP_DIR ?= $(shell readlink -f .)
PLATFORM_NAME = xilinx_vck190_base_202420_1
PLATFORM_PATH = ${PLATFORM_REPO_PATHS}
export PLATFORM = ${PLATFORM_PATH}/${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
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."
all: channelizer
channelizer:
$(MAKE) all -C aie/m16_ssr8
$(MAKE) all -C hls/m16_ssr8_permute_fb_i
$(MAKE) all -C hls/m16_ssr8_permute_fb_o
$(MAKE) all -C hls/m16_ssr8_cyclic_shift
$(MAKE) all -C hls/dma_stream_src
$(MAKE) all -C hls/dma_stream_snk
$(MAKE) all -C ps_apps/hw_emu
$(MAKE) all -C vitis/final
power:
$(MAKE) vivado_xpe -C vitis/final
$(MAKE) vitis_xpe -C aie/m16_ssr8
clean:
$(MAKE) clean -C aie/m16_ssr8
$(MAKE) clean -C aie/m16_ssr8_dft
$(MAKE) clean -C aie/m16_ssr8_filterbank
$(MAKE) clean -C hls/m16_ssr8_permute_fb_i
$(MAKE) clean -C hls/m16_ssr8_permute_fb_o
$(MAKE) clean -C hls/m16_ssr8_cyclic_shift
$(MAKE) clean -C hls/dma_stream_src
$(MAKE) clean -C hls/dma_stream_snk
$(MAKE) clean -C ps_apps/hw_emu
$(MAKE) clean -C vitis/final
@/bin/rm -rf .crashReporter*