Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2006 19:33:45 GMT
From:      Andre Oppermann <andre@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 109698 for review
Message-ID:  <200611101933.kAAJXjI9099537@repoman.freebsd.org>

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

Change 109698 by andre@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+= \



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