Skip to content

Commit

Permalink
Merge pull request #172 from bcressey/trim-kernel-devel
Browse files Browse the repository at this point in the history
kernel-6.1: exclude more object files from devel
  • Loading branch information
bcressey authored Oct 2, 2024
2 parents cc2e7a6 + 4440154 commit 9b5ac22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/kernel-6.1/kernel-6.1.spec
Original file line number Diff line number Diff line change
Expand Up @@ -236,20 +236,20 @@ chmod 600 System.map
\( -name module.lds -o -name vmlinux.lds.S -o -name Platform -o -name \*.tbl \) \
-print

find arch/%{_cross_karch}/{include,lib}/ -type f ! -name \*.o ! -name \*.o.d -print
find arch/%{_cross_karch}/{include,lib}/ -type f ! -name \*.o ! -name \*.o.d ! -name \*.a -print
echo arch/%{_cross_karch}/kernel/asm-offsets.s
echo lib/vdso/gettimeofday.c

for d in \
arch/%{_cross_karch}/tools \
arch/%{_cross_karch}/kernel/vdso ; do
[ -d "${d}" ] && find "${d}/" -type f -print
[ -d "${d}" ] && find "${d}/" -type f ! -name \*.o -print
done

find include -type f -print
find scripts -type f ! -name \*.l ! -name \*.y ! -name \*.o -print

find tools/{arch/%{_cross_karch},include,objtool,scripts}/ -type f ! -name \*.o -print
find tools/{arch/%{_cross_karch},include,objtool,scripts}/ -type f ! -name \*.o ! -name \*.a -print
echo tools/build/fixdep.c
find tools/lib/subcmd -type f -print
find tools/lib/{ctype,hweight,rbtree,string,str_error_r}.c
Expand Down

0 comments on commit 9b5ac22

Please sign in to comment.