Added an additional consistency check: an error message is now printed if

the kernel-ib-devel RPM has been installed but not the kernel-ib RPM.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1387 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2009-12-13 13:00:39 +00:00
parent 345cd34aae
commit a03c2176a8
+8 -2
View File
@@ -81,8 +81,14 @@ src/Module.symvers src/Modules.symvers: $(SCST_DIR)/$(MODULE_SYMVERS)
) >$@; \
fi \
else \
echo " Building against non-OFED InfiniBand kernel headers."; \
cp $< $@; \
if $(OFED_KERNEL_IB_DEVEL_RPM_INSTALLED); then \
echo "Error: the OFED package kernel-ib has not yet been" \
"installed."; \
false; \
else \
echo " Building against non-OFED InfiniBand kernel headers."; \
cp $< $@; \
fi; \
fi
clean: