imx-alsa-plugins: new package
PATCH 1/1 imx-alsa-plugins: new package
Freescale specific alsa-lib plugins for the i.MX processor family.
For now, the only provided plugin is:
* Rate Converter Plugin Using Freescale ASRC Resampler
The ASRC hardware resampler can be found on i.MX53 and most i.MX 6 processors.
--- package/freescale-imx/Config.in | 1 + package/freescale-imx/imx-alsa-plugins/Config.in | 23 ++++++++++++++++++++++ .../imx-alsa-plugins/imx-alsa-plugins.hash | 3 +++ .../imx-alsa-plugins/imx-alsa-plugins.mk | 21 ++++++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 package/freescale-imx/imx-alsa-plugins/Config.in create mode 100644 package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.hash create mode 100644 package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.mk
package/freescale-imx/Config.in +1 -0
@@ -69,6 +69,7 @@ config BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S || \ BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7 +source "package/freescale-imx/imx-alsa-plugins/Config.in" source "package/freescale-imx/imx-codec/Config.in" source "package/freescale-imx/imx-kobs/Config.in" source "package/freescale-imx/imx-lib/Config.in"
package/freescale-imx/imx-alsa-plugins/Config.in new file +23 -0
@@ -0,0 +1,23 @@ +config BR2_PACKAGE_IMX_ALSA_PLUGINS + bool "imx-alsa-plugins" + depends on BR2_arm # Only relevant for i.MX + depends on BR2_LINUX_KERNEL + depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib + select BR2_PACKAGE_ALSA_LIB + help + ALSA plugins specific for the Freescale i.MX platform. It + requires a kernel that includes the i.MX specific headers + to be built. + + The following plugins are provided so far: + * Rate Converter Plugin Using Freescale ASRC Hardware + Resampler (i.MX53 and most i.MX6) + + This package is provided by Freescale as-is and doesn't have + an upstream. + +comment "imx-alsa-libs needs an imx-specific Linux kernel to be built" + depends on BR2_arm && !BR2_LINUX_KERNEL + +comment "imx-alsa-libs needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally calculated: +sha256 e76a71e9166fbedeaa535fd7ebc07edc30a1e87f529ab2aa733e3603d3183ed0 imx-alsa-plugins-rel_imx_4.9.x_1.0.0_ga.tar.gz +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING.GPL
package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.mk new file +21 -0
@@ -0,0 +1,21 @@ +################################################################################ +# +# imx-alsa-plugins +# +################################################################################ + +IMX_ALSA_PLUGINS_VERSION = rel_imx_4.9.x_1.0.0_ga +IMX_ALSA_PLUGINS_SITE = https://source.codeaurora.org/external/imx/imx-alsa-plugins +IMX_ALSA_PLUGINS_SITE_METHOD = git +IMX_ALSA_PLUGINS_LICENSE = GPL-2.0+ +IMX_ALSA_PLUGINS_LICENSE_FILES = COPYING.GPL +IMX_ALSA_PLUGINS_DEPENDENCIES = host-pkgconf alsa-lib + +# git, no configure +IMX_ALSA_PLUGINS_AUTORECONF = YES + +# needs access to imx-specific kernel headers +IMX_ALSA_PLUGINS_DEPENDENCIES += linux +IMX_ALSA_PLUGINS_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -idirafter $(LINUX_DIR)/include/uapi" + +$(eval $(autotools-package))
Signature · 1 line
2.16.1
PATCH 1/1 imx-alsa-plugins: new package
Hi J?rg,
Quoted 50 lines · J?rg Krause
Freescale specific alsa-lib plugins for the i.MX processor family.
For now, the only provided plugin is:
* Rate Converter Plugin Using Freescale ASRC ResamplerThe ASRC hardware resampler can be found on i.MX53 and most i.MX 6 processors.
Signed-off-by J?rg Krause <[email protected]>--- package/freescale-imx/Config.in | 1 + package/freescale-imx/imx-alsa-plugins/Config.in | 23 ++++++++++++++++++++++ .../imx-alsa-plugins/imx-alsa-plugins.hash | 3 +++ .../imx-alsa-plugins/imx-alsa-plugins.mk | 21 ++++++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 package/freescale-imx/imx-alsa-plugins/Config.in create mode 100644 package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.hash create mode 100644 package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.mkpackage/freescale-imx/Config.in +1
-0@@ -69,6 +69,7 @@ config BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S || \ BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7 +source "package/freescale-imx/imx-alsa-plugins/Config.in" source "package/freescale-imx/imx-codec/Config.in" source "package/freescale-imx/imx-kobs/Config.in" source "package/freescale-imx/imx-lib/Config.in"package/freescale-imx/imx-alsa-plugins/Config.in new file +13
-0@@ -0,0 +1,23 @@ +config BR2_PACKAGE_IMX_ALSA_PLUGINS + bool "imx-alsa-plugins" + depends on BR2_arm # Only relevant for i.MX + depends on BR2_LINUX_KERNEL + depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib + select BR2_PACKAGE_ALSA_LIB + help + ALSA plugins specific for the Freescale i.MX platform. It + requires a kernel that includes the i.MX specific headers + to be built. + + The following plugins are provided so far: + * Rate Converter Plugin Using Freescale ASRC Hardware
package/freescale-imx/imx-alsa-plugins/Config.in line 23
Quoted 10 lines
package/freescale-imx/imx-alsa-plugins/Config.in new file +10
-0+ Resampler (i.MX53 and most i.MX6) + + This package is provided by Freescale as-is and doesn't have + an upstream. + +comment "imx-alsa-libs needs an imx-specific Linux kernel to be built" + depends on BR2_arm && !BR2_LINUX_KERNEL + +comment "imx-alsa-libs needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS
Should we not be depend on BR2_arm here as well?
depends on BR2_arm && !BR2_TOOLCHAIN_HAS_THREADS
Quoted 43 lines
package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.hash new file +3
-0@@ -0,0 +1,3 @@ +# Locally calculated: +sha256 e76a71e9166fbedeaa535fd7ebc07edc30a1e87f529ab2aa733e3603d3183ed0 imx-alsa-plugins-rel_imx_4.9.x_1.0.0_ga.tar.gz +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING.GPLpackage/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.mk new file +21
-0@@ -0,0 +1,21 @@ +################################################################################ +# +# imx-alsa-plugins +# +################################################################################ + +IMX_ALSA_PLUGINS_VERSION = rel_imx_4.9.x_1.0.0_ga +IMX_ALSA_PLUGINS_SITE = https://source.codeaurora.org/external/imx/imx-alsa-plugins +IMX_ALSA_PLUGINS_SITE_METHOD = git +IMX_ALSA_PLUGINS_LICENSE = GPL-2.0+ +IMX_ALSA_PLUGINS_LICENSE_FILES = COPYING.GPL +IMX_ALSA_PLUGINS_DEPENDENCIES = host-pkgconf alsa-lib + +# git, no configure +IMX_ALSA_PLUGINS_AUTORECONF = YES + +# needs access to imx-specific kernel headers +IMX_ALSA_PLUGINS_DEPENDENCIES += linux +IMX_ALSA_PLUGINS_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -idirafter $(LINUX_DIR)/include/uapi" + +$(eval $(autotools-package))Signature · 6 lines
2.16.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Best regards
Marcus Folkesson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180201/392eaec1/attachment.asc>
PATCH 1/1 imx-alsa-plugins: new package
Hi Marcus,
Quoted 57 lines · Marcus Folkesson
Hi J?rg,
Quoted 54 lines · J?rg Krause
Freescale specific alsa-lib plugins for the i.MX processor family.
For now, the only provided plugin is:
* Rate Converter Plugin Using Freescale ASRC ResamplerThe ASRC hardware resampler can be found on i.MX53 and most i.MX 6 processors.
Signed-off-by J?rg Krause <[email protected]>--- package/freescale-imx/Config.in | 1 + package/freescale-imx/imx-alsa-plugins/Config.in | 23 ++++++++++++++++++++++ .../imx-alsa-plugins/imx-alsa-plugins.hash | 3 +++ .../imx-alsa-plugins/imx-alsa-plugins.mk | 21 ++++++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 package/freescale-imx/imx-alsa-plugins/Config.in create mode 100644 package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.hash create mode 100644 package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.mkpackage/freescale-imx/Config.in +1
-0@@ -69,6 +69,7 @@ config BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S || \ BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7 +source "package/freescale-imx/imx-alsa-plugins/Config.in" source "package/freescale-imx/imx-codec/Config.in" source "package/freescale-imx/imx-kobs/Config.in" source "package/freescale-imx/imx-lib/Config.in"package/freescale-imx/imx-alsa-plugins/Config.in new file +17
-0@@ -0,0 +1,23 @@ +config BR2_PACKAGE_IMX_ALSA_PLUGINS + bool "imx-alsa-plugins" + depends on BR2_arm # Only relevant for i.MX + depends on BR2_LINUX_KERNEL + depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib + select BR2_PACKAGE_ALSA_LIB + help + ALSA plugins specific for the Freescale i.MX platform. It + requires a kernel that includes the i.MX specific headers + to be built. + + The following plugins are provided so far: + * Rate Converter Plugin Using Freescale ASRC Hardware + Resampler (i.MX53 and most i.MX6) + + This package is provided by Freescale as-is and doesn't have + an upstream.
Quoted 8 lines
package/freescale-imx/imx-alsa-plugins/Config.in line 23
Quoted 6 lines
package/freescale-imx/imx-alsa-plugins/Config.in new file +6
-0+ +comment "imx-alsa-libs needs an imx-specific Linux kernel to be built" + depends on BR2_arm && !BR2_LINUX_KERNEL + +comment "imx-alsa-libs needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADSShould we not be depend on
BR2_armhere as well?
There are two comments. One for the imx-specific Linux kernel and one for the threads-dependency.
Quoted 41 lines
depends on
BR2_arm&& !BR2_TOOLCHAIN_HAS_THREADSQuoted 39 lines
package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.hash new file +3
-0@@ -0,0 +1,3 @@ +# Locally calculated: +sha256 e76a71e9166fbedeaa535fd7ebc07edc30a1e87f529ab2aa733e3603d3183ed0 imx-alsa-plugins-rel_imx_4.9.x_1.0.0_ga.tar.gz +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING.GPLpackage/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.mk new file +21
-0@@ -0,0 +1,21 @@ +################################################################################ +# +# imx-alsa-plugins +# +################################################################################ + +IMX_ALSA_PLUGINS_VERSION = rel_imx_4.9.x_1.0.0_ga +IMX_ALSA_PLUGINS_SITE = https://source.codeaurora.org/external/imx/imx-alsa-plugins +IMX_ALSA_PLUGINS_SITE_METHOD = git +IMX_ALSA_PLUGINS_LICENSE = GPL-2.0+ +IMX_ALSA_PLUGINS_LICENSE_FILES = COPYING.GPL +IMX_ALSA_PLUGINS_DEPENDENCIES = host-pkgconf alsa-lib + +# git, no configure +IMX_ALSA_PLUGINS_AUTORECONF = YES + +# needs access to imx-specific kernel headers +IMX_ALSA_PLUGINS_DEPENDENCIES += linux +IMX_ALSA_PLUGINS_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -idirafter $(LINUX_DIR)/include/uapi" + +$(eval $(autotools-package))Signature · 1 line
2.16.1
Quoted 7 lines
Quoted 4 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildrootBest regards
Marcus Folkesson
Best regards
J?rg Krause
PATCH 1/1 imx-alsa-plugins: new package
Hi J?rg,
Quoted 34 lines · J?rg Krause
Quoted 24 lines · Marcus Folkesson
Quoted 23 lines · J?rg Krause
package/freescale-imx/imx-alsa-plugins/Config.in new file +17
-0@@ -0,0 +1,23 @@ +config BR2_PACKAGE_IMX_ALSA_PLUGINS + bool "imx-alsa-plugins" + depends on BR2_arm # Only relevant for i.MX + depends on BR2_LINUX_KERNEL + depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib + select BR2_PACKAGE_ALSA_LIB + help + ALSA plugins specific for the Freescale i.MX platform. It + requires a kernel that includes the i.MX specific headers + to be built. + + The following plugins are provided so far: + * Rate Converter Plugin Using Freescale ASRC Hardware + Resampler (i.MX53 and most i.MX6) + + This package is provided by Freescale as-is and doesn't have + an upstream.Quoted 8 lines
package/freescale-imx/imx-alsa-plugins/Config.in line 23
Quoted 6 lines
package/freescale-imx/imx-alsa-plugins/Config.in new file +6
-0+ +comment "imx-alsa-libs needs an imx-specific Linux kernel to be built" + depends on BR2_arm && !BR2_LINUX_KERNEL + +comment "imx-alsa-libs needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADSShould we not be depend on
BR2_armhere as well?
Quoted 2 lines
There are two comments. One for the imx-specific Linux kernel and one for the threads-dependency.
But we don't want the threads dependency comment to show when the architecture is something other than arm. This is because adding threads support would only eliminate the comment, but the imx-alsa-plugins package will still not be selectable.
We usually do this in a separate 'depends' line, so:
comment "imx-alsa-libs needs a toolchain w/ threads"
depends on BR2_arm
depends on !BR2_TOOLCHAIN_HAS_THREADS
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -PATCH 1/1 imx-alsa-plugins: new package
Hi Baruch,
Quoted 45 lines · Baruch Siach
Hi J?rg,
Quoted 34 lines · J?rg Krause
Quoted 24 lines · Marcus Folkesson
Quoted 23 lines · J?rg Krause
package/freescale-imx/imx-alsa-plugins/Config.in new file +17
-0@@ -0,0 +1,23 @@ +config BR2_PACKAGE_IMX_ALSA_PLUGINS + bool "imx-alsa-plugins" + depends on BR2_arm # Only relevant for i.MX + depends on BR2_LINUX_KERNEL + depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib + select BR2_PACKAGE_ALSA_LIB + help + ALSA plugins specific for the Freescale i.MX platform. It + requires a kernel that includes the i.MX specific headers + to be built. + + The following plugins are provided so far: + * Rate Converter Plugin Using Freescale ASRC Hardware + Resampler (i.MX53 and most i.MX6) + + This package is provided by Freescale as-is and doesn't have + an upstream.Quoted 8 lines
package/freescale-imx/imx-alsa-plugins/Config.in line 23
Quoted 6 lines
package/freescale-imx/imx-alsa-plugins/Config.in new file +6
-0+ +comment "imx-alsa-libs needs an imx-specific Linux kernel to be built" + depends on BR2_arm && !BR2_LINUX_KERNEL + +comment "imx-alsa-libs needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADSShould we not be depend on
BR2_armhere as well?Quoted 2 lines
There are two comments. One for the imx-specific Linux kernel and one for the threads-dependency.
But we don't want the threads dependency comment to show when the architecture is something other than arm. This is because adding threads support would only eliminate the comment, but the imx-alsa-plugins package will still not be selectable.
Quoted 8 lines
We usually do this in a separate 'depends' line, so:
comment "imx-alsa-libs needs a toolchain w/ threads"
depends onBR2_arm
depends on !BR2_TOOLCHAIN_HAS_THREADSbaruch
I see! I'll send a new version of the patch.
J?rg