summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2011-04-06 15:23:39 +0000
committerdrahn <drahn@openbsd.org>2011-04-06 15:23:39 +0000
commita48a820e7d66fa9404ef8a810e67a09fcdd5274f (patch)
treece663f201328c1dfee0eed26423018e4caa94565 /gnu/usr.bin/cc
parentadd a new "serial" devid type for scsi devices. add code to usb that fakes (diff)
downloadwireguard-openbsd-a48a820e7d66fa9404ef8a810e67a09fcdd5274f.tar.xz
wireguard-openbsd-a48a820e7d66fa9404ef8a810e67a09fcdd5274f.zip
Put in the infrastructure for OpenBSD/arm gcc4 support. Not working, but work
on this in-tree not diffs floating around for > 1 year. ok miod@
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index 582dd22c11c..c6ed871158d 100644
--- a/gnu/usr.bin/cc/cc_tools/Makefile
+++ b/gnu/usr.bin/cc/cc_tools/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD: src/gnu/usr.bin/cc/cc_tools/Makefile,v 1.88.8.1 2009/04/15 03:14:26 kensmith Exp $
-# $OpenBSD: Makefile,v 1.8 2010/09/10 16:20:11 kettenis Exp $
+# $OpenBSD: Makefile,v 1.9 2011/04/06 15:23:39 drahn Exp $
.include <bsd.own.mk>
@@ -45,6 +45,12 @@ TARGET_INC+= alpha/openbsd1.h
.else
TARGET_INC+= elfos.h
.endif
+.if ${TARGET_ARCH} == "arm"
+TARGET_INC+=arm/openbsd1.h
+TARGET_INC+=arm/elf.h
+TARGET_INC+=arm/aout.h
+TARGET_INC+=arm/arm.h
+.endif
.if ${TARGET_ARCH} == "sh"
TARGET_INC+= sh/elf.h
.endif