Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCHv2 1/3] Add on2-8170 kernel modules
@ 2013-06-09 18:38 Alexandre Belloni
  2013-06-09 18:38 ` [Buildroot] [PATCHv2 2/3] Add proprietary libraries for Hantro x170 HW decoding Alexandre Belloni
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alexandre Belloni @ 2013-06-09 18:38 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 package/Config.in                            |  1 +
 package/on2-8170-modules/Config.in           | 10 ++++++++++
 package/on2-8170-modules/on2-8170-modules.mk | 20 ++++++++++++++++++++
 3 files changed, 31 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..f082c5f
--- /dev/null
+++ b/package/on2-8170-modules/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_ON2_8170_MODULES
+	bool "on2-8170 modules"
+	depends on BR2_LINUX_KERNEL
+	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..53286fb
--- /dev/null
+++ b/package/on2-8170-modules/on2-8170-modules.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# on2-8170-modules
+#
+################################################################################
+
+ON2_8170_MODULES_VERSION = 73b08061d30789178e692bc332b73d1d9922bf39
+ON2_8170_MODULES_SITE    = git://github.com/alexandrebelloni/on2-8170-modules.git
+
+ON2_8170_MODULES_DEPENDENCIES = linux
+
+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))
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-10 16:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-09 18:38 [Buildroot] [PATCHv2 1/3] Add on2-8170 kernel modules Alexandre Belloni
2013-06-09 18:38 ` [Buildroot] [PATCHv2 2/3] Add proprietary libraries for Hantro x170 HW decoding Alexandre Belloni
2013-06-09 18:38 ` [Buildroot] [PATCHv2 3/3] Add gstreamer plugin for Hantro x170 Alexandre Belloni
2013-06-10 16:57 ` [Buildroot] [PATCHv2 1/3] Add on2-8170 kernel modules Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox