summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 321c0a47bb..9bc0e41251 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -466,8 +466,10 @@ do_shared_workdir () {
466 # arch/powerpc/lib/crtsavres.o which is present in 466 # arch/powerpc/lib/crtsavres.o which is present in
467 # KBUILD_LDFLAGS_MODULE, making it required to build external modules. 467 # KBUILD_LDFLAGS_MODULE, making it required to build external modules.
468 if [ ${ARCH} = "powerpc" ]; then 468 if [ ${ARCH} = "powerpc" ]; then
469 mkdir -p $kerneldir/arch/powerpc/lib/ 469 if [ -e arch/powerpc/lib/crtsavres.o ]; then
470 cp arch/powerpc/lib/crtsavres.o $kerneldir/arch/powerpc/lib/crtsavres.o 470 mkdir -p $kerneldir/arch/powerpc/lib/
471 cp arch/powerpc/lib/crtsavres.o $kerneldir/arch/powerpc/lib/crtsavres.o
472 fi
471 fi 473 fi
472 474
473 if [ -d include/generated ]; then 475 if [ -d include/generated ]; then