]> git.pld-linux.org Git - packages/lm_sensors.git/blobdiff - lm_sensors.spec
- prepare fake .config even when no smp
[packages/lm_sensors.git] / lm_sensors.spec
index e8f374c0b2f79d669da2dce9c9d80f096d2bb1d3..1ca848cd7ac2d0953ce1de544e5b51ae2d231b80 100644 (file)
@@ -185,7 +185,7 @@ Modu
 %patch4 -p1
 
 %build
-%if %{with kernel} && %{with smp}
+%if %{with kernel}
 # workaround to avoid unresolved dmi* symbols in i2c-piix4.o
 install -d fakelinux
 :> fakelinux/.config
@@ -196,6 +196,7 @@ echo 'CONFIG_X86=y' >> fakelinux/.config
 echo 'CONFIG_IPMI_HANDLER=m' >> fakelinux/.config
 %endif
 
+%if %{with smp}
 # SMP
 %{__make} all-kernel-busses all-kernel-chips \
        CC="%{kgcc}" \
@@ -215,7 +216,6 @@ echo 'CONFIG_IPMI_HANDLER=m' >> fakelinux/.config
 %{__make} clean
 %endif
 
-%if %{with kernel}
 # UP
 %{__make} all-kernel-busses all-kernel-chips \
        CC="%{kgcc}" \
This page took 0.040639 seconds and 4 git commands to generate.