Fix builds of the ppp recipe with most toolchains

A patch in oe-core is needed, at this time, to fix builds with
linux-libc-headers from the 4.8 Linux kernel or newer, which is not the case
for most external toolchains. Unfortunately, this patch also breaks the build
of ppp with older linux-libc-headers, so we need to revert it. A note in the
README is added explaining how to disable this for external toolchains with
recent enough kernel libc headers.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2016-10-18 15:31:44 -07:00
parent 9bb9adb28d
commit ec84c4680d
2 changed files with 16 additions and 6 deletions

View File

@@ -0,0 +1,6 @@
# This patch is needed, at this time, to fix builds with linux-libc-headers
# from the 4.8 Linux kernel or newer, which is not the case for most external
# toolchains. A separate variable is used to ensure the user can undo it from
# local.conf if they're using a newer toolchain.
KERNEL_48_PATCH_REMOVE ?= "file://ppp-fix-building-with-linux-4.8.patch"
SRC_URI_remove = "${KERNEL_48_PATCH_REMOVE}"