Makefile, rpm: Pass ${KDIR} to scst.spec

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7377 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-03-04 19:35:38 +00:00
parent 5f1fd232ae
commit 1f7fdf5cbc

View File

@@ -452,6 +452,7 @@ scst-rpm:
<$${name}.spec.in >$${name}.spec && \
MAKE="$(MAKE)" rpmbuild --define="%_topdir $${rpmtopdir}" \
$(if $(KVER),--define="%kversion $(KVER)") \
$(if $(KDIR),--define="%kdir $(KDIR)") \
-ba $${name}.spec && \
rm -f $${name}-$(VERSION).tar.bz2