diff options
author | ngie <ngie@FreeBSD.org> | 2017-02-11 05:47:56 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-02-11 05:47:56 +0000 |
commit | 5174a5fe9de3683d0b43dae55acf3d76209c496d (patch) | |
tree | ea0adde73862f4cb6abbb9241ce844e6335db4c7 /lib/csu/powerpc | |
parent | 5c39ef384e44dda7be5ef1710644f959ed3416ad (diff) | |
download | FreeBSD-src-5174a5fe9de3683d0b43dae55acf3d76209c496d.zip FreeBSD-src-5174a5fe9de3683d0b43dae55acf3d76209c496d.tar.gz |
MFC r312455:
Use SRCTOP-relative paths and .CURDIR with :H instead of ".." specified paths
This implifies pathing in make/displayed output
Diffstat (limited to 'lib/csu/powerpc')
-rw-r--r-- | lib/csu/powerpc/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csu/powerpc/Makefile b/lib/csu/powerpc/Makefile index bf4c7b1..ca21fdb 100644 --- a/lib/csu/powerpc/Makefile +++ b/lib/csu/powerpc/Makefile @@ -1,12 +1,12 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../common +.PATH: ${.CURDIR:H}/common SRCS= crt1.c crti.S crtn.S OBJS= ${SRCS:N*.h:R:S/$/.o/g} OBJS+= Scrt1.o gcrt1.o -CFLAGS+= -I${.CURDIR}/../common \ - -I${.CURDIR}/../../libc/include +CFLAGS+= -I${.CURDIR:H}/common \ + -I${SRCTOP}/lib/libc/include all: ${OBJS} |