package/libvpx: Fix compilation when __uClinux__ is defined
PATCH 1/1 package/libvpx: Fix compilation when __uClinux__ is defined
The buildroot toolchains do not contain lddk.h
Fixes
http://autobuild.buildroot.net/results/ae7/ae7ba1d5979ebe39aace628fa8ff2c8f08a70a98/
--- ...mem-vpx_mem.h-Fix-compilation-with-uClibc.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/libvpx/0001-vpx_mem-vpx_mem.h-Fix-compilation-with-uClibc.patch
package/libvpx/0001-vpx_mem-vpx_mem.h-Fix-compilation-with-uClibc.patch new file +27 -0
@@ -0,0 +1,27 @@ +From 90845a3a263e0f37b9c756c0b01377b9d1a225c9 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Sun, 31 Jul 2016 10:37:05 +0200 +Subject: [PATCH 1/1] vpx_mem/vpx_mem.h: Fix compilation with uClibc + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + vpx_mem/vpx_mem.h | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/vpx_mem/vpx_mem.h b/vpx_mem/vpx_mem.h +index c14f288..82df745 100644 +--- a/vpx_mem/vpx_mem.h ++++ b/vpx_mem/vpx_mem.h +@@ -12,9 +12,6 @@ + #define VPX_MEM_VPX_MEM_H_ + + #include "vpx_config.h" +-#if defined(__uClinux__) +-# include <lddk.h> +-#endif + + #include <stdlib.h> + #include <stddef.h> +-- +2.8.1 +
Signature · 1 line
2.8.1
PATCH 1/1 package/libvpx: Fix compilation when __uClinux__ is defined
Quoted 31 lines · Bernd Kuhls
The buildroot toolchains do not contain
lddk.hFixes
http://autobuild.buildroot.net/results/ae7/ae7ba1d5979ebe39aace628fa8ff2c8f08a70a98/Signed-off-by Bernd Kuhls <[email protected]>---
...mem-vpx_mem.h-Fix-compilation-with-uClibc.patch | 27 ++++++++++++++++++++++1 file changed, 27 insertions(+)create mode 100644
package/libvpx/0001-vpx_mem-vpx_mem.h-Fix-compilation-with-uClibc.patchpackage/libvpx/0001-vpx_mem-vpx_mem.h-Fix-compilation-with-uClibc.patch new file +11
-0@@ -0,0 +1,27 @@ +From 90845a3a263e0f37b9c756c0b01377b9d1a225c9 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Sun, 31 Jul 2016 10:37:05 +0200 +Subject: [PATCH 1/1] vpx_mem/vpx_mem.h: Fix compilation with uClibc + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + vpx_mem/vpx_mem.h | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/vpx_mem/vpx_mem.h b/vpx_mem/vpx_mem.h
package/libvpx/0001-vpx_mem-vpx_mem.h-Fix-compilation-with-uClibc.patch line 21
Quoted 10 lines
package/libvpx/0001-vpx_mem-vpx_mem.h-Fix-compilation-with-uClibc.patch new file +10
-0+index c14f288..82df745 100644 +--- a/vpx_mem/vpx_mem.h ++++ b/vpx_mem/vpx_mem.h +@@ -12,9 +12,6 @@ + #define VPX_MEM_VPX_MEM_H_ + + #include "vpx_config.h" +-#if defined(__uClinux__) +-# include <lddk.h> +-#endif
better to use
if defined(__uClinux__) && defined(CHIP_DM642)
may be if someone is using BR for ti_c6x
Quoted 9 lines
package/libvpx/0001-vpx_mem-vpx_mem.h-Fix-compilation-with-uClibc.patch new file +6
-1+ + #include <stdlib.h> + #include <stddef.h> +-- +2.8.1 + --2.8.1
Quoted 4 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160803/56168dc2/attachment.asc>
PATCH 1/1 package/libvpx: Fix compilation when __uClinux__ is defined
Hello,
Quoted 3 lines · Khem Raj
better to use
if
defined(__uClinux__)&&defined(CHIP_DM642)
Possibly, but where would lddk.h come from? I don't see it in the uClibc-ng sources, and I don't see it in the kernel either. So I don't quite see this header could end up in a toolchain.
Quoted 1 line
may be if someone is using BR for
ti_c6x
A platform for which we don't have support today.
I'm all for making proper upstreamable patches, but in this specific case, I'm not even sure where lddk.h is supposed to come from.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 package/libvpx: Fix compilation when __uClinux__ is defined
Quoted 12 lines · Thomas Petazzoni
Hello,
Quoted 3 lines · Khem Raj
better to use
if
defined(__uClinux__)&&defined(CHIP_DM642)Possibly, but where would
lddk.hcome from? I don't see it in the uClibc-ng sources, and I don't see it in the kernel either. So I don't quite see this header could end up in a toolchain.
Quoted 7 lines
Quoted 1 line
may be if someone is using BR for
ti_c6xA platform for which we don't have support today.
I'm all for making proper upstreamable patches, but in this specific case, I'm not even sure where
lddk.his supposed to come from.
For life of me I can not find out, so most probably, its some SOC devkit so its fine to ignore this.
Quoted 4 lines
Best regards,
Thomas
PATCH 1/1 package/libvpx: Fix compilation when __uClinux__ is defined
Hello,
Quoted 2 lines · Khem Raj
For life of me I can not find out, so most probably, its some SOC devkit so its fine to ignore this.
I also Google'd for this header, and can't seem to find it anywhere, so it really seems like some very BSP-specific thingy that was added, and there's no reason to keep carrying I believe.
I just checked, this include has been here in the Git repository since the initial code base import, so there's no way to know more precisely why it was added.
Bernd, could you submit the patch removing this header file to the upstream project?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Thomas Petazzoni
AppliedPATCH 1/1 package/libvpx: Fix compilation when __uClinux__ is defined
In reply to Bernd KuhlsHello,
Quoted 10 lines · Bernd Kuhls
The buildroot toolchains do not contain
lddk.hFixes
http://autobuild.buildroot.net/results/ae7/ae7ba1d5979ebe39aace628fa8ff2c8f08a70a98/Signed-off-by Bernd Kuhls <[email protected]>--- ...mem-vpx_mem.h-Fix-compilation-with-uClibc.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/libvpx/0001-vpx_mem-vpx_mem.h-Fix-compilation-with-uClibc.patch
Applied to master after tweaking the commit log and the patch description. Please send the patch upstream after taking Khem's comment into account.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com