1#
2# Nanoapp Build Rules for Google Generic CHRE on SLPI
3#
4
5################################################################################
6#
7# Google Generic CHRE on SLPI  Nanoapp Build Template
8#
9# Invoke this to instantiate a set of Nanoapp post processing build targets.
10#
11# TARGET_NAME_nanoapp - The resulting nanoapp output.
12#
13# Argument List:
14#     $1 - TARGET_NAME         - The name of the target being built.
15#
16################################################################################
17
18ifndef GOOGLE_SLPI_NANOAPP_BUILD_TEMPLATE
19define GOOGLE_SLPI_NANOAPP_BUILD_TEMPLATE
20
21# TODO: Invoke signing/formatting post-processing tools. This simply adds the
22# underlying shared object and archive to the nanoapp target.
23
24.PHONY: $(1)_nanoapp
25all: $(1)_nanoapp
26
27$(1)_nanoapp: $(1)
28
29endef
30endif
31
32# Template Invocation ##########################################################
33
34$(eval $(call GOOGLE_SLPI_NANOAPP_BUILD_TEMPLATE, $(TARGET_NAME)))
35