mirror of
https://github.com/SCST-project/scst.git
synced 2026-10-01 12:15:42 +00:00
Makefile, scst[-dkms].spec.in: Add support for PKG_BUILD_MODE
See also commit 95c9bdc0f7 ("pass through `DEBUG_MODE_LEVEL` to
`dpkg` make target").
This commit is contained in:
@@ -355,6 +355,7 @@ scst-rpm:
|
||||
MAKE="$(MAKE)" rpmbuild --define="%_topdir $${rpmtopdir}" \
|
||||
$(if $(KVER),--define="%kversion $(KVER)") \
|
||||
$(if $(KDIR),--define="%kdir $(KDIR)") \
|
||||
--define="%pkg_build_mode $(PKG_BUILD_MODE)" \
|
||||
-ba $${name}.spec && \
|
||||
rm -f $${name}-$(VERSION).tar.bz2
|
||||
|
||||
@@ -371,6 +372,7 @@ scst-dkms-rpm:
|
||||
MAKE="$(MAKE)" rpmbuild --define="%_topdir $${rpmtopdir}" \
|
||||
$(if $(KVER),--define="%kversion $(KVER)") \
|
||||
$(if $(KDIR),--define="%kdir $(KDIR)") \
|
||||
--define="%pkg_build_mode $(PKG_BUILD_MODE)" \
|
||||
-ba $${name}.spec && \
|
||||
rm -f $${name}-$(VERSION).tar.bz2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user