summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2013-03-20 11:01:48 -0700
committerBrian Behlendorf <[email protected]>2013-03-21 12:51:06 -0700
commitae0f0ba950bed72be0635c29d3dfecb5a811f121 (patch)
treead14eae95703ee5bd792d8c947ce5c2c9c9fdc38 /scripts
parent7865606a6a02daf8b4b20fc95dc02eec100a0523 (diff)
Use BUILD_DEPENDS option for dkms builds
Support was added to dkms so build dependencies can be specified. This allows us to ensure that the spl package will always be built before the zfs package. Those patches have not yet been merged upstream but they are available in the zfsonlinux/dkms repository. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dkms.mkconf1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/dkms.mkconf b/scripts/dkms.mkconf
index 2e07be481..62caa4bac 100755
--- a/scripts/dkms.mkconf
+++ b/scripts/dkms.mkconf
@@ -52,6 +52,7 @@ POST_INSTALL="scripts/dkms.postinst
-k \${kernelver}
-t \${dkms_tree}
"
+BUILD_DEPENDS[0]="spl"
AUTOINSTALL="yes"
REMAKE_INITRD="no"
MAKE[0]="make"