From owner-cvs-gnu Mon May 4 14:14:05 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA26259 for cvs-gnu-outgoing; Mon, 4 May 1998 14:14:05 -0700 (PDT) (envelope-from owner-cvs-gnu) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA26106; Mon, 4 May 1998 14:13:25 -0700 (PDT) (envelope-from jb@FreeBSD.org) From: John Birrell Received: (from jb@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id OAA28860; Mon, 4 May 1998 14:10:57 -0700 (PDT) Date: Mon, 4 May 1998 14:10:57 -0700 (PDT) Message-Id: <199805042110.OAA28860@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG Subject: cvs commit: src/gnu/usr.bin/binutils Makefile.inc0 Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jb 1998/05/04 14:10:57 PDT Modified files: gnu/usr.bin/binutils Makefile.inc0 Log: Add makefile support for cross-architectures. Allow CROSS_TOOLS to be defined (in /etc/make.conf, say) and set to the additional architectures that need to be compiled in. So on alpha I set CROSS_TOOLS = i386. On i386 you can't build alpha due to lack of 64-bit support on 32-bit architectures, but that's a GNU problem. This change relies on makefiles in the binutils sub-directories having the extension defined in the CROSS_TOOLS, instead of those makefiles being selected based on the host architecture. Revision Changes Path 1.4 +7 -3 src/gnu/usr.bin/binutils/Makefile.inc0