Re: [PATCH 1/2] amdgpu: add Makefile.sources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 18, 2015 at 5:43 AM, Mauro Rossi <issor.oruam@xxxxxxxxx> wrote:
> ---
>  amdgpu/Makefile.am      | 18 ++++--------------
>  amdgpu/Makefile.sources | 15 +++++++++++++++
>  2 files changed, 19 insertions(+), 14 deletions(-)
>  create mode 100644 amdgpu/Makefile.sources

For the series:
Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx>

>
> diff --git a/amdgpu/Makefile.am b/amdgpu/Makefile.am
> index ed97803..37f7198 100644
> --- a/amdgpu/Makefile.am
> +++ b/amdgpu/Makefile.am
> @@ -22,6 +22,8 @@
>  # Authors:
>  #    Jérôme Glisse <glisse@xxxxxxxxxxxxxxx>
>
> +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
> diff --git a/amdgpu/Makefile.sources b/amdgpu/Makefile.sources
> new file mode 100644
> index 0000000..c359f17
> --- /dev/null
> +++ b/amdgpu/Makefile.sources
> @@ -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
>
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux