summaryrefslogtreecommitdiff
path: root/conf/machine/nslu2.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/machine/nslu2.conf')
-rw-r--r--conf/machine/nslu2.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/machine/nslu2.conf b/conf/machine/nslu2.conf
index 3beac45143..83849396b2 100644
--- a/conf/machine/nslu2.conf
+++ b/conf/machine/nslu2.conf
@@ -27,6 +27,10 @@ PACKAGE_ARCH = "armeb"
# values are.)
FULL_OPTIMIZATION = "-fomit-frame-pointer -frename-registers -fweb -funit-at-a-time -Os"
+# uClibc does not include sinf or cosf, so the gcc auto-use of
+# these functions must be disabled (this only occurs with -O)
+FULL_OPTIMIZATION_append_linux-uclibc = " -fno-builtin-sin -fno-builtin-cos"
+
SERIAL_CONSOLE = "115200 ttyS0"
KERNEL_CONSOLE = "ttyS0,115200n8"
USE_VT = "0"