summaryrefslogtreecommitdiffstats
blob: 4637081558963f32c7e9ed61a3c3901d67a340ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# XXX: Consider moving these to config.h analogous to autoconf.
LOCAL_CFLAGS += \
	-DMAJOR_IN_SYSMACROS=1 \
	-DHAVE_VISIBILITY=1 \
	-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1

LOCAL_CFLAGS += \
	-Wno-unused-parameter \
	-Wno-missing-field-initializers

# Quiet down the build system and remove any .h files from the sources
LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))
LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)