From 60c5bb538c5353259043f3136615c641711349d6 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Fri, 14 Apr 2017 14:06:37 +0200 Subject: Android.mk: Filter out *.h from src files Newer Android's build system complains about unused files if we leave those there. Signed-off-by: Arkadiusz Hiler Reviewed-by: Petri Latvala --- tools/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/Android.mk b/tools/Android.mk index a8e649ba..0bad29c5 100644 --- a/tools/Android.mk +++ b/tools/Android.mk @@ -12,7 +12,7 @@ define add_tool ifeq ($($(1)_SOURCES),) LOCAL_SRC_FILES := $1.c else - LOCAL_SRC_FILES := $($(1)_SOURCES) + LOCAL_SRC_FILES := $(filter-out %.h,$($(1)_SOURCES)) endif LOCAL_CFLAGS += -DHAVE_TERMIOS_H -- cgit v1.2.3