From: Eric Andersen Date: Thu, 3 Jan 2002 09:04:41 +0000 (-0000) Subject: Fix cross compile uClibc installs to the staging dir X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=412b1b0c45770173dedf86f201d083e5cdd63a10;p=buildroot.git Fix cross compile uClibc installs to the staging dir --- diff --git a/Makefile b/Makefile index 72c2d64108..e0dff7135e 100644 --- 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 \