Move kernel compile directory from sys/compile/FOO to

sys/compile/${MACHINE}/FOO.

Reviewed by: obrien, peter and the USENIX terminal room secret kernel cabal
This commit is contained in:
Warner Losh 2001-06-30 06:28:12 +00:00
parent 2eca8ff74b
commit 971470c36c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79013
2 changed files with 3 additions and 4 deletions

View File

@ -110,7 +110,7 @@ represents one of the architectures supported by
.Fx .
.Nm
creates the directory
.Pa ../../compile/SYSTEM_NAME
.Pa ../compile/SYSTEM_NAME
or the one given with the
.Fl d
option

View File

@ -67,7 +67,7 @@ static const char rcsid[] =
#define FALSE (0)
#endif
#define CDIR "../../compile/"
#define CDIR "../compile/"
char * PREFIX;
char destdir[MAXPATHLEN];
@ -158,8 +158,7 @@ main(int argc, char **argv)
{
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);