forked from TencentOS/TencentOS-kernel
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:
parent
ac2b844f13
commit
0bd807ff31
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue