mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-23 23:40:53 +07:00
5fa3ea047a
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
13 lines
447 B
Bash
13 lines
447 B
Bash
#!/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
|
|
|