diff --git a/board/phytium/common/post-build.sh b/board/phytium/common/post-build.sh index 9b5a3a004eee2b69fd41455c8a87901fcd75aeee..ea4687989c4716de4251b8681c32104337a1d673 100755 --- a/board/phytium/common/post-build.sh +++ b/board/phytium/common/post-build.sh @@ -39,7 +39,7 @@ deploy_kernel_headers_510 () { cp .config $destdir/.config find $destdir -name "*.o" -type f -exec rm -rf {} \; cd $topdir - # cp -r board/phytium/common/linux-5.10/scripts $destdir + cp -r board/phytium/common/linux-5.10/scripts $destdir rm -rf $srctree rm -rf $objtree @@ -75,7 +75,7 @@ deploy_kernel_headers_419 () { (cd $srctree; cp --parents tools/include/tools/le_byteshift.h $destdir) find $destdir -name "*.o" -type f -exec rm -rf {} \; cd $topdir - # cp -r board/phytium/common/linux-4.19/scripts $destdir + cp -r board/phytium/common/linux-4.19/scripts $destdir rm -rf "$objtree/debian" rm -rf $srctree