[BusyBox] lfs support!
robotti at metconnect.com
robotti at metconnect.com
Tue Sep 19 06:13:59 UTC 2000
This is for the latest cvs bb.
--- Makefile.orig Thu Aug 24 23:29:17 2000
+++ Makefile Tue Sep 19 06:03:33 2000
@@ -23,6 +23,13 @@
BUILDTIME := $(shell TZ=UTC date --utc "+%Y.%m.%d-%H:%M%z")
export VERSION
+# If you want large filesystem support, turn this on.
+# This has no effect if you don't have a kernel with lfs
+# support, and a system with libc-2.1.3 or later.
+# Some programs like dd, gzip, mount, perhaps tar and ar
+# can benefit from lfs support.
+DOLFS = true
+
# If you want a static binary, turn this on.
DOSTATIC = false
@@ -63,6 +70,10 @@
WARNINGS = -Wall
+ifeq ($(DOLFS),true)
+ # For large filesystem support
+ CFLAGS+=-D_FILE_OFFSET_BITS=64
+endif
ifeq ($(DODMALLOC),true)
# For testing mem leaks with dmalloc
CFLAGS+=-DDMALLOC
More information about the busybox
mailing list