summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.mips
diff options
context:
space:
mode:
Diffstat (limited to 'extra/Configs/Config.mips')
-rw-r--r--extra/Configs/Config.mips26
1 files changed, 14 insertions, 12 deletions
diff --git a/extra/Configs/Config.mips b/extra/Configs/Config.mips
index 0e044e4da..9dd618610 100644
--- a/extra/Configs/Config.mips
+++ b/extra/Configs/Config.mips
@@ -27,10 +27,13 @@
NATIVE_CC = gcc
+# Specify the target
+TARGET_ARCH=mips
+
# If you are running a cross compiler, you may want to set this
# to something more interesting... Target architecture is determined
# by asking this compiler what arch it compiles stuff for.
-CROSS = mipsel-linux-
+CROSS = mips-linux-
CC = $(CROSS)gcc
AR = $(CROSS)ar
LD = $(CROSS)ld
@@ -42,7 +45,7 @@ STRIPTOOL = $(CROSS)strip
DODEBUG = false
# Compiler warnings you want to see
-WARNINGS=-Wall
+WARNINGS = -Wall
# Note that the kernel source you use to compile with should be the same as the
# Linux kernel you run your apps on. uClibc doesn't even try to achieve binary
@@ -51,7 +54,7 @@ WARNINGS=-Wall
# can't do that. Similarly, if you compile uClibc vs Linux 2.4.x kernel headers,
# but then run on Linux 2.0.x, lchown will be compiled into uClibc, but won't
# work at all. You have been warned.
-KERNEL_SOURCE=/usr/src/linux
+KERNEL_SOURCE = /usr/src/linux
# Set this to `false' if your CPU doesn't have a memory management unit (MMU).
# Set it to `true' otherwise.
@@ -116,7 +119,7 @@ DOLFS = false
# If you don't use regular expressions, turn this off and save space.
# Of course, if you only staticly link, leave this on, since it will
# only be included in your apps if you use regular expressions.
-INCLUDE_REGEX=true
+INCLUDE_REGEX = true
# If you want to include RPC support, enable this. RPC is almost never used
# for anything except NFS support, so unless you plan to use NFS, leave this
@@ -138,22 +141,21 @@ UNIX98PTY_ONLY = true
# This is true by default.
ASSUME_DEVPTS = true
-
# If you want to compile the library as PIC code, turn this on.
# This is automagically enabled when HAVE_SHARED is true
-DOPIC = false
+DOPIC = true
# Enable support for shared libraries? If this is false, you can
# ignore all the rest of the options in this file...
-HAVE_SHARED = false
+HAVE_SHARED = true
# uClibc has a native shared library loader for some architectures.
-BUILD_UCLIBC_LDSO=false
+BUILD_UCLIBC_LDSO = true
# If you are using shared libraries, but do not want/have a native
# uClibc shared library loader, please specify the name of your
# system's shared library loader here...
-#SYSTEM_LDSO=/lib/ld-linux.so.2
+#SYSTEM_LDSO = /lib/ld-linux.so.2
# When using shared libraries, this path is the location where the
# shared library will be invoked. This value will be compiled into
@@ -162,7 +164,7 @@ BUILD_UCLIBC_LDSO=false
# BIG FAT WARNING:
# If you do not have a shared library loader with the correct name
# sitting in the directory this points to, your binaries will not run.
-SHARED_LIB_LOADER_PATH=$(DEVEL_PREFIX)/lib
+SHARED_LIB_LOADER_PATH = $(DEVEL_PREFIX)/lib
# DEVEL_PREFIX is the directory into which the uClibc development
# environment will be installed. The result will look something
@@ -184,6 +186,6 @@ DEVEL_PREFIX = /usr/$(TARGET_ARCH)-linux-uclibc
SYSTEM_DEVEL_PREFIX = $(DEVEL_PREFIX)/usr
# If you want 'make install' to install everything under a temporary
-# directory, the define PREFIX during the install step,
+# directory, then define PREFIX during the install step,
# i.e., 'make PREFIX=/var/tmp/uClibc install'.
-#PREFIX = $(TOPDIR)/_install
+PREFIX = $(TOPDIR)/_install