amdgpu: fix not to add amdgpu.ids when building without amdgpu

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>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
main
Seung-Woo Kim 2018-01-04 15:31:51 +09:00 committed by Michel Dänzer
parent 831036a6f6
commit ad3152fa69
1 changed files with 2 additions and 0 deletions

View File

@ -20,4 +20,6 @@
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
libdrmdatadir = @libdrmdatadir@ libdrmdatadir = @libdrmdatadir@
if HAVE_AMDGPU
dist_libdrmdata_DATA = amdgpu.ids dist_libdrmdata_DATA = amdgpu.ids
endif