Commit 3734448abc fixed the build failure
due to .libs being missing but it raises a build failure when .libs is
already there:
nasm -I../ASM/x86/ -Dx64 -f elf64 -o 7zCrcOpt_asm.o ../../lzma/ASM/x86/7zCrcOpt_asm.asm
mkdir .libs
mkdir: cannot create directory '.libs': File exists
Fix this error by adding -p argument to mkdir
Fixes:
- http://autobuild.buildroot.org/results/1ca6db24ef26c57d4c129de7e98383e7e58b366b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Since commit 9f16f65705, build with asm
can fail on:
nasm -I../ASM/x86/ -Dx64 -f elf64 -o 7zCrcOpt_asm.o ../../lzma/ASM/x86/7zCrcOpt_asm.asm
CC LzmaEnc.lo
CC LzmaLib.lo
CC Alloc.lo
CC Threads.lo
cp 7zCrcOpt_asm.o .libs/
cp: cannot create regular file '.libs/': Not a directory
make[4]: *** [Makefile:678: 7zCrcOpt_asm.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
So create .libs directory before copying 7zCrcOpt_asm.o
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>