svn commit: r238187 - head/sys/boot/arm/at91/libat91

Warner Losh imp at FreeBSD.org
Sat Jul 7 04:52:00 UTC 2012


Author: imp
Date: Sat Jul  7 04:51:59 2012
New Revision: 238187
URL: http://svn.freebsd.org/changeset/base/238187

Log:
  Allow other SOCs to be compiled in, first step.

Modified:
  head/sys/boot/arm/at91/libat91/Makefile

Modified: head/sys/boot/arm/at91/libat91/Makefile
==============================================================================
--- head/sys/boot/arm/at91/libat91/Makefile	Sat Jul  7 04:49:53 2012	(r238186)
+++ head/sys/boot/arm/at91/libat91/Makefile	Sat Jul  7 04:51:59 2012	(r238187)
@@ -2,9 +2,11 @@
 
 .include "${.CURDIR}/../Makefile.inc"
 
+SOC?=at91rm9200
+
 LIB=		at91
 INTERNALLIB=
-SRCS=at91rm9200_lowlevel.c delay.c eeprom.c emac.c emac_init.c getc.c \
+SRCS=${SOC}_lowlevel.c delay.c eeprom.c emac.c emac_init.c getc.c \
 	putchar.c printf.c reset.c spi_flash.c xmodem.c \
 	sd-card.c strcvt.c strlen.c strcmp.c memcpy.c strcpy.c \
 	memset.c memcmp.c


More information about the svn-src-all mailing list