Fix cross compile uClibc installs to the staging dir
authorEric Andersen <andersen@codepoet.org>
Thu, 3 Jan 2002 09:04:41 +0000 (09:04 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 3 Jan 2002 09:04:41 +0000 (09:04 -0000)
Makefile

index 72c2d6410849bf9552ed04112bc8032cfd4d4ec4..e0dff7135e360a146491168d2bc5830438df2473 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -160,7 +160,7 @@ uclibc:     $(UCLIBC_DIR)/lib/libc.a $(STAGING_DIR) $(TARGET_DIR)
        @if [ $(UCLIBC_DIR)/lib/libc.a -nt $(UCLIBC_DIR)/.installed ]; then \
                rm -f $(UCLIBC_DIR)/.installed; \
                set -x; \
-               $(MAKE) \
+               $(MAKE) CROSS=$(CROSS) \
                DEVEL_PREFIX=$(STAGING_DIR) \
                SYSTEM_DEVEL_PREFIX=$(STAGING_DIR)/usr \
                SHARED_LIB_LOADER_PATH=$(STAGING_DIR)/lib \
@@ -169,7 +169,7 @@ uclibc:     $(UCLIBC_DIR)/lib/libc.a $(STAGING_DIR) $(TARGET_DIR)
        fi
        @if [ $(UCLIBC_DIR)/lib/libc.a -nt $(UCLIBC_DIR)/.installed_runtime ]; then \
                rm -f $(UCLIBC_DIR)/.installed_runtime; \
-               $(MAKE) \
+               $(MAKE) CROSS=$(CROSS) \
                PREFIX=$(TARGET_DIR) \
                DEVEL_PREFIX=/ \
                SYSTEM_DEVEL_PREFIX=/usr \