diff --git a/master.inc b/master.inc index e3d8d74..14c4468 100644 --- a/master.inc +++ b/master.inc @@ -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