]> git.pld-linux.org Git - packages/bcm43xx.git/blobdiff - bcm43xx.spec
- without up bcond
[packages/bcm43xx.git] / bcm43xx.spec
index 113988bfc260b24eec4d493ca1a17b6647f90cde..2b922eea0256a609901668421e16c26c9412b7a3 100644 (file)
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_without dist_kernel     # allow non-distribution kernel
 %bcond_without kernel          # don't build kernel modules
+%bcond_without up              # don't build UP module
 %bcond_without smp             # don't build SMP module
 %bcond_without userspace       # don't build userspace module
 %bcond_with    verbose         # verbose build (V=1)
@@ -151,9 +152,11 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with kernel}
+%if %{with up} || %{without dist_kernel}
 %files -n kernel%{_alt_kernel}-net-bcm43xx
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/kernel/drivers/net/bcm43xx.ko*
+%endif
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel%{_alt_kernel}-smp-net-bcm43xx
This page took 0.056809 seconds and 4 git commands to generate.