diff options
author | Saul Wold <sgw@linux.intel.com> | 2016-01-19 19:50:37 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-20 17:07:16 +0000 |
commit | b80219eac1695044554c18994124ae32c04642c6 (patch) | |
tree | 155ed090a239b04a666a6d624b94a3355cb555a4 /meta/recipes-core/udev/udev/0001-mtd_probe.h-Add-stdint.h-as-it-was-removed-from-mtd-.patch | |
parent | 1013385b2f04b914538c0699a636074496911788 (diff) | |
download | poky-b80219eac1695044554c18994124ae32c04642c6.tar.gz |
udev: Add 2 patches to support 4.4 kernel
These 2 patches are needed to build udev with the 4.4 kernel, the first
mtd-probe adds back a stdint.h header that was removed in the kernel's mtd-user.h
header file.
The second adds a check for a new header and sets a Makefile variable
to determine which header to use for the new kernel vs older kernels.
(From OE-Core rev: 8084c185c43cb7e7f5e29d31939dfd308f8a0f93)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev/udev/0001-mtd_probe.h-Add-stdint.h-as-it-was-removed-from-mtd-.patch')
-rw-r--r-- | meta/recipes-core/udev/udev/0001-mtd_probe.h-Add-stdint.h-as-it-was-removed-from-mtd-.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-core/udev/udev/0001-mtd_probe.h-Add-stdint.h-as-it-was-removed-from-mtd-.patch b/meta/recipes-core/udev/udev/0001-mtd_probe.h-Add-stdint.h-as-it-was-removed-from-mtd-.patch new file mode 100644 index 0000000000..8d2df1a390 --- /dev/null +++ b/meta/recipes-core/udev/udev/0001-mtd_probe.h-Add-stdint.h-as-it-was-removed-from-mtd-.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 2935f9b2dfb92c3ce4376a988cd01b624430905b Mon Sep 17 00:00:00 2001 | ||
2 | From: Saul Wold <sgw@linux.intel.com> | ||
3 | Date: Tue, 19 Jan 2016 09:49:56 -0800 | ||
4 | Subject: [PATCH 1/2] mtd_probe.h: Add stdint.h as it was removed from | ||
5 | mtd-user.h in the kernel | ||
6 | |||
7 | |||
8 | Upstream-Status: Inappropriate [Upstream unsupported] | ||
9 | |||
10 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
11 | --- | ||
12 | src/mtd_probe/mtd_probe.h | 1 + | ||
13 | 1 file changed, 1 insertion(+) | ||
14 | |||
15 | diff --git a/src/mtd_probe/mtd_probe.h b/src/mtd_probe/mtd_probe.h | ||
16 | index 2a37ede..49c1918 100644 | ||
17 | --- a/src/mtd_probe/mtd_probe.h | ||
18 | +++ b/src/mtd_probe/mtd_probe.h | ||
19 | @@ -18,6 +18,7 @@ | ||
20 | */ | ||
21 | |||
22 | #include <mtd/mtd-user.h> | ||
23 | +#include <stdint.h> | ||
24 | |||
25 | /* Full oob structure as written on the flash */ | ||
26 | struct sm_oob { | ||
27 | -- | ||
28 | 2.5.0 | ||
29 | |||