From owner-freebsd-hackers Fri Jun 22 11:55:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 0EB5037B408; Fri, 22 Jun 2001 11:55:16 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.1) with ESMTP id f5MIt6V61909; Fri, 22 Jun 2001 12:55:06 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200106221855.f5MIt6V61909@harmony.village.org> Subject: Re: Two Junior Kernel Hacker tasks.. Cc: mjacob@feral.com, Will Andrews , John Baldwin , hackers@FreeBSD.ORG In-reply-to: Your message of "Fri, 22 Jun 2001 12:48:47 MDT." <200106221848.f5MImlV58673@harmony.village.org> References: <200106221848.f5MImlV58673@harmony.village.org> <20010622114328.R20923-100000@wonky.feral.com> Date: Fri, 22 Jun 2001 12:55:06 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200106221848.f5MImlV58673@harmony.village.org> 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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message