mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 10:10:12 +01:00
As part of Treble project in Android O, all the device specific files have to be located in a separate vendor partition. This is done by setting LOCAL_PROPRIETARY_MODULE (the name is misleading). This change will not break existing platforms without a vendor partition as it will just move files to /system/vendor. Signed-off-by: Rob Herring <robh@kernel.org>
17 lines
497 B
Makefile
17 lines
497 B
Makefile
# 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 \
|
|
-Wno-pointer-arith \
|
|
-Wno-enum-conversion
|
|
|
|
# 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)
|
|
|
|
LOCAL_PROPRIETARY_MODULE := true
|