diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2004-03-08 23:31:52 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2004-03-08 23:31:52 +0000 |
commit | 2b78831f7de1c92daec2687923cae93e6d2600ad (patch) | |
tree | 45d19e7688da90e836522050d8a15ecadf94c718 /include | |
parent | 752d2e872f95e8301e520555e98e39ef4a49fdbe (diff) |
Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/Makefile b/include/Makefile index 99cbe780b33..3a13a5552ea 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.124 2004/03/01 02:59:56 drahn Exp $ +# $OpenBSD: Makefile,v 1.125 2004/03/08 23:31:51 drahn Exp $ # $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $ # @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91 @@ -50,11 +50,17 @@ RDIRS= ../lib/libpthread ../lib/libcompat ../lib/libcurses \ PRDIRS= # Directories with an includes target that use Makefile.bsd-wrapper -WDIRS= ../usr.sbin/httpd ../gnu/usr.bin/binutils +WDIRS= ../usr.sbin/httpd +.if ${MACHINE_ARCH} != "arm" +WDIRS+= ../gnu/usr.bin/binutils +.endif # Places using Makefile.bsd-wrapper that needs a prerequisite target met # before includes -PWDIRS= ../usr.sbin/httpd ../gnu/usr.bin/binutils +PWDIRS= ../usr.sbin/httpd +.if ${MACHINE_ARCH} != "arm" +PWDIRS+= ../gnu/usr.bin/binutils +.endif .if ${USE_GCC3:L} == "yes" WDIRS+= ../gnu/lib/libstdc++ ../gnu/usr.bin/gcc ../gnu/lib/libobjc \ |