Changeset View
Changeset View
Standalone View
Standalone View
share/i18n/csmapper/Makefile.inc
# $FreeBSD$ | # $FreeBSD$ | ||||
.include <bsd.own.mk> | .include <bsd.own.mk> | ||||
CSMAPPERDIR?= /usr/share/i18n/csmapper | CSMAPPERDIR?= /usr/share/i18n/csmapper | ||||
.if ${MK_STAGING} == "yes" | # mkcsmapper builds as part of bootstrap-tools and can therefore be found in $PATH | ||||
MKCSMAPPER= ${STAGE_HOST_OBJTOP}/usr/bin/mkcsmapper_static | MKCSMAPPER?= mkcsmapper | ||||
bdrewery: Please don't hardcode buildworld paths into child Makefiles. There is a `SYSROOT` var you can… | |||||
Done Inline ActionsSince it's a bootstrap-tool now instead of a build tool we could just assume that it's in $PATH. Would that work for dirdeps/meta_mode? arichardson: Since it's a bootstrap-tool now instead of a build tool we could just assume that it's in $PATH. | |||||
.endif | |||||
MKCSMAPPER?= ${.OBJDIR:H:H:H}/usr.bin/mkcsmapper_static/mkcsmapper_static | |||||
Not Done Inline ActionsThis breaks the dirdeps build. bdrewery: This breaks the dirdeps build. |
Please don't hardcode buildworld paths into child Makefiles. There is a SYSROOT var you can use instead but that would still be wrong for the dirdeps build which wants STAGE_HOST_OBJTOP since this is not a target binary but a host binary.