mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
libsysdecode use MKTABLES_INCLUDEDIR
We do not conflate SYSROOT with STAGE_ROOT/DESTDIR during DIRDEPS_BUILD Make sure mktables looks in the right place. Reviewed by: stevek Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D44415
This commit is contained in:
parent
3f72f36cf2
commit
139d114acc
1 changed files with 6 additions and 1 deletions
|
|
@ -127,8 +127,13 @@ CFLAGS.gcc.ioctl.c+= -Wno-redundant-decls
|
|||
CFLAGS.gcc+= ${CFLAGS.gcc.${.IMPSRC}}
|
||||
|
||||
DEPENDOBJS+= tables.h tables_linux.h
|
||||
.if ${MK_DIRDEPS_BUILD} == "yes"
|
||||
MKTABLES_INCLUDEDIR= ${STAGE_INCLUDEDIR}
|
||||
.else
|
||||
MKTABLES_INCLUDEDIR= ${SYSROOT:U${DESTDIR}}${INCLUDEDIR}
|
||||
.endif
|
||||
tables.h: mktables
|
||||
sh ${.CURDIR}/mktables ${SYSROOT:U${DESTDIR}}${INCLUDEDIR} ${.TARGET}
|
||||
sh ${.CURDIR}/mktables ${MKTABLES_INCLUDEDIR} ${.TARGET}
|
||||
tables_linux.h: mklinuxtables
|
||||
sh ${.CURDIR}/mklinuxtables ${SRCTOP}/sys ${.TARGET}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue