summaryrefslogtreecommitdiffstats
path: root/sys/boot/arm/at91/libat91/Makefile
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2012-07-07 04:51:59 +0000
committerimp <imp@FreeBSD.org>2012-07-07 04:51:59 +0000
commitcb5c5cb359f68fbd456770a1cc761f88c7543a07 (patch)
tree2877cf77e4fe3bbcc7a4e71f4def2b32e2118fdd /sys/boot/arm/at91/libat91/Makefile
parent0839518e33bde6f89f6ae9ef8fa708abec90213b (diff)
downloadFreeBSD-src-cb5c5cb359f68fbd456770a1cc761f88c7543a07.zip
FreeBSD-src-cb5c5cb359f68fbd456770a1cc761f88c7543a07.tar.gz
Allow other SOCs to be compiled in, first step.
Diffstat (limited to 'sys/boot/arm/at91/libat91/Makefile')
-rw-r--r--sys/boot/arm/at91/libat91/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/boot/arm/at91/libat91/Makefile b/sys/boot/arm/at91/libat91/Makefile
index 08585fd..a7fe96f 100644
--- a/sys/boot/arm/at91/libat91/Makefile
+++ b/sys/boot/arm/at91/libat91/Makefile
@@ -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
OpenPOWER on IntegriCloud