summaryrefslogtreecommitdiffstats
path: root/lib/csu/arm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/arm/Makefile')
-rw-r--r--lib/csu/arm/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csu/arm/Makefile b/lib/csu/arm/Makefile
index bf4c7b1..ca21fdb 100644
--- a/lib/csu/arm/Makefile
+++ b/lib/csu/arm/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}
OpenPOWER on IntegriCloud