mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 18:11:00 +03:00
c5f704607b
An update to the build system to properly support all commonly used Makefile targets these include: make all # Build everything make install # Install everything make clean # Clean up build products make distclean # Clean up everything make dist # Create package tarball make srpm # Create package source RPM make rpm # Create package binary RPMs make tags # Create ctags and etags for everything Extra care was taken to ensure that the source RPMs are fully rebuildable against Fedora/RHEL/Chaos kernels. To build binary RPMs from the source RPM for your system simply run: rpmbuild --rebuild spl-x.y.z-1.src.rpm This will produce two binary RPMs with correct 'requires' dependencies for your kernel. One will contain all spl modules and support utilities, the other is a devel package for compiling additional kernel modules which are dependant on the spl. spl-x.y.z-1_<kernel version>.x86_64.rpm spl-devel-x.y.2-1_<kernel version>.x86_64.rpm
25 lines
518 B
Makefile
25 lines
518 B
Makefile
# Makefile.in for spl kernel module
|
|
|
|
MODULES := spl
|
|
EXTRA_CFLAGS = @KERNELCPPFLAGS@
|
|
|
|
# Solaris porting layer module
|
|
obj-m := spl.o
|
|
|
|
spl-objs += spl-debug.o
|
|
spl-objs += spl-proc.o
|
|
spl-objs += spl-kmem.o
|
|
spl-objs += spl-thread.o
|
|
spl-objs += spl-taskq.o
|
|
spl-objs += spl-rwlock.o
|
|
spl-objs += spl-vnode.o
|
|
spl-objs += spl-err.o
|
|
spl-objs += spl-time.o
|
|
spl-objs += spl-kobj.o
|
|
spl-objs += spl-module.o
|
|
spl-objs += spl-generic.o
|
|
spl-objs += spl-atomic.o
|
|
spl-objs += spl-mutex.o
|
|
spl-objs += spl-kstat.o
|
|
spl-objs += spl-condvar.o
|