ronnie
2022-10-14 1504bb53e29d3d46222c0b3ea994fc494b48e153
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
#
# Nanoapp Build Rules for Google CHRE on Android
#
 
################################################################################
#
# Google Generic CHRE on Android Nanoapp Build Template
#
# Invoke this to instantiate a set of Nanoapp post processing build targets.
#
# TARGET_NAME_nanoapp - The resulting nanoapp output.
#
# Argument List:
#     $1 - TARGET_NAME         - The name of the target being built.
#
################################################################################
 
ifndef GOOGLE_ANDROID_NANOAPP_BUILD_TEMPLATE
define GOOGLE_ANDROID_NANOAPP_BUILD_TEMPLATE
 
.PHONY: $(1)_nanoapp
all: $(1)_nanoapp
 
$(1)_nanoapp: $(1)
 
endef
endif
 
# Template Invocation ##########################################################
 
$(eval $(call GOOGLE_ANDROID_NANOAPP_BUILD_TEMPLATE, $(TARGET_NAME)))