dist: tk4: make a full copy of arch code in include path

Upstream: no

TK4 have this odd behaviour, just try to be compatible.

Signed-off-by: Kairui Song <kasong@tencent.com>
This commit is contained in:
Kairui Song 2022-10-13 20:59:10 +08:00
parent ac2b844f13
commit 0bd807ff31
1 changed files with 2 additions and 2 deletions

View File

@ -863,8 +863,8 @@ InstKernelDevel() {
cp -a $_KernBuild/arch/$Arch/kernel/module.lds arch/$Arch/kernel/
fi
# Symlink include/asm-$Arch for better compatibility with some old system
ln -sfr arch/$Arch include/asm-$Arch
# Copy include/asm-$Arch for better compatibility with some old system
cp -a $_KernSrc/arch/$Arch include/asm-$Arch
# Delete obj files
find include -iname "*.o" -o -iname "*.cmd" -delete