From: Marcin Krol Date: Sat, 20 Apr 2013 14:52:07 +0000 (+0000) Subject: - fix build X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=68cce859c885adcb8c908c462f56effcf8a83119;p=packages%2Fkernel.git - fix build --- diff --git a/kernel-vanilla.spec b/kernel-vanilla.spec index 0912ce5..44975ef 100644 --- a/kernel-vanilla.spec +++ b/kernel-vanilla.spec @@ -374,8 +374,6 @@ BuildKernel() { %{__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} @@ -426,8 +424,6 @@ install include/generated/autoconf.h \ $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 @@ -472,8 +468,6 @@ cp -Rdp$l $KERNEL_BUILD_DIR/include/linux/* \ %{__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 \ @@ -611,9 +605,6 @@ fi %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 @@ -674,9 +665,6 @@ fi %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)