mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-27 04:32:16 +03:00
Don't build packages that haven't been selected.
Currently, when configure --with-config is used, selective compilation is only effective for the simple "make" case. Package builders (e.g. make rpm) still build everything (utils and modules). This patch fixes that. Signed-off-by: Prakash Surya <surya1@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #851
This commit is contained in:
committed by
Brian Behlendorf
parent
739a1a82e0
commit
b2c5198b19
+8
-2
@@ -1,18 +1,24 @@
|
||||
srpm-modules:
|
||||
if CONFIG_KERNEL
|
||||
$(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
|
||||
endif
|
||||
|
||||
srpm-utils:
|
||||
if CONFIG_USER
|
||||
$(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
|
||||
endif
|
||||
|
||||
srpm: srpm-modules srpm-utils
|
||||
|
||||
rpm-modules: srpm-modules
|
||||
if CONFIG_KERNEL
|
||||
$(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
|
||||
endif
|
||||
|
||||
rpm-utils: srpm-utils
|
||||
if CONFIG_USER
|
||||
$(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
|
||||
|
||||
rpm-modules: srpm-modules
|
||||
endif
|
||||
|
||||
rpm: rpm-modules rpm-utils
|
||||
|
||||
|
||||
Reference in New Issue
Block a user