summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
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/amd64
parent4f2ff32d4ae674200b18d68e94cf6e969b22312c (diff)
Further clean up and unification of the amd64 and i386 boot(8) makefiles.
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/stand/boot/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/amd64/stand/boot/Makefile b/sys/arch/amd64/stand/boot/Makefile
index 2f11b72cf37..a3c5fa8ed4f 100644
--- a/sys/arch/amd64/stand/boot/Makefile
+++ b/sys/arch/amd64/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.25 2013/12/28 02:51:06 deraadt Exp $
+# $OpenBSD: Makefile,v 1.26 2013/12/28 15:16:28 jsing Exp $
COPTS?=
MAN?= boot.8
@@ -21,6 +21,9 @@ SIZE?= size
LDFLAGS+=-nostdlib -Bstatic -Ttext $(LINKADDR) -N -x -nopie
LDFLAGS+=-melf_i386 -L/usr/libdata
+.PATH: ${S}/stand/boot
+SRCS+= boot.c bootarg.c cmd.c vars.c
+
.PATH: ${SADIR}/libsa
SRCS+= alloca.S gidt.S random_i386.S
SRCS+= cmd_i386.c dev_i386.c exec_i386.c gateA20.c machdep.c
@@ -29,23 +32,20 @@ SRCS+= bioscons.c biosdev.c diskprobe.c memprobe.c time.c
SRCS+= softraid.c
.endif
-.PATH: ${S}/stand/boot
-SRCS+= boot.c bootarg.c cmd.c vars.c
-
.PATH: ${S}/lib/libsa
-SRCS+= alloc.c ctime.c exit.c getfile.c gets.c globals.c memcmp.c memcpy.c \
- memset.c printf.c snprintf.c strcmp.c strerror.c strlcat.c strlcpy.c \
- strlen.c strncmp.c strncpy.c strtol.c strtoll.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 \
- ioctl.c lseek.c open.c read.c readdir.c stat.c write.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"
SRCS+= aes_xts.c explicit_bzero.c hmac_sha1.c pbkdf2.c rijndael.c sha1.c
.endif
-.PATH: ${S}/lib/libkern/arch/amd64 ${S}/lib/libkern
+.PATH: ${S}/lib/libkern
SRCS+= divdi3.c moddi3.c qdivrem.c
+SRCS+= strlcpy.c
.PATH: ${S}/lib/libz
SRCS+= adler32.c crc32.c inflate.c inftrees.c