From: Love Hörnquist-Åstrand Date: Tue, 1 Jan 2002 21:02:50 +0000 (+0000) Subject: netbsd-initial-support-20020101 X-Git-Tag: openafs-devel-1_3_0~95 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d65e45f3d20bba23ecd783873c5a1cce8d0c9e7a;p=packages%2Fo%2Fopenafs.git netbsd-initial-support-20020101 update parameters so it will build --- diff --git a/src/config/afs_sysnames.h b/src/config/afs_sysnames.h index 4cdc5e61c..0d89e4090 100644 --- a/src/config/afs_sysnames.h +++ b/src/config/afs_sysnames.h @@ -152,6 +152,9 @@ #define SYS_NAME_ID_parisc_linux22 2401 #define SYS_NAME_ID_parisc_linux24 2402 +#define SYS_NAME_ID_i386_nbsd15 2501 +#define SYS_NAME_ID_alpha_nbsd15 2502 + /* * Placeholder to keep system-wide standard flags since this file is included by all * files (i.e in afs/param.h) diff --git a/src/config/param.i386_nbsd15.h b/src/config/param.i386_nbsd15.h index 4c3d916df..d4d951954 100644 --- a/src/config/param.i386_nbsd15.h +++ b/src/config/param.i386_nbsd15.h @@ -43,8 +43,8 @@ #ifndef MOUNT_AFS #define MOUNT_AFS AFS_MOUNT_AFS #endif -#define SYS_NAME "i386_fbsd_42" -#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_42 +#define SYS_NAME "i386_nbsd15" +#define SYS_NAME_ID SYS_NAME_ID_i386_nbsd15 #define AFS_HAVE_FFS 1 /* Use system's ffs. */ #define AFS_HAVE_STATVFS 0 /* System doesn't supports statvfs */ diff --git a/src/config/param.i386_nbsd15_usr.h b/src/config/param.i386_nbsd15_usr.h index 0de935c9c..be3942081 100644 --- a/src/config/param.i386_nbsd15_usr.h +++ b/src/config/param.i386_nbsd15_usr.h @@ -5,9 +5,8 @@ #define UKERNEL 1 /* user space kernel */ #define AFS_ENV 1 #define AFS_VFSINCL_ENV 1 -#define AFS_USR_FBSD40_ENV 1 -#define AFS_USR_FBSD42_ENV 1 -#define AFS_USR_FBSD_ENV 1 +#define AFS_NBSD_ENV 1 +#define AFS_NBSD15_ENV 1 #define AFS_NONFSTRANS 1 #define AFS_KERBEROS_ENV @@ -22,8 +21,8 @@ #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */ /* Machine / Operating system information */ -#define SYS_NAME "i386_fbsd_42" -#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_42 +#define SYS_NAME "i386_nbsd15" +#define SYS_NAME_ID SYS_NAME_ID_i386_nbsd15 #define AFSLITTLE_ENDIAN 1 #define AFS_HAVE_FFS 1 /* Use system's ffs. */ #define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */ diff --git a/src/venus/Makefile.in b/src/venus/Makefile.in index 3e0c6b120..b336fa42f 100644 --- a/src/venus/Makefile.in +++ b/src/venus/Makefile.in @@ -92,6 +92,8 @@ ${DEST}/etc/kdump: kdump hp_ux11* ) \ ${INSTALLex} -f ${srcdir}/kdump.sh.hp_ux11 $@; \ ${INSTALL} -s -f $? ${DEST}/etc/kdump32;; \ + *nbsd*) \ + ;; \ *) \ ${INSTALL} -s $? $@ ;; \ esac @@ -190,6 +192,8 @@ kdump.o: kdump.c ${INCLS} AFS_component_version_number.c esac || exit $$?; \ done \ ;; \ + *nbsd*) \ + touch kdump.o ;; \ *) \ ${CC} -g -I${TOP_INCDIR}/afs -I${TOP_OBJDIR}/src/config -I${TOP_INCDIR} ${XCFLAGS} -c ${srcdir}/kdump.c ;; \ esac ; @@ -232,6 +236,7 @@ kdump: kdump.o alpha_osf1 | alpha_osf20 | alpha_osf30 | alpha_osf32 | alpha_osf32c | alpha_dux??) \ ${CC} -g -o kdump kdump.o ${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/util.a ${XLIBS} -ll -lmld;; \ ncrx86_* ) ${CC} -g -o kdump kdump.o ${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/util.a -lelf ${XLIBS} ;; \ + *nbsd*) touch kdump ;; \ * ) ${CC} -g -o kdump kdump.o ${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/util.a ${XLIBS} ;; \ esac