Source-Changes-HG archive

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

[src/trunk]: src/sys/rump Allow to completely skip the ldscript, useful for l...



details:   https://anonhg.NetBSD.org/src/rev/ec6df724a87d
branches:  trunk
changeset: 786356:ec6df724a87d
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sat Apr 27 12:51:45 2013 +0000

description:
Allow to completely skip the ldscript, useful for linkers that don't need one.

diffstat:

 sys/rump/Makefile.rump |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 58cf5c4a082e -r ec6df724a87d sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump    Sat Apr 27 08:44:35 2013 +0000
+++ b/sys/rump/Makefile.rump    Sat Apr 27 12:51:45 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rump,v 1.78 2013/03/17 01:13:00 christos Exp $
+#      $NetBSD: Makefile.rump,v 1.79 2013/04/27 12:51:45 pooka Exp $
 #
 
 WARNS?=                3       # XXX: src/sys won't compile with -Wsign-compare yet
@@ -37,6 +37,8 @@
 CPPFLAGS+=     -I${RUMPTOP}/..
 .endif
 
+RUMP_LDSCRIPT?=yes
+.if ${RUMP_LDSCRIPT} != "no"
 # my ld or yours?
 .ifdef HAVE_SUN_LD
 LDFLAGS+=      -Wl,-M ${RUMPTOP}/ldscript_sun.rump
@@ -45,6 +47,7 @@
 .else
 LDFLAGS+=      -Wl,-T ${RUMPTOP}/ldscript.rump
 .endif
+.endif
 
 RUMP_DIAGNOSTIC?=yes
 .if ${RUMP_DIAGNOSTIC} == "yes"



Home | Main Index | Thread Index | Old Index