From 295dfff14b29e5a5a6c0c3401e29855880c23cd0 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 3 Mar 2018 15:11:28 -0800 Subject: [PATCH] Makefile, rpm: Pass kdir to scst.spec --- Makefile | 1 + 1 file changed, 1 insertion(+) 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