diff options
author | Emil Velikov <[email protected]> | 2015-03-27 11:40:42 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-04-22 14:23:28 +0100 |
commit | 86919352e3da1c80409fdcb67c36f29a9687b7a9 (patch) | |
tree | d0b0a91b7bf114572dc9b7a48b378c69d3f10b4d /src/gallium/drivers | |
parent | 413bc0a618d39873336cbfaf8fb5e43217f66ccf (diff) |
android: use LOCAL_SHARED_LIBRARIES over TARGET_OUT_HEADERS
... to manage the LIBDRM*_CFLAGS. The former is the recommended approach
by the Android build system developers while the latter has been
depreciated for quite some time.
Cc: "10.4 10.5" <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/freedreno/Android.mk | 5 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/Android.mk | 4 | ||||
-rw-r--r-- | src/gallium/drivers/r300/Android.mk | 5 | ||||
-rw-r--r-- | src/gallium/drivers/r600/Android.mk | 3 | ||||
-rw-r--r-- | src/gallium/drivers/radeon/Android.mk | 3 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/Android.mk | 3 |
6 files changed, 9 insertions, 14 deletions
diff --git a/src/gallium/drivers/freedreno/Android.mk b/src/gallium/drivers/freedreno/Android.mk index 6cab31fd714..a6712b2c115 100644 --- a/src/gallium/drivers/freedreno/Android.mk +++ b/src/gallium/drivers/freedreno/Android.mk @@ -34,10 +34,9 @@ LOCAL_CFLAGS := \ -Wno-packed-bitfield-compat LOCAL_C_INCLUDES := \ - $(LOCAL_PATH)/ir3 \ - $(TARGET_OUT_HEADERS)/libdrm \ - $(TARGET_OUT_HEADERS)/freedreno + $(LOCAL_PATH)/ir3 +LOCAL_SHARED_LIBRARIES := libdrm libdrm_freedreno LOCAL_MODULE := libmesa_pipe_freedreno include $(GALLIUM_COMMON_MK) diff --git a/src/gallium/drivers/nouveau/Android.mk b/src/gallium/drivers/nouveau/Android.mk index 3f6ec5b6a07..420c8e5734c 100644 --- a/src/gallium/drivers/nouveau/Android.mk +++ b/src/gallium/drivers/nouveau/Android.mk @@ -36,9 +36,7 @@ LOCAL_SRC_FILES := \ $(NVC0_CODEGEN_SOURCES) \ $(NVC0_C_SOURCES) -LOCAL_C_INCLUDES := \ - $(TARGET_OUT_HEADERS)/libdrm - +LOCAL_SHARED_LIBRARIES := libdrm libdrm_nouveau LOCAL_MODULE := libmesa_pipe_nouveau include external/stlport/libstlport.mk diff --git a/src/gallium/drivers/r300/Android.mk b/src/gallium/drivers/r300/Android.mk index d3ef76d67a6..7ff4f86bf0d 100644 --- a/src/gallium/drivers/r300/Android.mk +++ b/src/gallium/drivers/r300/Android.mk @@ -33,9 +33,10 @@ LOCAL_SRC_FILES := $(C_SOURCES) LOCAL_C_INCLUDES := \ $(MESA_TOP)/src/mapi \ $(MESA_TOP)/src/glsl \ - $(MESA_TOP)/src/mesa \ - $(TARGET_OUT_HEADERS)/libdrm + $(MESA_TOP)/src/mesa + +LOCAL_SHARED_LIBRARIES := libdrm libdrm_radeon LOCAL_MODULE := libmesa_pipe_r300 include $(GALLIUM_COMMON_MK) diff --git a/src/gallium/drivers/r600/Android.mk b/src/gallium/drivers/r600/Android.mk index 3b12dd66db7..e9357597a9b 100644 --- a/src/gallium/drivers/r600/Android.mk +++ b/src/gallium/drivers/r600/Android.mk @@ -30,8 +30,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := $(C_SOURCES) $(CXX_SOURCES) -LOCAL_C_INCLUDES := $(TARGET_OUT_HEADERS)/libdrm - +LOCAL_SHARED_LIBRARIES := libdrm libdrm_radeon LOCAL_MODULE := libmesa_pipe_r600 include external/stlport/libstlport.mk diff --git a/src/gallium/drivers/radeon/Android.mk b/src/gallium/drivers/radeon/Android.mk index d562f4c3815..d61579280ea 100644 --- a/src/gallium/drivers/radeon/Android.mk +++ b/src/gallium/drivers/radeon/Android.mk @@ -30,8 +30,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := $(C_SOURCES) -LOCAL_C_INCLUDES := $(TARGET_OUT_HEADERS)/libdrm - +LOCAL_SHARED_LIBRARIES := libdrm libdrm_radeon LOCAL_MODULE := libmesa_pipe_radeon include $(GALLIUM_COMMON_MK) diff --git a/src/gallium/drivers/radeonsi/Android.mk b/src/gallium/drivers/radeonsi/Android.mk index 22c0fdcd84f..57f3bef36b0 100644 --- a/src/gallium/drivers/radeonsi/Android.mk +++ b/src/gallium/drivers/radeonsi/Android.mk @@ -30,8 +30,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := $(C_SOURCES) -LOCAL_C_INCLUDES := $(TARGET_OUT_HEADERS)/libdrm - +LOCAL_SHARED_LIBRARIES := libdrm libdrm_radeon LOCAL_MODULE := libmesa_pipe_radeonsi include $(GALLIUM_COMMON_MK) |