master.inc: cleanup
This commit is contained in:
parent
71cc3d9263
commit
943fa614d5
@ -144,13 +144,7 @@ ln -fns /usr/src/kernels/%{KVERREL} $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/build
|
||||
ln -fns /usr/src/kernels/%{KVERREL} $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/source
|
||||
|
||||
# install actual Linux src to /usr/src/kernels/%{KVERREL}
|
||||
EXCLUDES="--exclude=SCCS --exclude=BitKeeper --exclude=.svn \
|
||||
--exclude=CVS --exclude=.pc --exclude=.hg --exclude=.git \
|
||||
--exclude=*vmlinux* --exclude=*.mod \
|
||||
--exclude=*.o --exclude=*.ko --exclude=*.cmd --exclude=Documentation \
|
||||
--exclude=.config.old --exclude=.missing-syscalls.d --exclude=*.s"
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}
|
||||
tar cf - $EXCLUDES . | tar xf - -C $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}
|
||||
%{make} run-command KBUILD_RUN_COMMAND='${RPM_BUILD_DIR}/%{src_dir}/scripts/package/install-extmod-build $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}'
|
||||
|
||||
%clean
|
||||
|
Loading…
Reference in New Issue
Block a user