Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2017 22:12:39 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r324451 - in head/sys/boot: . fdt
Message-ID:  <201710092212.v99MCdIn011056@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Mon Oct  9 22:12:39 2017
New Revision: 324451
URL: https://svnweb.freebsd.org/changeset/base/324451

Log:
  Add missing -I${SASRC} in a couple of places so that stand.h doesn't
  accidentally come in via host pollution.
  
  Sponsored by: Netflix

Modified:
  head/sys/boot/Makefile.ficl
  head/sys/boot/fdt/Makefile

Modified: head/sys/boot/Makefile.ficl
==============================================================================
--- head/sys/boot/Makefile.ficl	Mon Oct  9 22:12:32 2017	(r324450)
+++ head/sys/boot/Makefile.ficl	Mon Oct  9 22:12:39 2017	(r324451)
@@ -27,7 +27,7 @@ CFLAGS+=	-m32 -mcpu=powerpc -I.
 .endif
 
 CFLAGS+=	-I${FICLDIR} -I${FICLDIR}/${FICL_CPUARCH} \
-		-I${FICLDIR}/../common
+		-I${FICLDIR}/../common -I${SASRC}
 
 .if ${MACHINE_CPUARCH} == "amd64" && defined(FICL32)
 .if !exists(machine)

Modified: head/sys/boot/fdt/Makefile
==============================================================================
--- head/sys/boot/fdt/Makefile	Mon Oct  9 22:12:32 2017	(r324450)
+++ head/sys/boot/fdt/Makefile	Mon Oct  9 22:12:39 2017	(r324451)
@@ -12,6 +12,7 @@ SRCS+=		fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt
 # Loader's fdt commands extension sources.
 SRCS+=		fdt_loader_cmd.c fdt_overlay.c
 
+CFLAGS+=	-I${SASRC}
 CFLAGS+=	-I${.CURDIR}/../../contrib/libfdt/ -I${.CURDIR}/../common/
 
 CFLAGS+=	-ffreestanding



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710092212.v99MCdIn011056>