Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/lib don't build a fake insn-modes.h for arm.



details:   https://anonhg.NetBSD.org/src/rev/723ab07ac22d
branches:  trunk
changeset: 344227:723ab07ac22d
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Mar 17 08:02:38 2016 +0000

description:
don't build a fake insn-modes.h for arm.

diffstat:

 external/gpl3/gcc/lib/Makefile.hacks |  17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)

diffs (27 lines):

diff -r bd977abd9a89 -r 723ab07ac22d external/gpl3/gcc/lib/Makefile.hacks
--- a/external/gpl3/gcc/lib/Makefile.hacks      Thu Mar 17 04:07:41 2016 +0000
+++ b/external/gpl3/gcc/lib/Makefile.hacks      Thu Mar 17 08:02:38 2016 +0000
@@ -1,22 +1,7 @@
-#      $NetBSD: Makefile.hacks,v 1.4 2014/03/01 10:00:31 mrg Exp $
+#      $NetBSD: Makefile.hacks,v 1.5 2016/03/17 08:02:38 mrg Exp $
 
 # some random crap we need in a few places
 
-# arm.h wants MACHMODE aka "enum machine_mode" so we provide a hackful
-# one here to help build libs before gcc itself is built.
-
-# XXX arm hack
-.if ${MACHINE_CPU} == "arm"
-${OBJS}: insn-modes.h
-# XXX XXX
-${__DPSRCS.d}: insn-modes.h
-insn-modes.h:
-       ${_MKTARGET_CREATE}
-       echo "enum machine_mode { X };" > ${.TARGET}
-DPSRCS+=       insn-modes.h
-CLEANFILES+=   insn-modes.h
-.endif
-
 .if ${MACHINE_CPU} == "mips"
 insn-constants.h:
        ${_MKTARGET_CREATE}



Home | Main Index | Thread Index | Old Index