Add on2-8170 kernel modules
commit: http://git.buildroot.net/buildroot/commit/?id=82fddc399e7e9dc302d6172edd2bcbdf5feca091
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by Alexandre Belloni <[email protected]>
Signed-off-by Peter Korsgaard <[email protected]>
--- 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(+), 0 deletions(-)
package/Config.in +1 -0
@@ -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"
package/on2-8170-modules/Config.in new file +11 -0
@@ -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 Hantro x170 hardware video decompression support. + + 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
package/on2-8170-modules/on2-8170-modules.mk new file +23 -0
@@ -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))