Rework things to ensure we are cross compiling. Teach problematic

apps like openssh to cross compile.  This eliminates the need for
the magic ld-uClibc.so.0 symlink in /lib
This commit is contained in:
Eric Andersen
2003-03-04 19:16:19 +00:00
parent 36830baea2
commit 1fc3f2f3de
52 changed files with 339 additions and 149 deletions

View File

@@ -26,9 +26,11 @@ $(ED_DIR)/.unpacked: $(DL_DIR)/$(ED_SOURCE) $(DL_DIR)/$(ED_PATCH)
$(ED_DIR)/.configured: $(ED_DIR)/.unpacked
(cd $(ED_DIR); rm -rf config.cache; \
PATH=$(TARGET_PATH) CC=$(TARGET_CC) \
$(TARGET_CONFIGURE_OPTS) \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
--disable-nls \