[uClibc-cvs] CVS uClibc

CVS User vapier vapier at codepoet.org
Tue Jan 18 22:55:45 UTC 2005


Update of /var/cvs/uClibc
In directory nail:/tmp/cvs-serv18407

Modified Files:
	Rules.mak 
Log Message:
- define RANLIB since a subdir or two uses it
- add support for DESTDIR to work the same as PREFIX


--- /var/cvs/uClibc/Rules.mak	2005/01/09 08:19:19	1.182
+++ /var/cvs/uClibc/Rules.mak	2005/01/18 22:55:44	1.183
@@ -42,6 +42,7 @@
 LD= $(CROSS)ld
 NM= $(CROSS)nm
 STRIPTOOL= $(CROSS)strip
+RANLIB= $(CROSS)ranlib
 
 INSTALL= install
 LN= ln
@@ -70,6 +71,12 @@
 LIBNAME:=libc.a
 LIBC:=$(TOPDIR)libc/$(LIBNAME)
 
+# Make sure DESTDIR and PREFIX can be used to install
+# PREFIX is a uClibcism while DESTDIR is a common GNUism
+ifndef PREFIX
+PREFIX = $(DESTDIR)
+endif
+
 # Pull in the user's uClibc configuration
 ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
 -include $(TOPDIR).config
@@ -309,4 +316,3 @@
 endif
 
 TARGET_ARCH:=$(strip $(subst ",, $(strip $(TARGET_ARCH))))
-



More information about the uClibc-cvs mailing list