• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Wifi World Nanoapp Makefile
3#
4
5# Environment Checks ###########################################################
6
7ifeq ($(CHRE_PREFIX),)
8$(error "The CHRE_PREFIX environment variable must be set to a path to the \
9         CHRE project root. Example: export CHRE_PREFIX=$$HOME/chre")
10endif
11
12# Nanoapp Configuration ########################################################
13
14NANOAPP_NAME = wifi_world
15NANOAPP_ID = 0x0123456789000006
16NANOAPP_VERSION = 0x00000000
17
18NANOAPP_NAME_STRING = \"Wi-Fi\ World\"
19
20# Common Compiler Flags ########################################################
21
22COMMON_CFLAGS += -I.
23
24COMMON_CFLAGS += -DNANOAPP_MINIMUM_LOG_LEVEL=CHRE_LOG_LEVEL_DEBUG
25
26# Common Source Files ##########################################################
27
28COMMON_SRCS += wifi_world.cc
29COMMON_SRCS += $(CHRE_PREFIX)/util/nanoapp/wifi.cc
30
31# Makefile Includes ############################################################
32
33include $(CHRE_PREFIX)/build/nanoapp/app.mk
34