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:
parent
467ebd64e0
commit
652729a4d5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149515
11
etc/Makefile
11
etc/Makefile
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user