Module Name: src Committed By: mrg Date: Wed Jul 13 14:09:36 UTC 2011
Modified Files: src/sys/arch/arc/stand/boot: Makefile Log Message: build this as a o32 application. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arc/stand/boot/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/arc/stand/boot/Makefile diff -u src/sys/arch/arc/stand/boot/Makefile:1.12 src/sys/arch/arc/stand/boot/Makefile:1.13 --- src/sys/arch/arc/stand/boot/Makefile:1.12 Sun Feb 20 07:52:43 2011 +++ src/sys/arch/arc/stand/boot/Makefile Wed Jul 13 14:09:36 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2011/02/20 07:52:43 matt Exp $ +# $NetBSD: Makefile,v 1.13 2011/07/13 14:09:36 mrg Exp $ .include <bsd.own.mk> .include <bsd.sys.mk> # for ${HOST_SH} @@ -25,7 +25,7 @@ LIBCRTBEGIN= LIBCRTEND= -AFLAGS= -x assembler-with-cpp -mno-abicalls -mips2 +AFLAGS= -x assembler-with-cpp -mno-abicalls -mips2 -mabi=32 AFLAGS+= -D_LOCORE -D_KERNEL CFLAGS= -Os -mmemcpy -G 1024 CFLAGS+= -ffreestanding -mno-abicalls -msoft-float -mips2 -mabi=32 @@ -36,6 +36,7 @@ #CPPFLAGS+= -DBOOT_DEBUG LDSCRIPT= ${S}/arch/mips/conf/stand.ldscript TEXTADDR= 0x80f00000 +LD+= -m elf32ltsmip # if there is a 'version' file, add rule for vers.c and add it to SRCS # and CLEANFILES