PERFORCE change 109881 for review
Warner Losh
imp at FreeBSD.org
Mon Nov 13 20:55:24 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=109881
Change 109881 by imp at imp_lighthouse on 2006/11/13 20:53:40
No, BOOT_FLAVOR should be lower case. It breaks our builds if
is upper case, and we do all the right case conversion.
Affected files ...
.. //depot/projects/arm/src/sys/boot/arm/at91/Makefile.inc#27 edit
.. //depot/projects/arm/src/sys/boot/arm/at91/boot0iic/main.c#12 edit
.. //depot/projects/arm/src/sys/boot/arm/at91/boot2/Makefile#14 edit
Differences ...
==== //depot/projects/arm/src/sys/boot/arm/at91/Makefile.inc#27 (text+ko) ====
@@ -5,8 +5,8 @@
__at91_boot_Makefile.inc__:
-# TSC, KB920X are the supported flavors
-BOOT_FLAVOR=KB920X
+# tsc, kb920x are the supported flavors
+BOOT_FLAVOR=kb920x
CFLAGS=-Os -mcpu=arm9 -ffreestanding \
-I${.CURDIR}/../libat91 \
==== //depot/projects/arm/src/sys/boot/arm/at91/boot0iic/main.c#12 (text) ====
@@ -41,6 +41,6 @@
printf("\nWriting EEPROM from 0x%x to addr 0, 0x%x bytes\n", addr,
len);
WriteEEPROM(0, addr, len);
- printf("\nWrite complete. Press reset\n");
+ printf("\nWrote %d bytes. Press reset\n", len);
return (1);
}
==== //depot/projects/arm/src/sys/boot/arm/at91/boot2/Makefile#14 (text+ko) ====
@@ -11,7 +11,7 @@
.include <bsd.prog.mk>
-.if ${BOOT_FLAVOR} == "KB920X"
+.if ${BOOT_FLAVOR} == "kb920x"
CFLAGS+=-DBOOT_IIC
.endif
CFLAGS+= \
More information about the p4-projects
mailing list