Home | History | Annotate | Line # | Download | only in xscale
ixp425-fw.mk revision 1.1
      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)
     14 MD_OBJS+=	ixp425_fw.o
     15 CPPFLAGS+=	-DIXP425_NPE_MICROCODE
     16 
     17 ixp425_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