PERFORCE change 109698 for review

Andre Oppermann andre at FreeBSD.org
Fri Nov 10 19:33:48 UTC 2006


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

Change 109698 by andre at andre_flirtbox on 2006/11/10 19:33:17

	Use ${BOOT_FLAVOR:L} magic to lowercase the board flavor.

Affected files ...

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

Differences ...

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

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


More information about the p4-projects mailing list