In message <[EMAIL PROTECTED]> Warner Losh writes:
: However, I think the following would work for
: sys/${MACHINE}/compile/FOO. Note, I only did i386, but could do
: others as well fairly quickly.
Actually, the last patch is bad. Try this one. You will need to
mkdir sys/${MACHINE}/compile. This at least makes it through make
depend.
Warner
Index: sys/conf/Makefile.i386
===================================================================
RCS file: /home/imp/FreeBSD/CVS/src/sys/conf/Makefile.i386,v
retrieving revision 1.236
diff -u -r1.236 Makefile.i386
--- sys/conf/Makefile.i386 2001/06/13 10:58:28 1.236
+++ sys/conf/Makefile.i386 2001/06/22 18:47:09
@@ -29,7 +29,7 @@
.if exists(./@/.)
S= ./@
.else
-S= ../..
+S= ../../..
.endif
.endif
M= ${MACHINE_ARCH}
Index: usr.sbin/config/config.8
===================================================================
RCS file: /home/imp/FreeBSD/CVS/src/usr.sbin/config/config.8,v
retrieving revision 1.26
diff -u -r1.26 config.8
--- usr.sbin/config/config.8 2001/01/22 07:03:06 1.26
+++ usr.sbin/config/config.8 2001/06/22 18:46:38
@@ -110,7 +110,7 @@
.Fx .
.Nm
creates the directory
-.Pa ../../compile/SYSTEM_NAME
+.Pa ../compile/SYSTEM_NAME
or the one given with the
.Fl d
option
Index: usr.sbin/config/main.c
===================================================================
RCS file: /home/imp/FreeBSD/CVS/src/usr.sbin/config/main.c,v
retrieving revision 1.50
diff -u -r1.50 main.c
--- usr.sbin/config/main.c 2001/02/23 00:22:04 1.50
+++ usr.sbin/config/main.c 2001/06/22 18:52:03
@@ -67,7 +67,7 @@
#define FALSE (0)
#endif
-#define CDIR "../../compile/"
+#define CDIR "../compile/"
char * PREFIX;
char destdir[MAXPATHLEN];
@@ -158,8 +158,7 @@
{
char xxx[MAXPATHLEN];
if (*srcdir == '\0')
- (void)snprintf(xxx, sizeof(xxx), "../../%s/include",
- machinename);
+ (void)snprintf(xxx, sizeof(xxx), "../../include");
else
(void)snprintf(xxx, sizeof(xxx), "%s/%s/include",
srcdir, machinename);
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message