%{__make} %CrossOpts clean \
RCS_FIND_IGNORE='-name build-done -prune -o'
- %{__make} %CrossOpts include/linux/version.h \
- %{?with_verbose:V=1}
%{__make} %CrossOpts scripts/mkcompile_h \
%{?with_verbose:V=1}
$KERNEL_INSTALL_DIR%{_kernelsrcdir}/include/generated/autoconf-dist.h
install include/generated/utsrelease.h \
$KERNEL_INSTALL_DIR%{_kernelsrcdir}/include/generated/
-install include/linux/version.h \
- $KERNEL_INSTALL_DIR%{_kernelsrcdir}/include/linux/
install .config \
$KERNEL_INSTALL_DIR%{_kernelsrcdir}/config-dist
PreInstallKernel
%{__make} %CrossOpts mrproper
install -d $RPM_BUILD_ROOT%{_kernelsrcdir}/include/generated
install -d $RPM_BUILD_ROOT%{_kernelsrcdir}/include/linux
-install $KERNEL_BUILD_DIR/build-done/kernel%{_kernelsrcdir}/include/linux/version.h \
- $RPM_BUILD_ROOT%{_kernelsrcdir}/include/linux
install $KERNEL_BUILD_DIR/build-done/kernel%{_kernelsrcdir}/include/generated/autoconf-dist.h \
$RPM_BUILD_ROOT%{_kernelsrcdir}/include/generated
install $KERNEL_BUILD_DIR/build-done/kernel%{_kernelsrcdir}/include/generated/utsrelease.h \
%dir /lib/modules/%{kernel_release}/kernel/sound
/lib/modules/%{kernel_release}/kernel/sound/ac97_bus.ko*
/lib/modules/%{kernel_release}/kernel/sound/sound*.ko*
-%exclude /lib/modules/%{kernel_release}/kernel/drivers/media/video/cx88/cx88-alsa.ko*
-%exclude /lib/modules/%{kernel_release}/kernel/drivers/media/video/em28xx/em28xx-alsa.ko*
-%exclude /lib/modules/%{kernel_release}/kernel/drivers/media/video/saa7134/saa7134-alsa.ko*
%dir /lib/modules/%{kernel_release}/misc
%exclude /lib/modules/%{kernel_release}/kernel/sound/sound*.ko*
%exclude /lib/modules/%{kernel_release}/kernel/sound/oss
/lib/modules/%{kernel_release}/kernel/drivers/usb/gadget/g_midi.ko*
-/lib/modules/%{kernel_release}/kernel/drivers/media/video/cx88/cx88-alsa.ko*
-/lib/modules/%{kernel_release}/kernel/drivers/media/video/em28xx/em28xx-alsa.ko*
-/lib/modules/%{kernel_release}/kernel/drivers/media/video/saa7134/saa7134-alsa.ko*
%files sound-oss
%defattr(644,root,root,755)