mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 00:10:51 +07:00
13 lines
447 B
Plaintext
13 lines
447 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
# Copyright (c) 2000-2020 Synology Inc. All rights reserved.
|
||
|
|
||
|
mkdir -p "${DebDevBuild:?undefined}/DEBIAN/"
|
||
|
|
||
|
for _inc in ${ToolChainInclude32:=} ${ToolChainInclude64:=} ${StaticInclude32:=} ${StaticInclude64:=}; do
|
||
|
for _kinc in $(find "usr/include/"* -maxdepth 0 -type d -print | cut -d'/' -f3); do
|
||
|
mkdir -p "$DebDevBuild/$_inc/$_kinc"
|
||
|
cp -a "usr/include/$_kinc/"* "$DebDevBuild/$_inc/$_kinc"
|
||
|
done
|
||
|
done
|
||
|
|