Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2006 23:06:32 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95738 for review
Message-ID:  <200604202306.k3KN6WKQ063886@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95738

Change 95738 by imp@imp_hammer on 2006/04/20 23:05:36

	Change the default by BOOT_TSC.
	Make sure that the boot loader programs are < 8k

Affected files ...

.. //depot/projects/arm/src/sys/boot/arm/at91/Makefile.inc#8 edit

Differences ...

==== //depot/projects/arm/src/sys/boot/arm/at91/Makefile.inc#8 (text+ko) ====

@@ -10,14 +10,16 @@
 	-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \
 	-Werror
 
-#CFLAGS+=-DBOOT_TSC
-CFLAGS+=-DBOOT_KB9202
+CFLAGS+=-DBOOT_TSC
+#CFLAGS+=-DBOOT_KB9202
 
 LIBAT91=${.OBJDIR}/../libat91/libat91.a
 
 .if defined(P)
 ${P}:	${P}.out
 	objcopy -S -O binary ${P}.out ${.TARGET}
+	@set -- `ls -l ${.TARGET}`; x=$$((8192-$$5)); \
+	    echo "$$x bytes available"; test $$x -ge 0
 
 ${P}.out: ${OBJS}
 	ld ${LDFLAGS} -o ${.TARGET} ${OBJS} ${LIBAT91}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604202306.k3KN6WKQ063886>