From 02701f047d982431a2f9a5d7ade4232eece3b5e9 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 14 Mar 2014 19:45:40 +0000 Subject: [PATCH] With the more generous footprints today, it makes little sense to use UFS1 by default any more. Switch to UFS2. --- Makefile.inc1 | 3 +++ tools/tools/nanobsd/nanobsd.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 00f60e1eda0c..386b1ad7417c 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -231,6 +231,9 @@ CROSSENV+= GROFF_BIN_PATH=${WORLDTMP}/legacy/usr/bin \ GROFF_FONT_PATH=${WORLDTMP}/legacy/usr/share/groff_font \ GROFF_TMAC_PATH=${WORLDTMP}/legacy/usr/share/tmac .endif +.if defined(TARGET_CFLAGS) +CROSSENV+= ${TARGET_CFLAGS} +.endif # bootstrap-tools stage BMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \ diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh index 8fe5d74b7797..388ef86b4f5e 100644 --- a/tools/tools/nanobsd/nanobsd.sh +++ b/tools/tools/nanobsd/nanobsd.sh @@ -86,7 +86,7 @@ NANO_CUSTOMIZE="" NANO_LATE_CUSTOMIZE="" # Newfs paramters to use -NANO_NEWFS="-b 4096 -f 512 -i 8192 -O1 -U" +NANO_NEWFS="-b 4096 -f 512 -i 8192 -O2 -U" # The drive name of the media at runtime NANO_DRIVE=ad0