From patchwork Thu Dec 10 18:53:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 555293 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 14DEB1402A1 for ; Fri, 11 Dec 2015 05:53:43 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=d3+3TINr; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CAE7CA6063; Thu, 10 Dec 2015 18:53:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rhsul1g0otCl; Thu, 10 Dec 2015 18:53:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 03C5DA608C; Thu, 10 Dec 2015 18:53:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 610BB1BFA5C for ; Thu, 10 Dec 2015 18:53:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5CE8C92918 for ; Thu, 10 Dec 2015 18:53:36 +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 cMIpv5Uxztwq for ; Thu, 10 Dec 2015 18:53:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by whitealder.osuosl.org (Postfix) with ESMTPS id E8B5292910 for ; Thu, 10 Dec 2015 18:53:34 +0000 (UTC) Received: by mail-wm0-f51.google.com with SMTP id u63so36558973wmu.0 for ; Thu, 10 Dec 2015 10:53:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=dKoA67vLHfgX2r5Ln2UZpkuVUqDo0yRchDVMQw6eLKE=; b=d3+3TINrfm53HzUd+0aU5536PbbZ561gF4sIE7xZ+c11Y74fI0DK+SHPYjBAjeBOMK sxdZpzwCsWzUpTcrFjT6/Fr2YkW/VmmoP6tIOjDDVjhSilJaWnRFb8aFdQrnQO0gX+gf +YwRUGuQQ6YWCv7bZcYp1HPraV0dk5hheOXzpVIBfPZSO/004I/3kuvSvyaE3U9bpzDW sqXTYgz1A0MIBQB8x6yyP852/f786/oa2kLArAB/s1ZBJkypgLcowkCPx8FuK/+gVj0j 0hykDJ+PlA/uscjcXXD64qKeUgtihJNPnuXQe/S7GvMIs0WyTTseryKsWxhj/muTYupC kADw== X-Received: by 10.194.88.102 with SMTP id bf6mr16472671wjb.129.1449773613593; Thu, 10 Dec 2015 10:53:33 -0800 (PST) Received: from gourin.bzh.lan (ns304657.ip-46-105-103.eu. [46.105.103.66]) by smtp.gmail.com with ESMTPSA id jj3sm13505856wjb.13.2015.12.10.10.53.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Dec 2015 10:53:32 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Thu, 10 Dec 2015 19:53:18 +0100 Message-Id: <80f6b1ef6a1b79adc8d1746ce23079ec95b56e61.1449771844.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 6/7] package/ti-gfx: require kernel modules from Kconfig X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" And reorder 'depends' before 'select'. Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni --- package/ti-gfx/Config.in | 3 ++- package/ti-gfx/ti-gfx.mk | 6 ------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/package/ti-gfx/Config.in b/package/ti-gfx/Config.in index 4ee8622..de4e9cb 100644 --- a/package/ti-gfx/Config.in +++ b/package/ti-gfx/Config.in @@ -1,10 +1,11 @@ config BR2_PACKAGE_TI_GFX bool "ti-gfx" + depends on BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC && BR2_arm select BR2_PACKAGE_HAS_LIBEGL select BR2_PACKAGE_HAS_LIBGLES select BR2_PACKAGE_HAS_POWERVR select BR2_PACKAGE_FBSET if !BR2_PACKAGE_BUSYBOX # Runtime dependency only - depends on BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC && BR2_arm + select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra help Graphics libraries for TI boards. diff --git a/package/ti-gfx/ti-gfx.mk b/package/ti-gfx/ti-gfx.mk index d23985f..47eb474 100644 --- a/package/ti-gfx/ti-gfx.mk +++ b/package/ti-gfx/ti-gfx.mk @@ -22,12 +22,6 @@ TI_GFX_INSTALL_STAGING = YES TI_GFX_DEPENDENCIES = linux -# We're building a kernel module without using the kernel-module infra, -# so we need to tell we want module support in the kernel -ifeq ($(BR2_PACKAGE_TI_GFX),y) -LINUX_NEEDS_MODULES = y -endif - TI_GFX_PROVIDES = libegl libgles powervr ifeq ($(BR2_PACKAGE_TI_GFX_ES3),y)