From 52d0d8e1d9e5dd6156b0ddf98b546f06cd463bde Mon Sep 17 00:00:00 2001 From: wrstuden Date: Tue, 12 Oct 1999 19:40:27 +0000 Subject: [PATCH] Make symlink for powerpc@. --- sys/arch/ofppc/stand/ofwboot/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sys/arch/ofppc/stand/ofwboot/Makefile b/sys/arch/ofppc/stand/ofwboot/Makefile index 5e87972a8841..e75ad0724e68 100644 --- a/sys/arch/ofppc/stand/ofwboot/Makefile +++ b/sys/arch/ofppc/stand/ofwboot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 1999/02/13 02:54:48 lukem Exp $ +# $NetBSD: Makefile,v 1.7 1999/10/12 19:40:27 wrstuden Exp $ S= ${.CURDIR}/../../../.. @@ -28,9 +28,11 @@ CPPFLAGS+= -DPOWERPC_BOOT_AOUT CPPFLAGS+= -DPOWERPC_BOOT_ELF CPPFLAGS+= -DCOMPAT_386BSD_MBRPART -.BEGIN: ${.OBJDIR}/machine -depend all: ${.OBJDIR}/machine -CLEANFILES+= ${.OBJDIR}/machine +.BEGIN: + @[ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine + @[ -h powerpc ] || ln -s ${S}/arch/powerpc/include powerpc + +CLEANFILES+= ${.OBJDIR}/machine ${.OBJDIR}/powerpc ${.OBJDIR}/machine:: -rm -f $@