From patchwork Thu Jan 4 06:31:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Seung-Woo Kim X-Patchwork-Id: 10143945 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8BD4160594 for ; Thu, 4 Jan 2018 06:31:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 785952841C for ; Thu, 4 Jan 2018 06:31:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6AB0228433; Thu, 4 Jan 2018 06:31:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5BD24283AF for ; Thu, 4 Jan 2018 06:31:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 874E089AC2; Thu, 4 Jan 2018 06:31:43 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 99299899D5; Thu, 4 Jan 2018 06:31:41 +0000 (UTC) Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20180104063137epoutp01a78d1ff21206c7df508aa29397b7c8d9~Gh6wZUbD_1755417554epoutp01Z; Thu, 4 Jan 2018 06:31:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20180104063137epoutp01a78d1ff21206c7df508aa29397b7c8d9~Gh6wZUbD_1755417554epoutp01Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1515047497; bh=s9ydAEuRmo9OX4jal+Up2ONJhmrnp/lczC3M7en8Hak=; h=From:To:Cc:Subject:Date:References:From; b=r9oiuyyi1P9QKhk98Ozp6OlQQtPCLv9IA/2vVxBbH8R4VmtdsiS/gpA8LeOxjciIm A/rgTSCoJVXBGc4lMz+HYpAKJALNyrJq78b9Xnm4U+AElShAebstFM0fsYW2ysryas QJzc40GFIplCOpvjBzTSyVUgoGgxJqUEkxx5oIDw= Received: from epsmges2p2.samsung.com (unknown [182.195.40.70]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20180104063136epcas1p4edb0b1f07ddcebdaeb1831cf86df9bb2~Gh6vdj02d2348523485epcas1p46; Thu, 4 Jan 2018 06:31:36 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id BD.4C.04334.84ACD4A5; Thu, 4 Jan 2018 15:31:36 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20180104063136epcas2p3452c49068b47e2324ebff56845c164f3~Gh6vC1Lc13116231162epcas2p39; Thu, 4 Jan 2018 06:31:36 +0000 (GMT) X-AuditID: b6c32a46-9adff700000010ee-1e-5a4dca4847fd Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id D3.77.03909.84ACD4A5; Thu, 4 Jan 2018 15:31:36 +0900 (KST) Received: from localhost.localdomain ([10.113.77.108]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P2000766Q4MG000@mmp1.samsung.com>; Thu, 04 Jan 2018 15:31:36 +0900 (KST) From: Seung-Woo Kim To: dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org Subject: [PATCH libdrm] amdgpu: fix not to add amdgpu.ids when building without amdgpu Date: Thu, 04 Jan 2018 15:31:51 +0900 Message-id: <1515047511-22663-1-git-send-email-sw0312.kim@samsung.com> X-Mailer: git-send-email 1.7.4.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEKsWRmVeSWpSXmKPExsWy7bCmua7HKd8og0XNJhbT7uxmtVi6vpHd 4srX92wWe67eY7KYMfklm8XcWZeYHNg8Wi/9ZfPYOesuu8f97uNMHn1bVjEGsESl2mSkJqak Fimk5iXnp2TmpdsqeQfHO8ebmhkY6hpaWpgrKeQl5qbaKrn4BOi6ZeYAbVdSKEvMKQUKBSQW Fyvp29kU5ZeWpCpk5BeX2CpFGxoa6RkamOsZGRnpmRjHWhmZApUkpGbsnveMueAsS8XHD9uZ GhjvM3cxcnBICJhIzPsV3sXIxSEksINR4lLjLRYI5zujxKPTt4GKOMGKzj+aywyR2M0o0bNs CSOE84NR4vjDBawgVWwCOhL7l/wGs0UEnCT+vjrFAmIzC6RL3OpeDDZJWCBCon9mByOIzSKg KtHa95UV5AxeATeJ5pfOEMsUJBbce8sGMl9C4CmrxNx93xghEi4SjbPWs0DYwhKvjm9hh7Cl JZ6t2ghV084osexaAETzFEaJXVc3MUEkjCWeLexigjiIT6Lj8F92iP95JTrahCBKPCS2tW1k hbAdJX6+uwF2s5BArMSEyztYJzBKLmBkWMUollpQnJueWmxUYKRXnJhbXJqXrpecn7uJEZwe tNx2MC4553OIUYCDUYmH98Ytnygh1sSy4srcQ4wSHMxKIrwPj/pGCfGmJFZWpRblxxeV5qQW H2I0BQbHRGYp0eR8YOrKK4k3NLE0MDEzMzI3swAmAHHe1gCXKCGB9MSS1OzU1ILUIpg+Jg5O qQbGtp3/Zsa/3jPDPkRU2j743TMRnotpjA0Rn9sv3Jzi68BaeXG/8N1XdVJnXhy+xcpSdLuE W3udrG3Yr8dtITeK2yqSFjXbthfbzjtivjXp2IPXXQrWPx9d/JC17vvvxnWTAyb2bSi6fDiv IF3m3s1tmac5bnbsf2+roL7v+5YpL1rZlcuftrk8UGIpzkg01GIuKk4EAETIpoclAwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrJJMWRmVeSWpSXmKPExsVy+t9jAV2PU75RBi/PiFtMu7Ob1WLp+kZ2 iytf37NZ7Ll6j8lixuSXbBZzZ11icmDzaL30l81j56y77B73u48zefRtWcUYwBLFZZOSmpNZ llqkb5fAlbF73jPmgrMsFR8/bGdqYLzP3MXIySEhYCJx/tFcIJuLQ0hgJ6PEzKtHWCCcH4wS v94uZgepYhPQkdi/5DcriC0i4CTx99UpFhCbWSBdYsKM2UxdjBwcwgIREle/mICEWQRUJVr7 vrKChHkF3CSaXzpD7FKQWHDvLdsERq4FjAyrGCVTC4pz03OLjQqM8lLL9YoTc4tL89L1kvNz NzECA2DbYa3+HYyPl8QfYhTgYFTi4b1xyydKiDWxrLgy9xCjBAezkgjvw6O+UUK8KYmVValF +fFFpTmpxYcYpTlYlMR5+fOPRQoJpCeWpGanphakFsFkmTg4pRoYk7y1pRzaDD7rzbn9ScxF 7tyl3iU7+z3UdI8unbWx+87d0tVzHxy6+cvpKAuT3C5N/djMwxW/pJ5ePnfa88KenbFsgUsv VC3pZfj8uMWrxMY9MohnesbE28s//PBIZnawC26/lDOxROdJc9JclbqpzW3L37c0/07sdd+U wxJqo7fOcPmrLTu/KrEUZyQaajEXFScCAENE04j8AQAA X-CMS-MailID: 20180104063136epcas2p3452c49068b47e2324ebff56845c164f3 X-Msg-Generator: CA CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20180104063136epcas2p3452c49068b47e2324ebff56845c164f3 X-RootMTR: 20180104063136epcas2p3452c49068b47e2324ebff56845c164f3 References: Cc: alexander.deucher@amd.com, sw0312.kim@samsung.com, emil.l.velikov@gmail.com, Xiaojie.Yuan@amd.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The amdgpu.ids is only required when building with amdgpu support. Fix not to add it without amdgpu. Signed-off-by: Seung-Woo Kim --- 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