Module Name:    src
Committed By:   uwe
Date:           Sat Jan 24 16:21:33 UTC 2015

Modified Files:
        src/tools: Makefile.nbincludes

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tools/Makefile.nbincludes

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/Makefile.nbincludes
diff -u src/tools/Makefile.nbincludes:1.3 src/tools/Makefile.nbincludes:1.4
--- src/tools/Makefile.nbincludes:1.3	Sun Aug  5 06:20:14 2012
+++ src/tools/Makefile.nbincludes	Sat Jan 24 16:21:33 2015
@@ -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!=	${TOOL_SED} -e 's/^\#.*//' 
 
 _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 \

Reply via email to