summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-06-30 06:28:12 +0000
committerimp <imp@FreeBSD.org>2001-06-30 06:28:12 +0000
commit6d4c97bec8aeaf01ca3e7be18edfa7a7e31641b8 (patch)
tree33e2437cb48543d7a071058052fa46c70e6e01ec /usr.sbin/config
parentbb282642b3f358d433459ee4733001aaeef8cbd1 (diff)
downloadFreeBSD-src-6d4c97bec8aeaf01ca3e7be18edfa7a7e31641b8.zip
FreeBSD-src-6d4c97bec8aeaf01ca3e7be18edfa7a7e31641b8.tar.gz
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
Diffstat (limited to 'usr.sbin/config')
-rw-r--r--usr.sbin/config/config.82
-rw-r--r--usr.sbin/config/main.c5
2 files changed, 3 insertions, 4 deletions
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);
OpenPOWER on IntegriCloud