The build process for OpenBSD builds the no-NFS version of
the kernel module but, at install time, the NFS version is
subseuquently built and installed while the no-NFS version
is ignored. The NFS version does not load and is not needed
in OpenBSD so this patch makes sure that the no-NFS version
is installed and used.
Reviewed-on: http://gerrit.openafs.org/3684
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit
6d8e3392b77d72f6d05b94fa9c48813ceed5980d)
Change-Id: I7f37c2da40f2ecada7255c1d60e8b14a1f7e6f81
Reviewed-on: http://gerrit.openafs.org/3723
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
libafs: $(LIBAFSNONFS)
ls -l libafs.o
-install_libafs: $(LIBAFS)
+install_libafs: $(LIBAFSNONFS)
${INSTALL} -d ${DESTDIR}${afskerneldir}
- ${INSTALL} -m 644 $(LIBAFS) $(INST_LIBAFSNONFS)
+ ${INSTALL} -m 644 $(LIBAFSNONFS) $(INST_LIBAFSNONFS)
-dest_libafs: $(LIBAFS)
+dest_libafs: $(LIBAFSNONFS)
${INSTALL} -d ${DEST}/root.client/bin
- $(INSTALL) -m 644 $(LIBAFS) $(DEST_LIBAFSNONFS)
+ $(INSTALL) -m 644 $(LIBAFSNONFS) $(DEST_LIBAFSNONFS)
${LIBAFS}: $(AFSAOBJS) $(AFSNFSOBJS)
$(LD) -r -o ${LIBAFS} ${AFSAOBJS} ${AFSNFSOBJS}