[linux-cifs-client] New Makefile from cvs
Richard Hughes
ee21rh at eim.surrey.ac.uk
Tue May 4 18:17:50 GMT 2004
OLD:
#
# Makefile for Linux CIFS VFS client
#
obj-$(CONFIG_CIFS) += cifs.o
cifs-objs := cifsfs.o cifssmb.o cifs_debug.o connect.o dir.o file.o
inode.o link.o misc.o netmisc.o smbdes.o smbencrypt.o transport.o asn1.o
md4.o md5.o cifs_unicode.o nterr.o xattr.o cifsencrypt.o fcntl.o
Updated CVS:
#
# Makefile for Linux CIFS VFS client
#
O_TARGET := cifs.o
obj-y := cifsfs.o cifssmb.o cifs_debug.o connect.o dir.o file.o inode.o
link.o misc.o netmisc.o smbdes.o smbencrypt.o transport.o asn1.o md4.o
md5.o cifs_unicode.o nterr.o cifsencrypt.o
obj-m := $(O_TARGET)
include $(TOPDIR)/Rules.make
2.6.6-rc3 gets really upset about O_TARGET notice and won't compile:
fs/cifs/Makefile:10: /usr/src/linux-2.6.6-rc3-bk6/Rules.make: No such
file or directory
scripts/Makefile.build:40: kbuild: fs/cifs/Makefile - Usage of O_TARGET
:= cifs.o is obsolete in 2.6. Please fix!
make[1]: *** No rule to make target
`/usr/src/linux-2.6.6-rc3-bk6/Rules.make'. Stop.
make: *** [fs/cifs/] Error 2
Why the change?
Richard
More information about the linux-cifs-client
mailing list