From 676a630d0835d96a43fb1ee92c2c4700ec778c71 Mon Sep 17 00:00:00 2001 From: simonb Date: Sun, 27 Aug 2006 07:22:02 +0000 Subject: [PATCH] Simplify multiple MACHINE_ARCH endian checks with single MACHINE_CPU checks. --- libexec/ld.elf_so/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libexec/ld.elf_so/Makefile b/libexec/ld.elf_so/Makefile index dbb9a596659e..82a28bc57ca9 100644 --- a/libexec/ld.elf_so/Makefile +++ b/libexec/ld.elf_so/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.74 2006/06/29 19:30:59 skrll Exp $ +# $NetBSD: Makefile,v 1.75 2006/08/27 07:22:02 simonb Exp $ .include # for OBJECT_FMT definition .include # for SHLINKINSTALLDIR definition @@ -7,14 +7,14 @@ ARCHSUBDIR= ${MACHINE_CPU} M= ${.CURDIR}/arch/${ARCHSUBDIR} .if ((${MACHINE_ARCH} == "alpha") || \ - (${MACHINE_ARCH} == "arm") || (${MACHINE_ARCH} == "armeb") || \ + (${MACHINE_CPU} == "arm") || \ (${MACHINE_ARCH} == "hppa") || \ (${MACHINE_ARCH} == "i386") || \ (${MACHINE_ARCH} == "m68k") || \ - (${MACHINE_ARCH} == "mipsel") || (${MACHINE_ARCH} == "mipseb") || \ + (${MACHINE_CPU} == "mips") || \ (${MACHINE_ARCH} == "powerpc") || \ - (${MACHINE_ARCH} == "sh3eb") || (${MACHINE_ARCH} == "sh3el") || \ - (${MACHINE_ARCH} == "sh5eb") || (${MACHINE_ARCH} == "sh5el") || \ + (${MACHINE_CPU} == "sh3") || \ + (${MACHINE_CPU} == "sh5") || \ (${MACHINE_ARCH} == "sparc") || \ (${MACHINE_ARCH} == "sparc64") || \ (${MACHINE_ARCH} == "x86_64") || \