Correct usage of {RUNTIME_,DEVEL_,}PREFIX in STAGING_DIR thanks to Stephen Warren...
authorPeter S. Mazinger <ps.m@gmx.net>
Fri, 30 Sep 2005 19:28:56 +0000 (19:28 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Fri, 30 Sep 2005 19:28:56 +0000 (19:28 -0000)
toolchain/uClibc/uclibc.mk

index 8bf4ae74a99d58dd1df4f31770c669c2beb49098..1fe5f773776bc1dd68523983ea796671c02bdf55 100644 (file)
@@ -98,15 +98,10 @@ $(UCLIBC_DIR)/lib/libc.a: $(UCLIBC_DIR)/.configured $(LIBFLOAT_TARGET)
 
 $(STAGING_DIR)/lib/libc.a: $(UCLIBC_DIR)/lib/libc.a
        $(MAKE1) -C $(UCLIBC_DIR) \
-               PREFIX=$(STAGING_DIR)/ \
-               DEVEL_PREFIX=/ \
-               RUNTIME_PREFIX=/ \
-               install_runtime
-       $(MAKE1) -C $(UCLIBC_DIR) \
-               PREFIX=$(STAGING_DIR)/ \
-               DEVEL_PREFIX=/ \
-               RUNTIME_PREFIX=/ \
-               install_dev
+               PREFIX= \
+               DEVEL_PREFIX=$(STAGING_DIR)/ \
+               RUNTIME_PREFIX=$(STAGING_DIR)/ \
+               install_runtime install_dev
        # Build the host utils.  Need to add an install target...
        $(MAKE1) -C $(UCLIBC_DIR)/utils \
                PREFIX=$(STAGING_DIR) \