-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmakefile_projectspec.j722s
85 lines (62 loc) · 2.9 KB
/
makefile_projectspec.j722s
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#
# Auto generated makefile
#
BUILD_COMBO_EXAMPLE_PROJECTSPEC_BUILD_ALL =
# Various Example Projectspec Build Targets
# Various System Example Projectspec Build Targets
BUILD_COMBO_EXAMPLE_PROJECTSPEC_BUILD_ALL += empty_j722s-evm_system_freertos_build
BUILD_COMBO_EXAMPLE_PROJECTSPEC_BUILD_PRIVATE_ALL =
# Various Private Example Projectspec Build Targets
# Various Private System Example Projectspec Build Targets
all: $(BUILD_COMBO_EXAMPLE_PROJECTSPEC_BUILD_ALL)
all-private: $(BUILD_COMBO_EXAMPLE_PROJECTSPEC_BUILD_PRIVATE_ALL)
empty_j722s-evm_system_freertos_build:
$(MAKE) -C examples/empty/j722s-evm/system_freertos -f makefile_projectspec all
BUILD_COMBO_EXAMPLE_PROJECTSPEC_CLEAN_ALL =
# Various Example Projectspec Clean Targets
# Various System Example Projectspec Clean Targets
BUILD_COMBO_EXAMPLE_PROJECTSPEC_CLEAN_ALL += empty_j722s-evm_system_freertos_clean
BUILD_COMBO_EXAMPLE_PROJECTSPEC_CLEAN_PRIVATE_ALL =
# Various Private Example Projectspec Clean Targets
# Various Private System Example Projectspec Clean Targets
clean: $(BUILD_COMBO_EXAMPLE_PROJECTSPEC_CLEAN_ALL)
clean-private: $(BUILD_COMBO_EXAMPLE_PROJECTSPEC_CLEAN_PRIVATE_ALL)
empty_j722s-evm_system_freertos_clean:
$(MAKE) -C examples/empty/j722s-evm/system_freertos -f makefile_projectspec clean
BUILD_COMBO_EXAMPLE_PROJECTSPEC_EXPORT_ALL =
# Various Example Projectspec Export Targets
# Various System Example Projectspec Export Targets
BUILD_COMBO_EXAMPLE_PROJECTSPEC_EXPORT_ALL += empty_j722s-evm_system_freertos_export
BUILD_COMBO_EXAMPLE_PROJECTSPEC_EXPORT_PRIVATE_ALL =
# Various Private Example Projectspec Export Targets
# Various Private System Example Projectspec Export Targets
export: $(BUILD_COMBO_EXAMPLE_PROJECTSPEC_EXPORT_ALL)
export-private: $(BUILD_COMBO_EXAMPLE_PROJECTSPEC_EXPORT_PRIVATE_ALL)
empty_j722s-evm_system_freertos_export:
$(MAKE) -C examples/empty/j722s-evm/system_freertos -f makefile_projectspec export
help:
@echo Notes,
@echo - Use -j to invoke parallel builds
@echo - Use PROFILE=Debug or PROFILE=Release [default] to build in Debug or Release profile
@echo .
@echo Overall build targets,
@echo ======================
@echo $(MAKE) -s -f makefile_projectspec.j722s help
@echo .
@echo $(MAKE) -s -f makefile_projectspec.j722s [export all clean]
@echo .
@echo export = export projectspec to CCS project in the folder ./ccs_projects/,
@echo export MUST be called once before 'all' or 'clean'
@echo all = build the previously exported projectspecs
@echo clean = clean the previously exported projectspecs
@echo .
@echo Example ProjectSpec build targets,
@echo ==================================
@echo .
@echo System Example ProjectSpec build targets,
@echo =========================================
@echo $(MAKE) -s -C examples/empty/j722s-evm/system_freertos -f makefile_projectspec [export all clean]
@echo .
.PHONY: all all-private
.PHONY: clean clean-private
.PHONY: help