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