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

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

 



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 at 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
-- 
1.7.4.1



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux