mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
kernel.bbclass: Preserve generated headers
asm/unistd.h includes asm/unistd_64.h on x86_64 and asm/unistd_32.h on i386 but these files are generated files in 3.4 and when we do 'make clean' they get deleted and it shows up as an error when building external modules. May be its a 3.4 kernel bug may be not but make clean should have left the tree in a shape to build modules but it does not. Probably we should run make modules_prepare after having run make clean. (From OE-Core rev: 813256bf7bb6e26d542d5f769e2802564116ebe5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
771f89498c
commit
0a0ffcf18b
|
@ -191,6 +191,8 @@ kernel_do_install() {
|
|||
if [ -f include/generated/bounds.h ]; then
|
||||
cp include/generated/bounds.h $kerneldir/include/generated/bounds.h
|
||||
fi
|
||||
mkdir -p $kerneldir/arch/${ARCH}/include/generated/
|
||||
cp -fR arch/${ARCH}/include/generated/* $kerneldir/arch/${ARCH}/include/generated/
|
||||
|
||||
# Remove the following binaries which cause strip or arch QA errors
|
||||
# during do_package for cross-compiled platforms
|
||||
|
|
Loading…
Reference in New Issue
Block a user