From 1fc3f2f3de0f731c2869a48f951557eed6704218 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 4 Mar 2003 19:16:19 +0000 Subject: 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 --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ae8561ec7..0c075a682 100644 --- a/Makefile +++ b/Makefile @@ -167,6 +167,15 @@ HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \ -e 's/cris.*/cris/' \ ) GNU_HOST_NAME:=$(HOST_ARCH)-pc-linux-gnu +TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \ + AR=$(TARGET_CROSS)ar \ + AS=$(TARGET_CROSS)as \ + LD=$(TARGET_CROSS)ld \ + NM=$(TARGET_CROSS)nm \ + CC=$(TARGET_CROSS)gcc \ + GCC=$(TARGET_CROSS)gcc \ + CXX=$(TARGET_CROSS)g++ \ + RANLIB=$(TARGET_CROSS)ranlib all: world -- cgit v1.2.3