-
Notifications
You must be signed in to change notification settings - Fork 0
/
.wrmakefile
48 lines (34 loc) · 1.2 KB
/
.wrmakefile
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
# The file ".wrmakefile" is the template used by the Wind River Workbench to
# generate the makefiles of this project. Add user-specific build targets and
# make rules only(!) in this project's ".wrmakefile" file. These will then be
# automatically dumped into the makefiles.
WIND_HOME := $(subst \,/,$(WIND_HOME))
WIND_BASE := $(subst \,/,$(WIND_BASE))
WIND_USR := $(subst \,/,$(WIND_USR))
all : pre_build main_all post_build
_clean ::
@echo "make: removing targets and objects of `pwd`"
%IDE_GENERATED%
-include $(PRJ_ROOT_DIR)/*.makefile
-include *.makefile
main_all : external_build $(PROJECT_TARGETS)
@echo "make: built targets of `pwd`"
# entry point for extending the build
external_build ::
@echo ""
# main entry point for pre processing prior to the build
pre_build :: $(PRE_BUILD_STEP) generate_sources
@echo ""
# entry point for generating sources prior to the build
generate_sources ::
@echo ""
# main entry point for post processing after the build
post_build :: $(POST_BUILD_STEP) deploy_output
@echo ""
# entry point for deploying output after the build
deploy_output ::
@echo ""
clean :: external_clean $(CLEAN_STEP) _clean
# entry point for extending the build clean
external_clean ::
@echo ""