Subject: install/17101: TARGET_ENDIANNESS is not valid in etc/Makefile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hamajima@nagoya.ydc.co.jp>
List: netbsd-bugs
Date: 05/30/2002 19:26:30
>Number: 17101
>Category: install
>Synopsis: TARGET_ENDIANNESS is not valid in etc/Makefile
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 30 03:28:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: HAMAJIMA Katsuomi
>Release: NetBSD 1.6A
>Organization:
>Environment:
System: NetBSD atom 1.6A NetBSD 1.6A (ATOM) #18: Mon May 27 21:15:10 JST 2002 hamajima@atom:/usr/src/sys/arch/i386/compile/ATOM i386
Architecture: i386
Machine: i386
>Description:
pwd_mkdb is executed with byte order of build host.
So, when I crossbuild of different endian port, it is not made rightly.
TARGET_ENDIANNESS is not handed down when execute pwd_mkdb.
>How-To-Repeat:
execute cross build with different endian host
Fix:
--- etc/Makefile.orig Thu May 30 19:02:50 2002
+++ etc/Makefile Thu May 30 19:04:02 2002
@@ -135,7 +135,7 @@
(cd ..; ${MAKE} _DISTRIB= includes)
(cd ..; ${MAKE} _DISTRIB= install)
.endif # !INSTALL_DONE
- ${MAKE} install-etc-files
+ ${MAKE} TARGET_ENDIANNESS=${TARGET_ENDIANNESS} install-etc-files
.endif # !DISTRIBUTION_DONE
install-etc-files: check_DESTDIR
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: