-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
executable file
·42 lines (33 loc) · 934 Bytes
/
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
#
# Makefile for Xilinx PS PCIe Endpoint DMA Driver
#
export ROOTDIR=$(shell pwd)
include $(ROOTDIR)/include.mk
all::
@$(call compile_dma_driver)
@echo "***** Driver Compiled *****"
@$(call compile_test_application)
@echo "***** Applications Compiled *****"
driver::
@$(call compile_dma_driver)
@echo "***** Only Driver is Compiled *****"
app::
@$(call compile_test_application)
@echo "***** Only Applications are Compiled *****"
clean::
@$(call clean_dma_driver)
@echo "***** Driver Cleaned *****"
@$(call clean_test_application)
@echo "***** Applications Cleaned *****"
clean_driver::
@$(call clean_dma_driver)
@echo "***** Only Driver is Cleaned *****"
clean_apps::
@$(call clean_test_application)
@echo "***** Only Applications are Cleaned *****"
insert::
@$(call insert_dma_driver)
@echo "***** Driver Loaded *****"
remove::
@$(call remove_dma_driver)
@echo "***** Driver Unloaded *****"