diff options
author | ngie <ngie@FreeBSD.org> | 2017-05-29 10:15:41 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-05-29 10:15:41 +0000 |
commit | 596e393e206fc34af6280cabd17ea693c40f1eeb (patch) | |
tree | 3d410c05ba77473c455616c3911ff0dcaf2015a6 /usr.sbin/pnpinfo | |
parent | f3f97b84ed16d2b090712f6f6182bd3e48684f3a (diff) | |
download | FreeBSD-src-596e393e206fc34af6280cabd17ea693c40f1eeb.zip FreeBSD-src-596e393e206fc34af6280cabd17ea693c40f1eeb.tar.gz |
MFC r314659,r314676:
r314659:
usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output
r314676:
Fix build after r314656
Some of the changes I introduced to use .ALLSRC were correct in spirit,
but incorrect in reality -- in particular, ../Makefile.inc hadn't been
pulled in via bsd.init.mk (via bsd.lib.mk, bsd.prog.mk), so the value
of .ALLSRC (evaluated immediately) was empty. .include bsd.init.mk
explicitly so we can be certain that the values used as dependencies in
the targets are defined when the target recipe has been evaluated.
Reminder: thou shalt separate out separate functional changes before
committing them.
(YUGE) Pointyhat to: ngie
In collaboration with: bdrewery
Diffstat (limited to 'usr.sbin/pnpinfo')
-rw-r--r-- | usr.sbin/pnpinfo/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pnpinfo/Makefile b/usr.sbin/pnpinfo/Makefile index 164ef37..956811d 100644 --- a/usr.sbin/pnpinfo/Makefile +++ b/usr.sbin/pnpinfo/Makefile @@ -1,11 +1,11 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../contrib/pnpinfo +.PATH: ${SRCTOP}/contrib/pnpinfo PROG= pnpinfo MAN= pnpinfo.8 -CFLAGS+= -I${.CURDIR}/../../sys +CFLAGS+= -I${SRCTOP}/sys .if ${MACHINE} == "pc98" CFLAGS+= -DPC98 |