From 6d4c97bec8aeaf01ca3e7be18edfa7a7e31641b8 Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 30 Jun 2001 06:28:12 +0000 Subject: 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 --- usr.sbin/config/config.8 | 2 +- usr.sbin/config/main.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/config/config.8 b/usr.sbin/config/config.8 index 14e308d..5676dc6 100644 --- a/usr.sbin/config/config.8 +++ b/usr.sbin/config/config.8 @@ -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 diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c index a6db7e7..3a0fff5 100644 --- a/usr.sbin/config/main.c +++ b/usr.sbin/config/main.c @@ -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); -- cgit v1.1