|
@@ -18,17 +18,19 @@
|
|
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
|
|
|
|
|
|
-#--------------------------------------------------------
|
|
+#-----------------------------------------------------------
|
|
-# This file contains rules which are shared between multiple Makefiles.
|
|
+# This file contains rules which are shared between multiple
|
|
-# All normal configuration options live in the file named ".config".
|
|
+# Makefiles. All normal configuration options live in the
|
|
-# Don't mess with this file unless you know what you are doing.
|
|
+# file named ".config". Don't mess with this file unless
|
|
-
|
|
+# you know what you are doing.
|
|
-
|
|
+
|
|
-#--------------------------------------------------------
|
|
+
|
|
-# If you are running a cross compiler, you will want to set 'CROSS'
|
|
+#-----------------------------------------------------------
|
|
-# to something more interesting... Target architecture is determined
|
|
+# If you are running a cross compiler, you will want to set
|
|
-# by asking the CC compiler what arch it compiles things for, so unless
|
|
+# 'CROSS' to something more interesting ... Target
|
|
-# your compiler is broken, you should not need to specify TARGET_ARCH
|
|
+# architecture is determined by asking the CC compiler what
|
|
|
|
+# arch it compiles things for, so unless your compiler is
|
|
|
|
+# broken, you should not need to specify TARGET_ARCH.
|
|
#
|
|
#
|
|
# Most people will set this stuff on the command line, i.e.
|
|
# Most people will set this stuff on the command line, i.e.
|
|
# make CROSS=arm-linux-
|
|
# make CROSS=arm-linux-
|
|
@@ -37,32 +39,32 @@
|
|
ifndef CROSS
|
|
ifndef CROSS
|
|
CROSS=
|
|
CROSS=
|
|
endif
|
|
endif
|
|
-CC= $(CROSS)gcc
|
|
+CC = $(CROSS)gcc
|
|
-AR= $(CROSS)ar
|
|
+AR = $(CROSS)ar
|
|
-LD= $(CROSS)ld
|
|
+LD = $(CROSS)ld
|
|
-NM= $(CROSS)nm
|
|
+NM = $(CROSS)nm
|
|
-STRIPTOOL= $(CROSS)strip
|
|
+RANLIB = $(CROSS)ranlib
|
|
-RANLIB= $(CROSS)ranlib
|
|
+STRIPTOOL = $(CROSS)strip
|
|
|
|
|
|
-INSTALL= install
|
|
+INSTALL = install
|
|
-LN= ln
|
|
+LN = ln
|
|
-RM= rm -f
|
|
+RM = rm -f
|
|
|
|
|
|
# Select the compiler needed to build binaries for your development system
|
|
# Select the compiler needed to build binaries for your development system
|
|
-HOSTCC=gcc
|
|
+HOSTCC = gcc
|
|
-HOSTCFLAGS=-O2 -Wall
|
|
+HOSTCFLAGS = -O2 -Wall
|
|
-
|
|
+
|
|
-
|
|
+
|
|
-#--------------------------------------------------------
|
|
+#---------------------------------------------------------
|
|
-# Nothing beyond this point should ever be touched by mere mortals.
|
|
+# Nothing beyond this point should ever be touched by mere
|
|
-# Unless you hang out with the gods, you should probably leave all
|
|
+# mortals. Unless you hang out with the gods, you should
|
|
-# this stuff alone.
|
|
+# probably leave all this stuff alone.
|
|
-MAJOR_VERSION:=0
|
|
+MAJOR_VERSION := 0
|
|
-MINOR_VERSION:=9
|
|
+MINOR_VERSION := 9
|
|
-SUBLEVEL:=27
|
|
+SUBLEVEL := 27
|
|
-VERSION:=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL)
|
|
+VERSION := $(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL)
|
|
# Ensure consistent sort order, 'gcc -print-search-dirs' behavior, etc.
|
|
# Ensure consistent sort order, 'gcc -print-search-dirs' behavior, etc.
|
|
-LC_ALL:= C
|
|
+LC_ALL := C
|
|
export MAJOR_VERSION MINOR_VERSION SUBLEVEL VERSION LC_ALL
|
|
export MAJOR_VERSION MINOR_VERSION SUBLEVEL VERSION LC_ALL
|
|
|
|
|
|
SHARED_FULLNAME:=libuClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so
|
|
SHARED_FULLNAME:=libuClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so
|