From b2775610c07e4f573a843384fdad19fcb11a3929 Mon Sep 17 00:00:00 2001 From: Justin Hibbits Date: Tue, 21 May 2019 01:42:57 +0000 Subject: [PATCH] stand/powerpc: Only build loader.kboot for powerpc64 kboot is only made for powerpc64 systems, not 32-bit systems. This unbreaks the build for powerpcspe. Reported by: ngie --- stand/powerpc/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stand/powerpc/Makefile b/stand/powerpc/Makefile index ca528fb68cef..2926fa611561 100644 --- a/stand/powerpc/Makefile +++ b/stand/powerpc/Makefile @@ -5,6 +5,9 @@ NO_OBJ=t .include SUBDIR.yes= boot1.chrp ofw uboot + +.if "${TARGET_ARCH}" == "powerpc64" SUBDIR.${MK_FDT}+= kboot +.endif .include