xref: /netbsd-src/sys/arch/arm/xscale/ixp425-fw.mk (revision 0c4ddb1599a0bea866fde8522a74cfbd2f68cd1b)
1#	$NetBSD: ixp425-fw.mk,v 1.1 2006/12/10 10:01:49 scw Exp $
2
3#
4# For IXP425 NE support, this file must be included by the board-specific
5# Makefile stub.
6#
7
8#
9# See ixp425-fw.README for instructions on how to download and generate
10# a suitable microcode image for IXP425 Ethernet support.
11#
12
13.if exists($S/arch/arm/xscale/IxNpeMicrocode.dat)
14MD_OBJS+=	ixp425_fw.o
15CPPFLAGS+=	-DIXP425_NPE_MICROCODE
16
17ixp425_fw.o:	$S/arch/arm/xscale/IxNpeMicrocode.dat
18	-rm -f ${.OBJDIR}/IxNpeMicrocode.dat
19	-ln -s $S/arch/arm/xscale/IxNpeMicrocode.dat ${.OBJDIR}
20	${LD} -b binary -d -warn-common -r -d -o ${.TARGET} IxNpeMicrocode.dat
21.endif
22