diff options
author | NeilBrown <neilb@suse.com> | 2018-05-21 14:35:12 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-25 18:29:09 +0200 |
commit | f72c3ab791ac0b2b75b5b5d4d51d8eb89ea1e515 (patch) | |
tree | a5f56c45ed0ef6325d728f08ae7a08387d2dfa33 /drivers/staging/lustre/lnet/libcfs/Makefile | |
parent | 64bf0b1a079d61e9e059b9dc7a58e064c7d994ae (diff) |
staging: lustre: move files out of lustre/lnet/libcfs/linux/
There is no longer any value in having this separate
subdirectory, so promote the files in it.
Also tidy the Makefile a little to use the common "*-obj-y"
macro name. This will allow individual files to be conditionally
compiled.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/libcfs/Makefile')
-rw-r--r-- | drivers/staging/lustre/lnet/libcfs/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/drivers/staging/lustre/lnet/libcfs/Makefile b/drivers/staging/lustre/lnet/libcfs/Makefile index e73515789a11..6335f909d22b 100644 --- a/drivers/staging/lustre/lnet/libcfs/Makefile +++ b/drivers/staging/lustre/lnet/libcfs/Makefile @@ -4,14 +4,13 @@ subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/lustre/include obj-$(CONFIG_LNET) += libcfs.o -libcfs-linux-objs := linux-tracefile.o linux-debug.o -libcfs-linux-objs += linux-crypto.o -libcfs-linux-objs += linux-crypto-adler.o +libcfs-obj-y += linux-tracefile.o linux-debug.o +libcfs-obj-y += linux-crypto.o +libcfs-obj-y += linux-crypto-adler.o -libcfs-linux-objs := $(addprefix linux/,$(libcfs-linux-objs)) +libcfs-obj-y += debug.o fail.o module.o tracefile.o +libcfs-obj-y += libcfs_string.o hash.o +libcfs-obj-y += libcfs_cpu.o +libcfs-obj-y += libcfs_mem.o libcfs_lock.o -libcfs-all-objs := debug.o fail.o module.o tracefile.o \ - libcfs_string.o hash.o \ - libcfs_cpu.o libcfs_mem.o libcfs_lock.o - -libcfs-objs := $(libcfs-linux-objs) $(libcfs-all-objs) +libcfs-objs := $(libcfs-obj-y) |