From b8db0973e764bf871058ba55420a195c41f77fad Mon Sep 17 00:00:00 2001 From: aoyama Date: Fri, 24 Feb 2023 23:36:10 +0000 Subject: [PATCH] Change to use the default bsd.prog.mk "install" target. This also brings to install boot.8 man page correctly. ok miod@ --- sys/arch/luna88k/stand/Makefile.inc | 4 ++-- sys/arch/luna88k/stand/boot/Makefile | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/sys/arch/luna88k/stand/Makefile.inc b/sys/arch/luna88k/stand/Makefile.inc index 07f626eea2b..ff80dac1f49 100644 --- a/sys/arch/luna88k/stand/Makefile.inc +++ b/sys/arch/luna88k/stand/Makefile.inc @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile.inc,v 1.2 2013/10/30 20:39:05 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.3 2023/02/24 23:36:10 aoyama Exp $ # $NetBSD: Makefile.inc,v 1.1 2013/01/06 07:04:49 tsutsui Exp $ NOPIE= -MDEC_DIR?= /usr/mdec +BINDIR= /usr/mdec CFLAGS+= -Wall -Werror -fno-stack-protector CFLAGS+= -mmemcpy CFLAGS+= -fno-builtin-printf -fno-builtin-putchar -fno-builtin-vprintf diff --git a/sys/arch/luna88k/stand/boot/Makefile b/sys/arch/luna88k/stand/boot/Makefile index fc5d118b38c..15b0569aff2 100644 --- a/sys/arch/luna88k/stand/boot/Makefile +++ b/sys/arch/luna88k/stand/boot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.16 2023/02/15 12:43:32 aoyama Exp $ +# $OpenBSD: Makefile,v 1.17 2023/02/24 23:36:11 aoyama Exp $ # $NetBSD: Makefile,v 1.9 2013/01/22 15:48:40 tsutsui Exp $ # @(#)Makefile 8.2 (Berkeley) 8/15/93 @@ -7,6 +7,7 @@ MANSUBDIR=luna88k .if ${MACHINE} == "luna88k" PROG= boot +INSTALL_STRIP= S= ${.CURDIR}/../../../.. @@ -65,9 +66,6 @@ ${PROG}: ${LDSCRIPT} ${OBJS} ${LIBS} ${LD} ${LINKFORMAT} -x -o ${PROG}.elf ${OBJS} ${LIBS} ${OBJCOPY} -S -O a.out-m88k-openbsd --impure ${PROG}.elf ${PROG} -install: ${PROG} - install -m 555 -g bin -o bin ${PROG} ${DESTDIR}${MDEC_DIR} - CLEANFILES+= ${PROG}.elf .if !make(clean) && !make(cleandir) && !make(includes) && !make(obj) -- 2.20.1