Source-Changes-HG archive

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

[src/trunk]: src/tools Add endian_machdep.h files for sh3 machines to _ARCH_I...



details:   https://anonhg.NetBSD.org/src/rev/4e0edd8ec7a0
branches:  trunk
changeset: 335805:4e0edd8ec7a0
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sat Jan 24 16:21:33 2015 +0000

description:
Add endian_machdep.h files for sh3 machines to _ARCH_INCS as
sh3/include/elf_machdep.h needs it since r1.11.

Unbreaks tools build on non-netbsd hosts (and whatever problems on
netbsd hosts of different endianness that might have been caused by
the mismatch).

diffstat:

 tools/Makefile.nbincludes |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r baf35220136e -r 4e0edd8ec7a0 tools/Makefile.nbincludes
--- a/tools/Makefile.nbincludes Sat Jan 24 15:54:23 2015 +0000
+++ b/tools/Makefile.nbincludes Sat Jan 24 16:21:33 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.nbincludes,v 1.3 2012/08/05 06:20:14 christos Exp $
+#      $NetBSD: Makefile.nbincludes,v 1.4 2015/01/24 16:21:33 uwe Exp $
 
 # NOxxx definitions are copied from Makefile.host, and are
 # required before .include <bsd.own.mk>.   The include of bsd.own.mk
@@ -26,6 +26,11 @@
 
 _ARCH_INCS+=   ews4800mips/include/pdinfo.h ews4800mips/include/vtoc.h
 
+# for sh3/include/elf_machdep.h
+.for sh3mach in dreamcast evbsh3 hpcsh landisk mmeye sh3
+_ARCH_INCS+=   ${sh3mach}/include/endian_machdep.h
+.endfor
+
 _INCS=         disktab.h
 _SYSINCS=      bootblock.h \
                disklabel.h disklabel_acorn.h disklabel_gpt.h disklabel_rdb.h \



Home | Main Index | Thread Index | Old Index