]> TLD Linux GIT Repositories - packages/kernel.git/commitdiff
- fix build
authorMarcin Krol <hawk@tld-linux.org>
Sat, 20 Apr 2013 14:52:07 +0000 (14:52 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Sat, 20 Apr 2013 14:52:07 +0000 (14:52 +0000)
kernel-vanilla.spec

index 0912ce5905a4bec201cdebd918073f0ae1c57b3e..44975ef8b8bd998ed37e323beccfb6ed20db05aa 100644 (file)
@@ -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)