kmsro: Add missing definitions to Android.mk
authorRoman Stratiienko <roman.stratiienko@globallogic.com>
Tue, 6 Aug 2019 10:29:06 +0000 (13:29 +0300)
committerRoman Stratiienko <roman.stratiienko@globallogic.com>
Wed, 14 Aug 2019 07:39:53 +0000 (07:39 +0000)
Signed-off-by: Roman Stratiienko <roman.stratiienko@globallogic.com>
Reviewed-by: Rob Herring robh@kernel.org
src/gallium/winsys/kmsro/drm/Android.mk

index 13600fd2fd292ef549d2777c16501638572b6f73..439d2cc0ea8aa0448bb2a2ca995eb0e0a717eb0f 100644 (file)
@@ -29,5 +29,7 @@ LOCAL_SRC_FILES := $(C_SOURCES)
 
 LOCAL_MODULE := libmesa_winsys_kmsro
 
+$(foreach d, $(MESA_BUILD_GALLIUM), $(eval LOCAL_CFLAGS += $(patsubst HAVE_%,-D%,$(d))))
+
 include $(GALLIUM_COMMON_MK)
 include $(BUILD_STATIC_LIBRARY)