PERFORCE change 109693 for review

Andre Oppermann andre at FreeBSD.org
Fri Nov 10 18:42:37 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=109693

Change 109693 by andre at andre_flirtbox on 2006/11/10 18:41:43

	Handle upper case BOOT_FLAVOR.

Affected files ...

.. //depot/projects/arm/src/sys/boot/arm/at91/boot2/Makefile#10 edit

Differences ...

==== //depot/projects/arm/src/sys/boot/arm/at91/boot2/Makefile#10 (text+ko) ====

@@ -4,17 +4,19 @@
 
 P=boot2
 FILES=${P}
-SRCS=arm_init.S boot2.c ${BOOT_FLAVOR}_board.c
+SRCS=arm_init.S boot2.c
 NO_MAN=
 LDFLAGS=-e 0 -T ${.CURDIR}/../linker.cfg
 OBJS+=  ${SRCS:N*.h:R:S/$/.o/g}
 
 .include <bsd.prog.mk>
 
-.if ${BOOT_FLAVOR} == "tsc"
+.if ${BOOT_FLAVOR} == "TSC"
+SRCS+=tsc_board.c
 SRCS+=ee.c
 .endif
-.if ${BOOT_FLAVOR} == "kb920x"
+.if ${BOOT_FLAVOR} == "KB920X"
+SRCS+=kb920x_board.c
 CFLAGS+=-DBOOT_IIC
 .endif
 CFLAGS+= \


More information about the p4-projects mailing list