Module Name: src
Committed By: ryoon
Date: Sat Dec 23 06:48:30 UTC 2017
Modified Files:
src/sys/arch/amd64/stand/prekern: Makefile
Log Message:
Use ldscript from src to fix build.sh build
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/amd64/stand/prekern/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amd64/stand/prekern/Makefile
diff -u src/sys/arch/amd64/stand/prekern/Makefile:1.5 src/sys/arch/amd64/stand/prekern/Makefile:1.6
--- src/sys/arch/amd64/stand/prekern/Makefile:1.5 Sun Nov 26 11:01:09 2017
+++ src/sys/arch/amd64/stand/prekern/Makefile Sat Dec 23 06:48:30 2017
@@ -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 @@ CPPFLAGS+= -DKERNEL -D__x86_64__
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"