summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2013-12-28 15:16:29 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2013-12-28 15:16:29 +0000
commit0923654b82bc7b58c3348c61d75b9f0ddbd66268 (patch)
treeffd7d423ba4d0b93268d14012250995bbc3e157c /sys/arch/i386/stand
parent4f2ff32d4ae674200b18d68e94cf6e969b22312c (diff)
Further clean up and unification of the amd64 and i386 boot(8) makefiles.
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r--sys/arch/i386/stand/boot/Makefile32
1 files changed, 15 insertions, 17 deletions
diff --git a/sys/arch/i386/stand/boot/Makefile b/sys/arch/i386/stand/boot/Makefile
index d8c75948ce0..04d92fedb76 100644
--- a/sys/arch/i386/stand/boot/Makefile
+++ b/sys/arch/i386/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.53 2013/12/28 02:51:07 deraadt Exp $
+# $OpenBSD: Makefile,v 1.54 2013/12/28 15:16:28 jsing Exp $
COPTS?=
MAN?= boot.8
@@ -21,31 +21,31 @@ LDFLAGS+=-nostdlib -Bstatic -nopie
.if defined(DEBUGFLAGS) && !empty(DEBUGFLAGS:M-D_TEST)
CLEANFILES+= srt0.o
-SRCS= crt0.c
+SRCS= crt0.c conf.c
.else
-LDFLAGS+=-Ttext $(LINKADDR) -N -x
CLEANFILES+= crt0.o
-SRCS= srt0.S
+SRCS= srt0.S conf.c
+LDFLAGS+=-Ttext $(LINKADDR) -N -x
.endif
.PATH: ${S}/stand/boot
-SRCS+= boot.c cmd.c vars.c bootarg.c conf.c
+SRCS+= boot.c bootarg.c cmd.c vars.c
.PATH: ${SADIR}/libsa
-SRCS+= alloca.S debug_i386.S gidt.S random_i386.S
-SRCS+= apmprobe.c bioscons.c biosdev.c cmd_i386.c debug.c dev_i386.c \
- diskprobe.c exec_i386.c gateA20.c machdep.c memprobe.c pciprobe.c \
- ps2probe.c time.c
+SRCS+= debug_i386.S
+SRCS+= alloca.S gidt.S random_i386.S
+SRCS+= apmprobe.c debug.c pciprobe.c ps2probe.c
+SRCS+= cmd_i386.c dev_i386.c exec_i386.c gateA20.c machdep.c
+SRCS+= bioscons.c biosdev.c diskprobe.c memprobe.c time.c
.if ${SOFTRAID:L} == "yes"
SRCS+= softraid.c
.endif
.PATH: ${S}/lib/libsa
-SRCS+= alloc.c cread.c ctime.c exit.c memcmp.c memcpy.c memset.c printf.c \
- snprintf.c strcmp.c strerror.c strlen.c strncmp.c strncpy.c strtol.c \
- strtoll.c
-SRCS+= close.c closeall.c cons.c dev.c disklabel.c dkcksum.c fstat.c lseek.c \
- open.c read.c readdir.c stat.c
+SRCS+= alloc.c ctime.c exit.c memcmp.c memcpy.c memset.c printf.c snprintf.c \
+ strcmp.c strerror.c strlen.c strncmp.c strncpy.c strtol.c strtoll.c
+SRCS+= close.c closeall.c cons.c cread.c dev.c disklabel.c dkcksum.c fstat.c \
+ lseek.c open.c read.c readdir.c stat.c
SRCS+= elf32.c elf64.c loadfile.c
SRCS+= ufs.c
.if ${SOFTRAID:L} == "yes"
@@ -53,10 +53,8 @@ SRCS+= aes_xts.c explicit_bzero.c hmac_sha1.c pbkdf2.c rijndael.c sha1.c
.endif
.PATH: ${S}/lib/libkern
-SRCS+= strlcpy.c
-
-.PATH: ${S}/lib/libkern/arch/i386
SRCS+= divdi3.c moddi3.c qdivrem.c
+SRCS+= strlcpy.c
.PATH: ${S}/lib/libz
SRCS+= adler32.c crc32.c inflate.c inftrees.c