blob: 2828d2da6e1c00d06c2481eaa9b5c59c5b227724 [file] [log] [blame]
#
# Nanoapp Build Rules for Google CHRE on AoC
#
################################################################################
#
# Google Generic CHRE on AoC 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_AOC_NANOAPP_BUILD_TEMPLATE
define GOOGLE_AOC_NANOAPP_BUILD_TEMPLATE
.PHONY: $(1)_nanoapp
all: $(1)_nanoapp
$(1)_nanoapp: $(1)
endef
endif
# Template Invocation ##########################################################
$(eval $(call GOOGLE_AOC_NANOAPP_BUILD_TEMPLATE, $(TARGET_NAME)))