[PATCH libdrm] amdgpu: fix not to add amdgpu.ids when building without amdgpu
Michel Dänzer
michel at daenzer.net
Mon Jan 8 17:35:58 UTC 2018
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 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
>
Reviewed and pushed, thanks!
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the dri-devel
mailing list