From aceaa7e184051e81ffde0d6cd5e76dee9705e5a9 Mon Sep 17 00:00:00 2001 From: thorpej Date: Sun, 17 Nov 2002 22:10:05 +0000 Subject: [PATCH] When emitting -I directives for prefix'd paths, use EXTRA_INCLUDES rathern than INCLUDES, so that it works with sys/conf/Makefile.kern.inc. --- usr.sbin/config/mkmakefile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c index c4032c10b8d7..0a1f0e1721d6 100644 --- a/usr.sbin/config/mkmakefile.c +++ b/usr.sbin/config/mkmakefile.c @@ -1,4 +1,4 @@ -/* $NetBSD: mkmakefile.c,v 1.55 2002/06/05 10:56:18 lukem Exp $ */ +/* $NetBSD: mkmakefile.c,v 1.56 2002/11/17 22:10:05 thorpej Exp $ */ /* * Copyright (c) 1992, 1993 @@ -504,7 +504,7 @@ emitincludes(FILE *fp) struct prefix *pf; SLIST_FOREACH(pf, &allprefixes, pf_next) { - if (fprintf(fp, "INCLUDES+=\t-I%s%s\n", + if (fprintf(fp, "EXTRA_INCLUDES+=\t-I%s%s\n", prefix_prologue(pf->pf_prefix), pf->pf_prefix) < 0) return (1); }