NetBSD/sys/arch/arm/xscale/ixp425-fw.mk
scw bdea1361ab Add a port of Sam Leffler's IXP425 micro-engine support (from FreeBSD).
This is very much a work in progress. At the present time, only Ethernet
is supported.
2006-12-10 10:01:49 +00:00

22 lines
624 B
Makefile

# $NetBSD: ixp425-fw.mk,v 1.1 2006/12/10 10:01:49 scw Exp $
#
# For IXP425 NE support, this file must be included by the board-specific
# Makefile stub.
#
#
# See ixp425-fw.README for instructions on how to download and generate
# a suitable microcode image for IXP425 Ethernet support.
#
.if exists($S/arch/arm/xscale/IxNpeMicrocode.dat)
MD_OBJS+= ixp425_fw.o
CPPFLAGS+= -DIXP425_NPE_MICROCODE
ixp425_fw.o: $S/arch/arm/xscale/IxNpeMicrocode.dat
-rm -f ${.OBJDIR}/IxNpeMicrocode.dat
-ln -s $S/arch/arm/xscale/IxNpeMicrocode.dat ${.OBJDIR}
${LD} -b binary -d -warn-common -r -d -o ${.TARGET} IxNpeMicrocode.dat
.endif