From patchwork Tue Jun 11 10:18:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Belloni X-Patchwork-Id: 250522 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id C6C4F2C0092 for ; Tue, 11 Jun 2013 20:18:57 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4FCFEA00A0; Tue, 11 Jun 2013 10:18:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jK3m5qklogY4; Tue, 11 Jun 2013 10:18:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 71DA4A0027; Tue, 11 Jun 2013 10:18:49 +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 703C88F753 for ; Tue, 11 Jun 2013 10:18:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 240E28BDF6 for ; Tue, 11 Jun 2013 10:18:52 +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 oVXEjpZfS1PV for ; Tue, 11 Jun 2013 10:18:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.35.102]) by whitealder.osuosl.org (Postfix) with ESMTP id 91F418BB82 for ; Tue, 11 Jun 2013 10:18:49 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id E787F79A; Tue, 11 Jun 2013 12:18:48 +0200 (CEST) Received: from localhost (unknown [192.88.172.52]) by mail.free-electrons.com (Postfix) with ESMTPSA id 42419753; Tue, 11 Jun 2013 12:18:48 +0200 (CEST) From: Alexandre Belloni To: buildroot@busybox.net Date: Tue, 11 Jun 2013 12:18:39 +0200 Message-Id: <1370945921-23444-1-git-send-email-alexandre.belloni@free-electrons.com> X-Mailer: git-send-email 1.8.1.2 Subject: [Buildroot] [PATCHv3 1/3] Add on2-8170 kernel modules 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: Alexandre Belloni --- package/Config.in | 1 + package/on2-8170-modules/Config.in | 11 +++++++++++ package/on2-8170-modules/on2-8170-modules.mk | 23 +++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 package/on2-8170-modules/Config.in create mode 100644 package/on2-8170-modules/on2-8170-modules.mk diff --git a/package/Config.in b/package/Config.in index ce82e99..e915abe 100644 --- a/package/Config.in +++ b/package/Config.in @@ -272,6 +272,7 @@ source "package/minicom/Config.in" source "package/nanocom/Config.in" source "package/neard/Config.in" source "package/ofono/Config.in" +source "package/on2-8170-modules/Config.in" source "package/open2300/Config.in" source "package/openocd/Config.in" source "package/owl-linux/Config.in" diff --git a/package/on2-8170-modules/Config.in b/package/on2-8170-modules/Config.in new file mode 100644 index 0000000..0c13b8c --- /dev/null +++ b/package/on2-8170-modules/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_ON2_8170_MODULES + bool "on2-8170 modules" + depends on BR2_LINUX_KERNEL + depends on BR2_arm926t + help + Kernel modules for the Hantro x170 hardware video decompression. + + http://www.at91.com/linux4sam/bin/view/Linux4SAM/SAM9M10Gstreamer + +comment "on2-8170 modules requires a linux kernel to be built" + depends on !BR2_LINUX_KERNEL diff --git a/package/on2-8170-modules/on2-8170-modules.mk b/package/on2-8170-modules/on2-8170-modules.mk new file mode 100644 index 0000000..800abc7 --- /dev/null +++ b/package/on2-8170-modules/on2-8170-modules.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# on2-8170-modules +# +################################################################################ + +ON2_8170_MODULES_VERSION = 73b0806 +ON2_8170_MODULES_SITE = http://github.com/alexandrebelloni/on2-8170-modules/tarball/$(ON2_8170_MODULES_VERSION) + +ON2_8170_MODULES_DEPENDENCIES = linux + +ON2_8170_MODULES_LICENSE = GPLv2+ +#There is no license file + +define ON2_8170_MODULES_BUILD_CMDS + $(MAKE) -C $(LINUX_DIR) $(LINUX_MAKE_FLAGS) M=$(@D) +endef + +define ON2_8170_MODULES_INSTALL_TARGET_CMDS + $(MAKE) -C $(LINUX_DIR) $(LINUX_MAKE_FLAGS) M=$(@D) modules_install +endef + +$(eval $(generic-package))