diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-03-06 11:37:10 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-06 16:44:37 +0000 |
commit | c2fecb0a513cfe5ddf75bfe24e98dec15dab3adc (patch) | |
tree | 8f84d32b48206c9319673f74fd1610d9f0d7ab9f /meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch | |
parent | 04bfce60c8c8e4d0ba17460e89d7a6d3d071c147 (diff) | |
download | poky-c2fecb0a513cfe5ddf75bfe24e98dec15dab3adc.tar.gz |
linux-libc-headers: update to 5.x headers
Updating the linux-libc-headers to the 5.x kernel variant to match
the latest reference kernel in the 2.7 release.
We have two patches refreshed for context changes, and three patches
dropped since they have been merged to the mainline kernel and are
no longer necessary.
(From OE-Core rev: f6c825c41e3d4c14ae4ba0b2a07cc41d538e0d61)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch')
-rw-r--r-- | meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch index 9ba1c076e8..a5ded602e5 100644 --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch | |||
@@ -1,8 +1,7 @@ | |||
1 | From 694eba7bb974f6b8bd308804cb24350150108b2b Mon Sep 17 00:00:00 2001 | 1 | From 694eba7bb974f6b8bd308804cb24350150108b2b Mon Sep 17 00:00:00 2001 |
2 | From: He Zhe <zhe.he@windriver.com> | 2 | From: He Zhe <zhe.he@windriver.com> |
3 | Date: Wed, 21 Nov 2018 15:12:43 +0800 | 3 | Date: Wed, 21 Nov 2018 15:12:43 +0800 |
4 | Subject: [PATCH] scripts: Use fixed input and output files instead of pipe for | 4 | Subject: [PATCH] scripts: Use fixed input and output files instead of pipe for here-doc |
5 | here-doc | ||
6 | 5 | ||
7 | There was a bug of "as" in binutils that when it checks if the input file and | 6 | There was a bug of "as" in binutils that when it checks if the input file and |
8 | output file are the same one, it would not check if they are on the same block | 7 | output file are the same one, it would not check if they are on the same block |
@@ -44,14 +43,14 @@ Signed-off-by: He Zhe <zhe.he@windriver.com> | |||
44 | 1 file changed, 4 insertions(+), 1 deletion(-) | 43 | 1 file changed, 4 insertions(+), 1 deletion(-) |
45 | 44 | ||
46 | diff --git a/scripts/gcc-goto.sh b/scripts/gcc-goto.sh | 45 | diff --git a/scripts/gcc-goto.sh b/scripts/gcc-goto.sh |
47 | index 083c526..8dfac55 100755 | 46 | index 8b980fb22..d256a9438 100755 |
48 | --- a/scripts/gcc-goto.sh | 47 | --- a/scripts/gcc-goto.sh |
49 | +++ b/scripts/gcc-goto.sh | 48 | +++ b/scripts/gcc-goto.sh |
50 | @@ -3,7 +3,7 @@ | 49 | @@ -3,7 +3,7 @@ |
51 | # Test for gcc 'asm goto' support | 50 | # Test for gcc 'asm goto' support |
52 | # Copyright (C) 2010, Jason Baron <jbaron@redhat.com> | 51 | # Copyright (C) 2010, Jason Baron <jbaron@redhat.com> |
53 | 52 | ||
54 | -cat << "END" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y" | 53 | -cat << "END" | $@ -x c - -fno-PIE -c -o /dev/null |
55 | +cat << "END" > ./input | 54 | +cat << "END" > ./input |
56 | int main(void) | 55 | int main(void) |
57 | { | 56 | { |
@@ -61,8 +60,8 @@ index 083c526..8dfac55 100755 | |||
61 | } | 60 | } |
62 | END | 61 | END |
63 | + | 62 | + |
64 | +$@ -x c ./input -c -o ./output && echo "y" | 63 | +$@ -x c ./input -fno-PIE -c -o ./output |
65 | +rm ./input ./output | 64 | +rm ./input ./output |
66 | -- | 65 | -- |
67 | 2.7.4 | 66 | 2.19.1 |
68 | 67 | ||