aboutsummaryrefslogtreecommitdiff
path: root/etc/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2005-08-26 18:54:06 +0000
committerWarner Losh <imp@FreeBSD.org>2005-08-26 18:54:06 +0000
commit652729a4d5594a2598cbd8c4d17e664aa91e521a (patch)
tree288808345fea3e24c7ce4f1a15e218668245ce87 /etc/Makefile
parent467ebd64e0be4d4e427d1dd93f73fc976cb84b96 (diff)
downloadsrc-652729a4d5594a2598cbd8c4d17e664aa91e521a.tar.gz
src-652729a4d5594a2598cbd8c4d17e664aa91e521a.zip
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.
Notes
Notes: svn path=/head/; revision=149515
Diffstat (limited to 'etc/Makefile')
-rw-r--r--etc/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/etc/Makefile b/etc/Makefile
index f37cb347eab9..aac170babffc 100644
--- a/etc/Makefile
+++ b/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: