Fix some build errors
v2 cover Fix some build errors
When building in a tree mostly populated by sstate, the kernel headers may be missing. These patches add an explicit dependency which will get the kernel headers populated.
Gary Thomas (2):
fsl-alsa-plugin: Fix possible build error
gst-fsl-plugin: Fix possible build error
recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb | 3 +++ recipes-multimedia/gstreamer/gst-fsl-plugin.inc | 3 +++ 2 files changed, 6 insertions(+)
Signature · 1 line
1.9.1
PATCH v2 1/2 fsl-alsa-plugin: Fix possible build error
Add a configure-time requirement on the kernel sources. This is needed because parts of this program use kernel headers directly. If the kernel package is restored from sstate, the headers will not be available unless this dependency is explicit. This new behaviour was introduced in OE-core: 6a1ff0e7eac
--- recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb | 3 +++ 1 file changed, 3 insertions(+)
recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb +3 -0
@@ -6,6 +6,9 @@ LICENSE = "GPLv2" SECTION = "multimedia" DEPENDS = "alsa-lib virtual/kernel" +# Make sure kernel sources are available +do_configure[depends] += "virtual/kernel:do_shared_workdir" + LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=94d55d512a9ba36caa9b7df079bae19f" inherit autotools pkgconfig
Signature · 1 line
1.9.1
PATCH v2 2/2 gst-fsl-plugin: Fix possible build error
In reply to Gary ThomasAdd a configure-time requirement on the kernel sources. This is needed because parts of this program use kernel headers directly. If the kernel package is restored from sstate, the headers will not be available unless this dependency is explicit. This new behaviour was introduced in OE-core: 6a1ff0e7eac
--- recipes-multimedia/gstreamer/gst-fsl-plugin.inc | 3 +++ 1 file changed, 3 insertions(+)
recipes-multimedia/gstreamer/gst-fsl-plugin.inc +3 -0
@@ -13,6 +13,9 @@ DEPENDS_append_mx6dl = " imx-lib imx-vpu libfslvpuwrap" DEPENDS_append_mx6sl = " imx-lib" DEPENDS_append_mx6sx = " imx-lib" +# Make sure kernel sources are available +do_configure[depends] += "virtual/kernel:do_shared_workdir" + LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24"
Signature · 1 line
1.9.1