Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/conf Fix a few things for NetWinder. NetWinder...



details:   https://anonhg.NetBSD.org/src/rev/722d9b43cae5
branches:  trunk
changeset: 512634:722d9b43cae5
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jul 12 06:25:07 2001 +0000

description:
Fix a few things for NetWinder.  NetWinder needs to override the
std entry point so add a hook for that.  Also pick up the port
specific .inc file from the right directory.

diffstat:

 sys/arch/arm/conf/Makefile.arm |  13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diffs (29 lines):

diff -r a8db259f5459 -r 722d9b43cae5 sys/arch/arm/conf/Makefile.arm
--- a/sys/arch/arm/conf/Makefile.arm    Thu Jul 12 04:16:58 2001 +0000
+++ b/sys/arch/arm/conf/Makefile.arm    Thu Jul 12 06:25:07 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.arm,v 1.2 2001/06/11 17:50:34 matt Exp $
+#      $NetBSD: Makefile.arm,v 1.3 2001/07/12 06:25:07 matt Exp $
 
 # Makefile for NetBSD
 #
@@ -47,14 +47,13 @@
 CFLAGS=                ${DEBUG} ${COPTS} ${CWARNFLAGS}
 AFLAGS=                -x assembler-with-cpp -D_LOCORE
 
-.if !defined(LOADADDRESS)
-LOADADDRESS=   0xF0000000
-.endif
-LINKFLAGS=     -Ttext ${LOADADDRESS} -e start ${EXTRA_LINKFLAGS}
+LOADADDRESS?=  0xF0000000
+LINKENTRY?=    -e start
+LINKFLAGS=     -Ttext ${LOADADDRESS} ${LINKFLAGS} ${EXTRA_LINKFLAGS}
 STRIPFLAGS=    -g
 
-.if exists($S/arch/${TARGET_MACHINE}/Makefile.${TARGET_MACHINE}.inc)
-.include       $S/arch/${TARGET_MACHINE}/Makefile.${TARGET_MACHINE}.inc
+.if exists($S/arch/${TARGET_MACHINE}/conf/Makefile.${TARGET_MACHINE}.inc)
+.include       "$S/arch/${TARGET_MACHINE}/conf/Makefile.${TARGET_MACHINE}.inc"
 .endif
 
 %INCLUDES



Home | Main Index | Thread Index | Old Index