Home | History | Annotate | Download | only in nanoapp
      1 #
      2 # Nanoapp Build Rules for Google CHRE on Linux
      3 #
      4 
      5 ################################################################################
      6 #
      7 # Google Generic CHRE on Linux 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 
     18 ifndef GOOGLE_LINUX_NANOAPP_BUILD_TEMPLATE
     19 define GOOGLE_LINUX_NANOAPP_BUILD_TEMPLATE
     20 
     21 .PHONY: $(1)_nanoapp
     22 all: $(1)_nanoapp
     23 
     24 $(1)_nanoapp: $(1)
     25 
     26 endef
     27 endif
     28 
     29 # Template Invocation ##########################################################
     30 
     31 $(eval $(call GOOGLE_LINUX_NANOAPP_BUILD_TEMPLATE, $(TARGET_NAME)))
     32