mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-07-25 18:57:41 +00:00
tools/Android.mk: add any extra program sources
v2: remove unintended change and fix source file duplication errors (Derek Morton) Cc: Derek Morton <derek.j.morton@intel.com> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
parent
80f1553780
commit
51576b7ad6
@ -7,7 +7,11 @@ include $(LOCAL_PATH)/Makefile.sources
|
|||||||
define add_tool
|
define add_tool
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_SRC_FILES := $1.c
|
ifeq ($($(1)_SOURCES),)
|
||||||
|
LOCAL_SRC_FILES := $1.c
|
||||||
|
else
|
||||||
|
LOCAL_SRC_FILES := $($(1)_SOURCES)
|
||||||
|
endif
|
||||||
|
|
||||||
LOCAL_CFLAGS += -DHAVE_TERMIOS_H
|
LOCAL_CFLAGS += -DHAVE_TERMIOS_H
|
||||||
LOCAL_CFLAGS += -DHAVE_STRUCT_SYSINFO_TOTALRAM
|
LOCAL_CFLAGS += -DHAVE_STRUCT_SYSINFO_TOTALRAM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user