Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amd64/stand/prekern Use ldscript from src to fix bu...



details:   https://anonhg.NetBSD.org/src/rev/4f8786e588f9
branches:  trunk
changeset: 358345:4f8786e588f9
user:      ryoon <ryoon%NetBSD.org@localhost>
date:      Sat Dec 23 06:48:30 2017 +0000

description:
Use ldscript from src to fix build.sh build

diffstat:

 sys/arch/amd64/stand/prekern/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 54ca42aea1f7 -r 4f8786e588f9 sys/arch/amd64/stand/prekern/Makefile
--- a/sys/arch/amd64/stand/prekern/Makefile     Fri Dec 22 22:59:25 2017 +0000
+++ b/sys/arch/amd64/stand/prekern/Makefile     Sat Dec 23 06:48:30 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2017/11/26 11:01:09 maxv Exp $
+#      $NetBSD: Makefile,v 1.6 2017/12/23 06:48:30 ryoon Exp $
 
 PROG=          prekern
 SRCS=          locore.S trap.S prekern.c mm.c console.c elf.c prng.c
@@ -25,7 +25,8 @@
 CFLAGS+=       -Wall -Werror -Wstrict-prototypes
 CFLAGS+=       -mno-red-zone -mno-mmx -mno-sse -mno-avx -ffreestanding
 STRIPFLAG=
-LINKFLAGS=     -X -z max-page-size=0x100000 -Ttext 0x100000 -T prekern.ldscript
+LINKFLAGS=     -X -z max-page-size=0x100000 -Ttext 0x100000 \
+               -T ${S}/arch/amd64/stand/prekern/prekern.ldscript
 
 KERN_AS=       library
 .include       "${S}/lib/libkern/Makefile.inc"



Home | Main Index | Thread Index | Old Index