summaryrefslogtreecommitdiffstats
path: root/etc/Makefile
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-08-26 18:54:06 +0000
committerimp <imp@FreeBSD.org>2005-08-26 18:54:06 +0000
commit88de47450a883b65a79f7cfb535bd196668033dc (patch)
tree288808345fea3e24c7ce4f1a15e218668245ce87 /etc/Makefile
parent1452fb439c7f2f84d523991ea9b21321e3c500ea (diff)
downloadFreeBSD-src-88de47450a883b65a79f7cfb535bd196668033dc.zip
FreeBSD-src-88de47450a883b65a79f7cfb535bd196668033dc.tar.gz
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.
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 f37cb34..aac170b 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:
OpenPOWER on IntegriCloud