mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
70835c5b75
Over the years several slightly different approaches were used in the Makefiles to determine the target architecture. This change updates both the build system and Makefile to handle this in a consistent fashion. TARGET_CPU is set to i386, x86_64, powerpc, aarch6 or sparc64 and made available in the Makefiles to be used as appropriate. Reviewed-by: Ryan Moeller <ryan@ixsystems.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #9848
42 lines
1.6 KiB
Makefile
42 lines
1.6 KiB
Makefile
#
|
|
# Linux specific sources included from module/zfs/Makefile.in
|
|
#
|
|
|
|
# Suppress unused-value warnings in sparc64 architecture headers
|
|
ccflags-$(CONFIG_SPARC64) += -Wno-unused-value
|
|
|
|
ccflags-y += -I@abs_top_srcdir@/module/os/linux/zfs
|
|
|
|
$(MODULE)-objs += ../os/linux/zfs/abd.o
|
|
$(MODULE)-objs += ../os/linux/zfs/arc_os.o
|
|
$(MODULE)-objs += ../os/linux/zfs/mmp_os.o
|
|
$(MODULE)-objs += ../os/linux/zfs/policy.o
|
|
$(MODULE)-objs += ../os/linux/zfs/trace.o
|
|
$(MODULE)-objs += ../os/linux/zfs/qat.o
|
|
$(MODULE)-objs += ../os/linux/zfs/qat_compress.o
|
|
$(MODULE)-objs += ../os/linux/zfs/qat_crypt.o
|
|
$(MODULE)-objs += ../os/linux/zfs/spa_misc_os.o
|
|
$(MODULE)-objs += ../os/linux/zfs/spa_stats.o
|
|
$(MODULE)-objs += ../os/linux/zfs/vdev_disk.o
|
|
$(MODULE)-objs += ../os/linux/zfs/vdev_file.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zio_os.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zfs_acl.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zfs_ctldir.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zfs_debug.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zfs_dir.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zfs_file_os.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zfs_ioctl_os.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zfs_onexit_os.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zfs_sysfs.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zfs_vfsops.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zfs_vnops.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zfs_znode.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zio_crypt.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zpl_ctldir.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zpl_export.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zpl_file.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zpl_inode.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zpl_super.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zpl_xattr.o
|
|
$(MODULE)-objs += ../os/linux/zfs/zvol_os.o
|