From 9049715ff981f7be418fbf1bd7fdce11703b7c93 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Sun, 16 May 2004 00:19:12 +0000 Subject: [PATCH] Try harder not to compile anything in sys/boot for arm. I wonder how buildworld ever worked for me... --- sys/Makefile | 2 ++ sys/boot/Makefile | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/Makefile b/sys/Makefile index a814e0f42f3a..8c3c813f2e5f 100644 --- a/sys/Makefile +++ b/sys/Makefile @@ -1,7 +1,9 @@ # $FreeBSD$ # The boot loader +.if ${MACHINE_ARCH} != "arm" SUBDIR= boot +.endif # Loadable kernel modules .if defined(MODULES_WITH_WORLD) diff --git a/sys/boot/Makefile b/sys/boot/Makefile index 9c5dc0557885..aa2c19c3d245 100644 --- a/sys/boot/Makefile +++ b/sys/boot/Makefile @@ -11,9 +11,7 @@ SUBDIR+= ofw .endif # Pick the machine-dependent subdir based on the target architecture. -.if ${MACHINE_ARCH} != "arm" SUBDIR+= ${MACHINE:S/amd64/i386/} -.endif # Build ARC / AlphaBIOS executable on the Alpha # (this is a WIP (work in progress)).