From patchwork Thu Sep 26 23:21:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Spenser Gilliland X-Patchwork-Id: 278297 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 0A5FE2C033E for ; Fri, 27 Sep 2013 09:22:29 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B4AB98C06D; Thu, 26 Sep 2013 23:22:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1dJkrzCCGWKk; Thu, 26 Sep 2013 23:22:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B38928BF11; Thu, 26 Sep 2013 23:22:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 198FC1BF98C for ; Thu, 26 Sep 2013 23:22:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F297A8BF87 for ; Thu, 26 Sep 2013 23:22:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n6mhemYLXg54 for ; Thu, 26 Sep 2013 23:22:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ie0-f179.google.com (mail-ie0-f179.google.com [209.85.223.179]) by whitealder.osuosl.org (Postfix) with ESMTPS id DCB6D8BEF9 for ; Thu, 26 Sep 2013 23:22:08 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id e14so2385814iej.38 for ; Thu, 26 Sep 2013 16:22:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NiUiMruKisUrzyP6bdTr4y/taIyGwW7XgtNl4j66es0=; b=iiTPFf2ScG4uD2w5NP/88TECm48BrKrr6D17hasB7jtD6vBIR/EXEAFHC3PSDyxXP7 aWJppaLhTLZqDU3hFEec19Hc6TWB8kZrBAh1M8DbN3ycjxReE8WiTIe41LErxT2Kqme4 e7Y4P7QgWQQnsdeHLmHX9HiR3XR2CHwZVeF654T/4VsvF2gNhKS1ua++P8tjwdZkScD6 Rq/gQNY1r6gfDx6JevKfIGOpDs3MqVG0q3LK4oZOtDrcihYH82TndfE7zVBBz1rJsw5N BRJK3VkcKaCZoNRHhfwQnbZL6tHdrboaRmqma3gitgVPq7D/B94V/JQTx8oxy+pVNchP rnqg== X-Gm-Message-State: ALoCoQkw4OSroJMq3+dSXjTuPmguW2gUfDQVxcGeCV3ajJzXto2z4dK9dDcYLV57W3+tsZHLGIor X-Received: by 10.42.232.206 with SMTP id jv14mr4356175icb.52.1380237728144; Thu, 26 Sep 2013 16:22:08 -0700 (PDT) Received: from localhost.localdomain (dhcp138.ece.iit.edu. [216.47.144.138]) by mx.google.com with ESMTPSA id yt10sm1006232igb.9.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 26 Sep 2013 16:22:07 -0700 (PDT) From: Spenser Gilliland To: buildroot@busybox.net Date: Thu, 26 Sep 2013 18:21:47 -0500 Message-Id: <1380237714-2470-5-git-send-email-spenser@gillilanding.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1380237714-2470-1-git-send-email-spenser@gillilanding.com> References: <1380237714-2470-1-git-send-email-spenser@gillilanding.com> Subject: [Buildroot] [PATCH v3 04/11] libdrm: remove x11 dependency. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Spenser Gilliland --- package/libdrm/Config.in | 3 +-- package/libdrm/libdrm.mk | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in index 533e985..d67a6c2 100644 --- a/package/libdrm/Config.in +++ b/package/libdrm/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_LIBDRM bool "libdrm" - select BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS - depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_LIBPTHREAD_STUBS depends on BR2_LARGEFILE help Direct Rendering Manager diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk index da3a87c..f9438cd 100644 --- a/package/libdrm/libdrm.mk +++ b/package/libdrm/libdrm.mk @@ -19,6 +19,9 @@ LIBDRM_CONF_OPT = \ --disable-cairo-tests \ --disable-manpages +LIBDRM_CONF_ENV = \ + LIBS="-lrt -lpthread" + ifeq ($(BR2_PACKAGE_LIBDRM_INTEL),y) LIBDRM_CONF_OPT += --enable-intel LIBDRM_DEPENDENCIES += libatomic_ops xlib_libpciaccess