mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 06:50:12 +00:00
RedHat: Add RPM_BUILD_MODULES and RPM_BUILD_USERSPACE
Add makefile variables to specify if we are to build the userspace and/or kernel module (kmod) packages. Continue to build both by default. Change-Id: Idc20d5140fcb60cbe84a500b2a7580866008e3e0 Reviewed-on: https://gerrit.openafs.org/15407 Reviewed-by: Cheyenne Wills <cwills@sinenomine.net> Reviewed-by: Benjamin Kaduk <kaduk@mit.edu> Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
This commit is contained in:
parent
86d9e3368d
commit
bd263e367d
@ -773,8 +773,14 @@ srpm: dist
|
||||
"$(RPM_CHANGELOG)" \
|
||||
"$(RPM_CELLSERVDB)"
|
||||
|
||||
RPM_BUILD_USERSPACE = 1
|
||||
RPM_BUILD_MODULES = 1
|
||||
rpm: srpm
|
||||
rpmbuild --rebuild --define "_topdir @TOP_OBJDIR@/packages/rpmbuild" \
|
||||
rpmbuild \
|
||||
--rebuild \
|
||||
--define "_topdir @TOP_OBJDIR@/packages/rpmbuild" \
|
||||
--define "build_userspace $(RPM_BUILD_USERSPACE)" \
|
||||
--define "build_modules $(RPM_BUILD_MODULES)" \
|
||||
packages/openafs-*.src.rpm
|
||||
|
||||
dox:
|
||||
|
Loading…
Reference in New Issue
Block a user