amdgpu: add Makefile.sources
PATCH 1/2 amdgpu: add Makefile.sources
--- amdgpu/Makefile.am | 18 ++++-------------- amdgpu/Makefile.sources | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 amdgpu/Makefile.sources
amdgpu/Makefile.am +4 -14
@@ -22,6 +22,8 @@ # Authors: # Jérôme Glisse <[email protected]> +include Makefile.sources + AM_CFLAGS = \ $(WARN_CFLAGS) -Wno-switch-enum \ -I$(top_srcdir) \
@@ -33,22 +35,10 @@ libdrm_amdgpu_ladir = $(libdir) libdrm_amdgpu_la_LDFLAGS = -version-number 1:0:0 -no-undefined libdrm_amdgpu_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@ -libdrm_amdgpu_la_SOURCES = \ - amdgpu.h \ - amdgpu_bo.c \ - amdgpu_cs.c \ - amdgpu_device.c \ - amdgpu_gpu_info.c \ - amdgpu_internal.h \ - amdgpu_vamgr.c \ - util_hash.c \ - util_hash.h \ - util_hash_table.c \ - util_hash_table.h +libdrm_amdgpu_la_SOURCES = $(LIBDRM_AMDGPU_FILES) libdrm_amdgpuincludedir = ${includedir}/libdrm -libdrm_amdgpuinclude_HEADERS = \ - amdgpu.h +libdrm_amdgpuinclude_HEADERS = $(LIBDRM_AMDGPU_H_FILES) pkgconfigdir = @pkgconfigdir@ pkgconfig_DATA = libdrm_amdgpu.pc
amdgpu/Makefile.sources new file +15 -0
@@ -0,0 +1,15 @@ +LIBDRM_AMDGPU_FILES := \ + amdgpu.h \ + amdgpu_bo.c \ + amdgpu_cs.c \ + amdgpu_device.c \ + amdgpu_gpu_info.c \ + amdgpu_internal.h \ + amdgpu_vamgr.c \ + util_hash.c \ + util_hash.h \ + util_hash_table.c \ + util_hash_table.h + +LIBDRM_AMDGPU_H_FILES := \ + amdgpu.h
Signature · 1 line
2.1.4
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 2/2 amdgpu: add Android build support
--- amdgpu/Android.mk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 amdgpu/Android.mk
amdgpu/Android.mk new file +18 -0
@@ -0,0 +1,18 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) + +# Import variables LIBDRM_AMDGPU_FILES, LIBDRM_AMDGPU_H_FILES +include $(LOCAL_PATH)/Makefile.sources + +LOCAL_MODULE := libdrm_amdgpu +LOCAL_MODULE_TAGS := optional + +LOCAL_SHARED_LIBRARIES := libdrm + +LOCAL_SRC_FILES := $(LIBDRM_AMDGPU_FILES) +LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) + +LOCAL_CFLAGS := \ + -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 + +include $(BUILD_SHARED_LIBRARY)
Signature · 6 lines
2.1.4 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 5 lines · Mauro Rossi
--- amdgpu/Makefile.am | 18 ++++-------------- amdgpu/Makefile.sources | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 amdgpu/Makefile.sources
For the series:
Quoted 64 lines
amdgpu/Makefile.am +4
-14@@ -22,6 +22,8 @@ # Authors: # Jérôme Glisse <[email protected]> +include Makefile.sources + AM_CFLAGS = \ $(WARN_CFLAGS) -Wno-switch-enum \ -I$(top_srcdir) \@@ -33,22 +35,10 @@ libdrm_amdgpu_ladir = $(libdir) libdrm_amdgpu_la_LDFLAGS = -version-number 1:0:0 -no-undefined libdrm_amdgpu_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@ -libdrm_amdgpu_la_SOURCES = \ - amdgpu.h \ - amdgpu_bo.c \ - amdgpu_cs.c \ - amdgpu_device.c \ - amdgpu_gpu_info.c \ - amdgpu_internal.h \ - amdgpu_vamgr.c \ - util_hash.c \ - util_hash.h \ - util_hash_table.c \ - util_hash_table.h +libdrm_amdgpu_la_SOURCES = $(LIBDRM_AMDGPU_FILES) libdrm_amdgpuincludedir = ${includedir}/libdrm -libdrm_amdgpuinclude_HEADERS = \ - amdgpu.h +libdrm_amdgpuinclude_HEADERS = $(LIBDRM_AMDGPU_H_FILES) pkgconfigdir = @pkgconfigdir@ pkgconfig_DATA = libdrm_amdgpu.pcamdgpu/Makefile.sources new file +15
-1@@ -0,0 +1,15 @@ +LIBDRM_AMDGPU_FILES := \ + amdgpu.h \ + amdgpu_bo.c \ + amdgpu_cs.c \ + amdgpu_device.c \ + amdgpu_gpu_info.c \ + amdgpu_internal.h \ + amdgpu_vamgr.c \ + util_hash.c \ + util_hash.h \ + util_hash_table.c \ + util_hash_table.h + +LIBDRM_AMDGPU_H_FILES := \ + amdgpu.h --2.1.4
Quoted 5 lines
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Seems like git send-email went awol when formatting this, and git am wasn't able to pick it up :(
On the good side, I've noticed that we can/should drop amdgpu.h from the LIBDRM_AMDGPU_FILES list. So I've amended that and pushed these two.
Thank you Mauro.
Emil
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Seems like git send-email went awol when formatting this, and git am wasn't able to pick it up :(
On the good side, I've noticed that we can/should drop amdgpu.h from the LIBDRM_AMDGPU_FILES list. So I've amended that and pushed these two.
Thank you Mauro.
Emil
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel