summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2013-01-18 21:09:05 +0000
committerMarc Espie <espie@cvs.openbsd.org>2013-01-18 21:09:05 +0000
commitf9b13e2b82eb29e04043438332808b64bc8408f5 (patch)
treec4cce6609c005824d8324aca99251ff215e0c790 /sys/arch/i386
parent580ce525bce1d9d66f9b358ea01a9a9877cec4ef (diff)
fix bogus dependencies, and allow mkdep to run
checked on amd64 by rpe@ okay jsing@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/stand/biosboot/Makefile4
-rw-r--r--sys/arch/i386/stand/boot/Makefile5
-rw-r--r--sys/arch/i386/stand/cdboot/Makefile5
-rw-r--r--sys/arch/i386/stand/mbr/Makefile4
-rw-r--r--sys/arch/i386/stand/pxeboot/Makefile6
5 files changed, 10 insertions, 14 deletions
diff --git a/sys/arch/i386/stand/biosboot/Makefile b/sys/arch/i386/stand/biosboot/Makefile
index 4cd3ff73770..f078dcde1b5 100644
--- a/sys/arch/i386/stand/biosboot/Makefile
+++ b/sys/arch/i386/stand/biosboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.25 2013/01/18 04:10:16 jsing Exp $
+# $OpenBSD: Makefile,v 1.26 2013/01/18 21:09:04 espie Exp $
MAN= biosboot.8
@@ -12,7 +12,7 @@ LD=ld
LDFLAGS=-nostdlib -Ttext 0 -N -x -Bstatic -nopie
INSTALL_STRIP=
-${.CURDIR}/biosboot.S: assym.h
+.depend biosboot.o: assym.h
${PROG}: $(OBJS)
@rm -f $(PROG)
diff --git a/sys/arch/i386/stand/boot/Makefile b/sys/arch/i386/stand/boot/Makefile
index 3326d71b7e3..d3e6ab97860 100644
--- a/sys/arch/i386/stand/boot/Makefile
+++ b/sys/arch/i386/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.48 2013/01/18 04:10:16 jsing Exp $
+# $OpenBSD: Makefile,v 1.49 2013/01/18 21:09:04 espie Exp $
MAN?= boot.8
MLINKS?=boot.8 boot.conf.5
@@ -65,8 +65,7 @@ boot.bin: boot
CLEANFILES+= ${PROG}.new
-${.CURDIR}/srt0.S: assym.h
-${SADIR}/libsa/gidt.S: assym.h
+.depend srt0.o gidt.o: assym.h
${PROG}: $(OBJS)
$(LD) $(LDFLAGS) -o ${PROG}.new $(OBJS)
diff --git a/sys/arch/i386/stand/cdboot/Makefile b/sys/arch/i386/stand/cdboot/Makefile
index 4cb92db6409..b7d9c58c9d0 100644
--- a/sys/arch/i386/stand/cdboot/Makefile
+++ b/sys/arch/i386/stand/cdboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.16 2013/01/18 04:10:16 jsing Exp $
+# $OpenBSD: Makefile,v 1.17 2013/01/18 21:09:04 espie Exp $
MAN= cdboot.8
@@ -43,8 +43,7 @@ SRCS+= strlcpy.c
.PATH: ${S}/lib/libz
SRCS+= adler32.c crc32.c inflate.c inftrees.c
-${.CURDIR}/srt0.S: assym.h
-${SADIR}/libsa/gidt.S: assym.h
+.depend srt0.o gidt.o: assym.h
${PROG}: $(OBJS)
$(LD) $(LDFLAGS) -o ${PROG} $(OBJS)
diff --git a/sys/arch/i386/stand/mbr/Makefile b/sys/arch/i386/stand/mbr/Makefile
index 0882d869b5d..8fb916cbc57 100644
--- a/sys/arch/i386/stand/mbr/Makefile
+++ b/sys/arch/i386/stand/mbr/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.18 2013/01/18 04:10:16 jsing Exp $
+# $OpenBSD: Makefile,v 1.19 2013/01/18 21:09:04 espie Exp $
#
S= ${.CURDIR}/../../../..
@@ -19,7 +19,7 @@ INSTALL_STRIP=
# Uncomment this to make mbr talk to a serial port.
#CPPFLAGS+=-DSERIAL=0
-${.CURDIR}/mbr.S: assym.h
+.depend mbr.o: assym.h
${PROG}: $(OBJS)
$(LD) $(LDFLAGS) -o $(PROG) $(OBJS)
diff --git a/sys/arch/i386/stand/pxeboot/Makefile b/sys/arch/i386/stand/pxeboot/Makefile
index 76093848b73..ae861e70b0d 100644
--- a/sys/arch/i386/stand/pxeboot/Makefile
+++ b/sys/arch/i386/stand/pxeboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2013/01/18 04:10:16 jsing Exp $
+# $OpenBSD: Makefile,v 1.14 2013/01/18 21:09:04 espie Exp $
MAN= pxeboot.8
@@ -46,9 +46,7 @@ SRCS+= strlcpy.c
.PATH: ${S}/lib/libz
SRCS+= adler32.c crc32.c inflate.c inftrees.c
-${.CURDIR}/srt0.S: assym.h
-${SADIR}/libsa/gidt.S: assym.h
-${SADIR}/libsa/pxe_call.S: assym.h
+.depend srt0.o gidt.o pxe_call.o: assym.h
${PROG}: $(OBJS)
$(LD) $(LDFLAGS) -o ${PROG} $(OBJS)