summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-07-04 13:02:33 +0000
committerRoy Marples <roy@marples.name>2008-07-04 13:02:33 +0000
commitb953fded8ba0795e58a6a49b8cd4ecccce1ca2c8 (patch)
tree0b26d1f228ff9d6f6e76a3ad63136fd60fac27c2 /README
parent4b8e7d3f26b2ce7dc53b519388b60b761783a633 (diff)
downloaddhcpcd-b953fded8ba0795e58a6a49b8cd4ecccce1ca2c8.tar.xz
Remove ENABLE_DUID and introduce MINIMAL, which removes all non essential userland options, knocking around 6k off the binary size.
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 4 insertions, 0 deletions
diff --git a/README b/README
index 8a19f7ca..2fc1dc35 100644
--- a/README
+++ b/README
@@ -15,6 +15,10 @@ If you're cross compiling you may need to set the below knobs to avoid
automatic tests.
OS=BSD | Linux
+If size is your thing, you can remove all non-essential userland options
+by adding -DMINIMAL to your CFLAGS. This currently shaves off around 6k.
+You can save a futher 600 bytes or so by using the small make target.
+
If you're building for a NOMMU system where fork() does not work, you should
add -DTHERE_IS_NO_FORK to your CFLAGS.