diff mbox

[libdrm] amdgpu: fix not to add amdgpu.ids when building without amdgpu

Message ID 1515047511-22663-1-git-send-email-sw0312.kim@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Seung-Woo Kim Jan. 4, 2018, 6:31 a.m. UTC
The amdgpu.ids is only required when building with amdgpu support.
Fix not to add it without amdgpu.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
---
 data/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Comments

Michel Dänzer Jan. 8, 2018, 5:35 p.m. UTC | #1
On 2018-01-04 07:31 AM, Seung-Woo Kim wrote:
> The amdgpu.ids is only required when building with amdgpu support.
> Fix not to add it without amdgpu.
> 
> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
> ---
>  data/Makefile.am |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/data/Makefile.am b/data/Makefile.am
> index eba915d..897a7f3 100644
> --- a/data/Makefile.am
> +++ b/data/Makefile.am
> @@ -20,4 +20,6 @@
>  #  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
>  
>  libdrmdatadir = @libdrmdatadir@
> +if HAVE_AMDGPU
>  dist_libdrmdata_DATA = amdgpu.ids
> +endif
> 

Reviewed and pushed, thanks!
diff mbox

Patch

diff --git a/data/Makefile.am b/data/Makefile.am
index eba915d..897a7f3 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -20,4 +20,6 @@ 
 #  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 libdrmdatadir = @libdrmdatadir@
+if HAVE_AMDGPU
 dist_libdrmdata_DATA = amdgpu.ids
+endif