diff --git a/Makefile b/Makefile index 9f664620d..7b6627354 100644 --- a/Makefile +++ b/Makefile @@ -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