From aa06dfc9c3d59bc36429ff1dd05106b888c148e4 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Sun, 5 Jun 2016 23:56:28 +0000 Subject: [PATCH] legacy: Avoid building/installing headers twice. Sponsored by: EMC / Isilon Storage Division --- Makefile.inc1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 5ff5e1dac500..dd17644c7e10 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1524,8 +1524,9 @@ legacy: .PHONY cd ${.CURDIR}/${_tool}; \ ${MAKE} DIRPRFX=${_tool}/ obj; \ ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX}/legacy includes; \ - ${MAKE} DIRPRFX=${_tool}/ all; \ - ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX}/legacy install + ${MAKE} DIRPRFX=${_tool}/ MK_INCLUDES=no all; \ + ${MAKE} DIRPRFX=${_tool}/ MK_INCLUDES=no \ + DESTDIR=${MAKEOBJDIRPREFIX}/legacy install .endfor #