mirror of
https://github.com/linuxboot/heads.git
synced 2025-04-19 00:26:57 +00:00
create zfs submodules; does not work yet (issue #187)
This commit is contained in:
parent
a71f84c08f
commit
535c78ec84
28
modules/spl
Normal file
28
modules/spl
Normal file
@ -0,0 +1,28 @@
|
||||
modules-$(CONFIG_ZFS) += spl
|
||||
|
||||
spl_depends := $(musl_dep)
|
||||
|
||||
spl_version := 0.6.5.9
|
||||
spl_dir := spl-$(spl_version)
|
||||
spl_tar := spl-$(spl_version).tar.gz
|
||||
spl_url := https://github.com/zfsonlinux/zfs/releases/download/zfs-$(spl_version)/$(spl_tar)
|
||||
spl_hash := d9ccd24786bb5a8616748a93a3c0b1270aa891175e2f5d726195b416f5c03b9c
|
||||
|
||||
spl_configure := ./configure \
|
||||
$(CROSS_TOOLS) \
|
||||
--host i386-elf-linux \
|
||||
PREFIX="/" \
|
||||
--with-linux=$(build)/linux-4.9.20 \
|
||||
--with-linux-obj=$(build)/linux-4.9.20 \
|
||||
|
||||
|
||||
spl_target := \
|
||||
$(MAKE_JOBS) \
|
||||
$(CROSS_TOOLS) \
|
||||
DESTDIR="$(INSTALL)" \
|
||||
|
||||
spl_output := \
|
||||
spl.ko
|
||||
|
||||
spl_libraries := \
|
||||
|
29
modules/zfs
Normal file
29
modules/zfs
Normal file
@ -0,0 +1,29 @@
|
||||
modules-$(CONFIG_ZFS) += zfs
|
||||
|
||||
zfs_depends := spl $(musl_dep)
|
||||
|
||||
zfs_version := 0.6.5.9
|
||||
zfs_dir := zfs-$(zfs_version)
|
||||
zfs_tar := zfs-$(zfs_version).tar.gz
|
||||
zfs_url := https://github.com/zfsonlinux/zfs/releases/download/zfs-$(zfs_version)/$(zfs_tar)
|
||||
zfs_hash := b724b57dbddae59246fdc15f88f1224061c712945bb36412a2087e0c7760d77f
|
||||
|
||||
zfs_configure := ./configure \
|
||||
$(CROSS_TOOLS) \
|
||||
--host i386-elf-linux \
|
||||
PREFIX="/" \
|
||||
--with-linux=../linux-4.9.20 \
|
||||
--with-linux-obj=../linux-4.9.20 \
|
||||
--with-spl=../spl-$(zfs_version) \
|
||||
|
||||
|
||||
zfs_target := \
|
||||
$(MAKE_JOBS) \
|
||||
$(CROSS_TOOLS) \
|
||||
DESTDIR="$(INSTALL)" \
|
||||
|
||||
zfs_output := \
|
||||
zfs.ko
|
||||
|
||||
zfs_libraries := \
|
||||
|
Loading…
x
Reference in New Issue
Block a user