Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output MFC after: 3 weeks Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
a20dae3ad7
commit
571c2ec998
@ -94,7 +94,7 @@ CLEANFILES= ${GENSRCS}
|
||||
CLEANDIRS= sys
|
||||
CFLAGS+= -I. -I${SRCDIR} -I${ELFTCDIR}/common -I${ELFTCDIR}/libelf
|
||||
|
||||
sys/elf32.h sys/elf64.h sys/elf_common.h: ${.CURDIR}/../../sys/${.TARGET} .NOMETA
|
||||
sys/elf32.h sys/elf64.h sys/elf_common.h: ${SRCTOP}/sys/${.TARGET} .NOMETA
|
||||
mkdir -p ${.OBJDIR}/sys
|
||||
ln -sf ${.ALLSRC} ${.TARGET}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user