1# 2# Google Reference CHRE Implementation for Linux on x86 3# 4 5include $(CHRE_PREFIX)/build/clean_build_template_args.mk 6 7TARGET_NAME = google_x86_linux 8TARGET_CFLAGS = -DCHRE_MESSAGE_TO_HOST_MAX_SIZE=2048 9TARGET_CFLAGS += $(GOOGLE_X86_LINUX_CFLAGS) 10TARGET_VARIANT_SRCS = $(GOOGLE_X86_LINUX_SRCS) 11 12ifneq ($(filter $(TARGET_NAME)% all, $(MAKECMDGOALS)),) 13ifneq ($(IS_NANOAPP_BUILD),) 14include $(CHRE_PREFIX)/build/nanoapp/google_linux.mk 15else 16# Instruct the build to link a final executable. 17TARGET_BUILD_BIN = true 18 19# Link in libraries for the final executable. 20TARGET_BIN_LDFLAGS += -lrt 21endif 22 23include $(CHRE_PREFIX)/build/arch/x86.mk 24include $(CHRE_PREFIX)/build/build_template.mk 25endif 26