afspag version of rx_knet.o

in order to correctly generate KBUILD_MODNAME, each object
file needs to be built only once. in this case it matters because the
pr_debug macro, called as a result of including errqueue.h, needs it
and things which depend on it, and when it's built into 2 .kos,
the wrong thing happens.

Change-Id: I85be7a3322fd179ef75fe14a90c9e7592e542ed1
Reviewed-on: http://gerrit.openafs.org/2435
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Marc Dionne 2010-07-14 22:43:01 -04:00 committed by Derrick Brashear
parent ed71f147c7
commit aeba16157e

View File

@ -208,7 +208,7 @@ AFSPAGOBJS = \
rx_event.o \ rx_event.o \
rx_globals.o \ rx_globals.o \
rx_kmutex.o \ rx_kmutex.o \
rx_knet.o \ rx_pag_knet.o \
rx_kcommon.o \ rx_kcommon.o \
rx_misc.o \ rx_misc.o \
rx_null.o \ rx_null.o \
@ -462,6 +462,8 @@ afs_pioctl_nfs.o: $(TOP_SRC_AFS)/afs_pioctl.c
# Special objects for the PAG module # Special objects for the PAG module
afs_pag_user.o: $(TOP_SRC_AFS)/afs_user.c afs_pag_user.o: $(TOP_SRC_AFS)/afs_user.c
$(CRULE_OPT) -DAFS_PAG_MANAGER $(CRULE_OPT) -DAFS_PAG_MANAGER
rx_pag_knet.o: $(TOP_SRC_RX)/${MKAFS_OSTYPE}/rx_knet.c
$(CRULE_NOOPT)
# Files which are specific to particular architectures/targets # Files which are specific to particular architectures/targets
# but have common build rules. Place here instead of duplicating # but have common build rules. Place here instead of duplicating