diff options
author | Ming Liu <ming.liu@windriver.com> | 2014-04-01 02:57:15 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-29 13:42:19 +0100 |
commit | 78920632232550f2d3ebb6a36ca5aacbdbd2ab44 (patch) | |
tree | d5d93309011f4e4cd8d993a5ca98417f8eb3b364 /meta | |
parent | 5f4a75f904b6e62788976bb557569a01bdc5ab5d (diff) | |
download | poky-78920632232550f2d3ebb6a36ca5aacbdbd2ab44.tar.gz |
kernel: don't populate source symbolic link
/usr/src/kernel/source deployed by kernel-dev package is symbolically
linking to a build-time kernel source folder, which make no sense when
cross-compiling.
Fixed by not populating it at install stage.
(From OE-Core rev: edb85a9589be54a1e9c980aa669a380222a76cf4)
(From OE-Core rev: 4d04d4e6063b1a9dcd8f929e8abfa403ce87eef1)
Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 19b159b492..6ed1cb73c8 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -232,7 +232,7 @@ kernel_do_install() { | |||
232 | # dir. This ensures the original Makefiles are used and not the | 232 | # dir. This ensures the original Makefiles are used and not the |
233 | # redirecting Makefiles in the build directory. | 233 | # redirecting Makefiles in the build directory. |
234 | # | 234 | # |
235 | find . -depth -not -name "*.cmd" -not -name "*.o" -not -path "./Documentation*" -not -path "./.*" -print0 | cpio --null -pdlu $kerneldir | 235 | find . -depth -not -name "*.cmd" -not -name "*.o" -not -path "./Documentation*" -not -path "./source*" -not -path "./.*" -print0 | cpio --null -pdlu $kerneldir |
236 | cp .config $kerneldir | 236 | cp .config $kerneldir |
237 | if [ "${S}" != "${B}" ]; then | 237 | if [ "${S}" != "${B}" ]; then |
238 | pwd="$PWD" | 238 | pwd="$PWD" |