mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
Merge pull request #1691 from pullmoll/linux4.0
linux4.0: make sure $hdrdest dirs exist
This commit is contained in:
commit
9f1f0ffe90
1 changed files with 8 additions and 6 deletions
|
@ -151,9 +151,11 @@ do_install() {
|
||||||
mkdir -p ${hdrdest}/arch/${arch}/kernel
|
mkdir -p ${hdrdest}/arch/${arch}/kernel
|
||||||
cp arch/x86/Makefile ${hdrdest}/arch/${arch}
|
cp arch/x86/Makefile ${hdrdest}/arch/${arch}
|
||||||
if [ "$arch" = "i386" ]; then
|
if [ "$arch" = "i386" ]; then
|
||||||
|
mkdir -p ${hdrdest}/arch/x86
|
||||||
cp arch/x86/Makefile_32.cpu ${hdrdest}/arch/x86
|
cp arch/x86/Makefile_32.cpu ${hdrdest}/arch/x86
|
||||||
fi
|
fi
|
||||||
if [ "$arch" = "i386" -o "$arch" = "x86_64" ]; then
|
if [ "$arch" = "i386" -o "$arch" = "x86_64" ]; then
|
||||||
|
mkdir -p ${hdrdest}/arch/x86/kernel
|
||||||
cp arch/x86/kernel/asm-offsets.s ${hdrdest}/arch/x86/kernel
|
cp arch/x86/kernel/asm-offsets.s ${hdrdest}/arch/x86/kernel
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue