Allow one to override the endian flags for make distribution. This

can be useful for when you know that you are doing something that
won't work with the standard settings and different settings are more
appropriate.
	This allows 5.3 tools to build a 6.x userland when these
	values are set to null.
This commit is contained in:
Warner Losh 2005-08-26 18:54:06 +00:00
parent 467ebd64e0
commit 652729a4d5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149515

View File

@ -76,13 +76,14 @@ distribute:
.include <bsd.endian.mk>
.if ${TARGET_ENDIANNESS} == "1234"
CAP_MKDB_ENDIAN= -l
PWD_MKDB_ENDIAN= -L
CAP_MKDB_ENDIAN?=-l
PWD_MKDB_ENDIAN?=-L
.elif ${TARGET_ENDIANNESS} == "4321"
CAP_MKDB_ENDIAN= -b
PWD_MKDB_ENDIAN= -B
CAP_MKDB_ENDIAN?=-b
PWD_MKDB_ENDIAN?=-B
.else
CAP_MKDB_ENDIAN=
CAP_MKDB_ENDIAN?=
PWD_MKDB_ENDIAN?=
.endif
distribution: