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:
parent
2eca8ff74b
commit
971470c36c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79013
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user