Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/stand ${PROG} depends on ${LDSCRIPT}.



details:   https://anonhg.NetBSD.org/src/rev/b054d77f02ad
branches:  trunk
changeset: 340023:b054d77f02ad
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu Aug 20 11:38:27 2015 +0000

description:
${PROG} depends on ${LDSCRIPT}.

diffstat:

 sys/arch/i386/stand/boot/Makefile.boot     |  4 ++--
 sys/arch/i386/stand/bootxx/Makefile.bootxx |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 81ea887dbee0 -r b054d77f02ad sys/arch/i386/stand/boot/Makefile.boot
--- a/sys/arch/i386/stand/boot/Makefile.boot    Thu Aug 20 11:28:02 2015 +0000
+++ b/sys/arch/i386/stand/boot/Makefile.boot    Thu Aug 20 11:38:27 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.boot,v 1.66 2014/04/14 15:05:19 uebayasi Exp $
+# $NetBSD: Makefile.boot,v 1.67 2015/08/20 11:39:28 uebayasi Exp $
 
 S=     ${.CURDIR}/../../../../..
 
@@ -132,7 +132,7 @@
 # Anything that calls 'real_to_prot' must have a %pc < 0x10000.
 # We link the program, find the callers (all in libi386), then
 # explicitly pull in the required objects before any other library code.
-${PROG}: ${OBJS} ${LIBLIST} ${.CURDIR}/../Makefile.boot
+${PROG}: ${OBJS} ${LIBLIST} ${LDSCRIPT} ${.CURDIR}/../Makefile.boot
        ${_MKTARGET_LINK}
        bb="$$( ${CC} -o ${PROG}.sym ${LDFLAGS} -Wl,-Ttext,0 -Wl,-cref \
            ${OBJS} ${LIBLIST} | ( \
diff -r 81ea887dbee0 -r b054d77f02ad sys/arch/i386/stand/bootxx/Makefile.bootxx
--- a/sys/arch/i386/stand/bootxx/Makefile.bootxx        Thu Aug 20 11:28:02 2015 +0000
+++ b/sys/arch/i386/stand/bootxx/Makefile.bootxx        Thu Aug 20 11:38:27 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootxx,v 1.48 2014/01/15 22:25:22 joerg Exp $
+# $NetBSD: Makefile.bootxx,v 1.49 2015/08/20 11:38:27 uebayasi Exp $
 
 S=     ${.CURDIR}/../../../../..
 
@@ -120,7 +120,7 @@
 
 CLEANFILES+= ${PROG}.sym ${PROG}.map
 
-${PROG}: ${OBJS} ${LIBLIST}
+${PROG}: ${OBJS} ${LIBLIST} ${LDSCRIPT}
        ${_MKTARGET_LINK}
        ${CC} -o ${PROG}.sym ${LDFLAGS} -Wl,-Ttext,${PRIMARY_LOAD_ADDRESS} \
                -T ${LDSCRIPT} -Wl,-Map,${PROG}.map -Wl,-cref ${OBJS} ${LIBLIST}



Home | Main Index | Thread Index | Old Index